Skip to main content

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


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 details)

Uploaded Source

Built Distribution

amole-0.0.2-py3-none-any.whl (1.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: amole-0.0.2.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for amole-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0eca0dd6213825e5d50a82f2969c9722d6b0b70fd9303d35c3cdf1106e0724a8
MD5 ee7e36ed29216b6386dd0e9f0e50b640
BLAKE2b-256 d02a875944a0e84e9a2948792c9af4bb27de8893b32b383f6e8e6d81ad8d7fbe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: amole-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 1.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for amole-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e893a3973e0ba8d74812ac11e65e1bbaec309a73a58fc61ba7d5d28a6c7ba29
MD5 011204ad1229dfe86ec65512e464d551
BLAKE2b-256 943271ecefa8f637875391bc69deeaf669105bec23f6399ffc40f18483ffed72

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