Installing
You can install PaymeAPI using pip:
pip install PaymeAPI
Usage
To use PaymeAPI, first import the PaymeAPI
class from the PaymeAPI
package:
# Import lib
from PaymeAPI import Payme
# Create a client instance with your card ID
client = Payme(mycard=' ')
# Call the create method to create a payment
response = client.create(summ=10000, desc='Test Payment')
check_id = response['result']['id']
check_out = response['result']['pay_url']
# Call the info method to get the payment status
status = client.info(check_id=check_id)