Skip to main content

A Python SDK for integrating with the Modem Pay payment gateway, enabling seamless payment processing and financial services in your applications.

Project description

Modem Pay Python SDK

The official Python SDK for integrating Modem Pay's payment services.

Installation

Install the SDK using npm:

pip install modempay

Quickstart

Initialize the SDK and authenticate with your API key:

from modempay import ModemPay

modem_pay = ModemPay(
    api_key="your_api_key"
)

# Example: Create a payment intent
payment_intent = modem_pay.payment_intents.create(
    params={"amount": 1000, "currency": "GMD", "customer": "customer_id"}
)

print(payment_intent)

Documentation

For detailed usage, visit the Modem Pay Docs.

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

modempay-1.0.1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modempay-1.0.1-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file modempay-1.0.1.tar.gz.

File metadata

  • Download URL: modempay-1.0.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for modempay-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f251d6d3e88f4f70808cac480c1f96f465ad3e381b1972ea8c040d4d2de6946c
MD5 c33ef7ba09106565032c387ba535d6cd
BLAKE2b-256 04749688c6e2324ee27fc776197b3eb3b1aa2fcf58695b179f77d20055c52a90

See more details on using hashes here.

File details

Details for the file modempay-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: modempay-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for modempay-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f710c54c4aeab1aed800932942490107fa852dd8dbb8b32f8790de3f2cfbcc2b
MD5 a17168a731041b063fcf67a8043c376f
BLAKE2b-256 0d889207bab4aa854ee1e62249cdc9f53f3429a558a7da38af9785506a7dd450

See more details on using hashes here.

Supported by

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