Skip to main content

Amole integration helper

Project description

Amole pay 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


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.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

amole-0.0.1-py3-none-any.whl (1.4 kB view details)

Uploaded Python 3

File details

Details for the file amole-0.0.1.tar.gz.

File metadata

  • Download URL: amole-0.0.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.26.0 rfc3986/1.5.0 tqdm/4.64.0 urllib3/1.26.7 CPython/3.10.4

File hashes

Hashes for amole-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4fd8ca0c1e8b8c329a8e84c126e3bdd840046f00ff28af1a73b9410fb822e874
MD5 7e5d3e1566fbc16350d16475b1d86305
BLAKE2b-256 9da6af26db1817b437b63e5a32f2999b39ef57c9e93b7d5d930cdf604974769a

See more details on using hashes here.

File details

Details for the file amole-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: amole-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.26.0 rfc3986/1.5.0 tqdm/4.64.0 urllib3/1.26.7 CPython/3.10.4

File hashes

Hashes for amole-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d721440dbb968947bc6058a54ae1c5116ae9e226eebda10cbb40817d890f587
MD5 709a544303a6a12a873d63c8cba7f9dc
BLAKE2b-256 3decb529b4ca6689b177a6abf5464ff41917aad6c0157fc2c9f520e8951bf21c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page