PaymeAPI

Easy and convenient library to create receipts and check the status of the created receipt for https://payme.uz/


License
MIT
Install
pip install PaymeAPI==1.0.4

Documentation

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)

License

PaymeAPI is licensed under the MIT License.