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.4.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.4-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modempay-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 b380fec45cd550f4da0b377a36710b1a22210bfffd682edd52bb81a87b832d28
MD5 201b66d89f26dbee637fd4235f264a8c
BLAKE2b-256 a935b100b128fdcc98c4d086a863a39fc1b666804bcef72c3ab0a13a807c5944

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modempay-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fa531f433dacac864722df7f2cd4300363e8767b4473af9029c9f76e898d683d
MD5 aad4ef79dc87b996df732bb8ee80c3ab
BLAKE2b-256 42ab561541104266dc53c2ec8f4ab960f8fcb7e0bd3ed9d5611ae32dcad2903c

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