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.3.tar.gz (10.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.3-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modempay-1.0.3.tar.gz
  • Upload date:
  • Size: 10.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.3.tar.gz
Algorithm Hash digest
SHA256 422db151351e9529d3e606c7e463dce36e1274934997e2c812a4ae97f4fcd00e
MD5 eaeaf9ff22968e1894746a44a8342444
BLAKE2b-256 1b66ace27dc433a4d9c86ac516cd05b737a3ab6615de289ad81131c1e7078e45

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modempay-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 15.9 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a3ae84c4c7c069acd460b20086e1aeb4f3f354c1ec74121e9cb266d4d025c704
MD5 5bf6a34bfc630264c46d3685ccc54ff3
BLAKE2b-256 94b92f67182f6ebe74ed94e894422b3d7ca50be0d48abb43c52b10f85a8e0492

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