Amole integration helper
Project description
Amole pay integration
This python library is to help you integrate with amole api. Contact amole team for integration.
import amole
import json, requests
amole = Amole(url="https://uatc.api.myamole.com:8076/amole/pay",
signature='<SEGNITURE>',
ip_address='<YOUR IP>',
username='<USERNAME>',
password='<TEST>')
response = amole.send_otp(card_number='<CARD OR PHONENUMBER>', merchant_id='<MERCHANT ID>')
print(response)
response = amole.pay(card_number='<CARD OR PHONENUMBER>', merchant_id='<MERCHANT ID>', amount='200', OTP='9999')
print(json.loads(response.content))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
amole-0.0.2.tar.gz
(1.7 kB
view hashes)
Built Distribution
amole-0.0.2-py3-none-any.whl
(1.5 kB
view hashes)