Skip to main content

Ultraner Python SDK, one API for payments across Africa (mobile money, cards, PayPal, wallets).

Project description

Ultraner Python SDK

One API for payments across Africa: mobile money, cards, PayPal and wallets. Live in Tanzania and Rwanda, expanding across the continent.

Install

pip install ultraner

Usage

from ultraner import Ultraner

client = Ultraner(api_key="sk_live_...")

# Charge a mobile-money wallet
payment = client.payments.create_mobile_money(
    amount=5000,
    currency="TZS",
    provider="Vodacom",
    accountNumber="255700000000",
    externalId="order_1001",
)

# Poll status
status = client.payments.get_status(payment["reference"])

# Wallet, transactions
client.wallet.get()
client.transactions.list(page=1, limit=20)

# Escrow
escrow = client.escrow.create(amount=10000, currency="TZS", recipient="vendor@example.com")
client.escrow.release(escrow["escrowCode"])

# International payers
client.paypal.create_order(amount=25, currency="USD")
client.stripe.create_session(amount=2500, currency="usd")

Errors raise ultraner.UltranerError with .status and .code.

License

MIT

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

ultraner-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

ultraner-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file ultraner-0.1.0.tar.gz.

File metadata

  • Download URL: ultraner-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ultraner-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6ad0bb818988448af69d23da86228205db2d7bdbe842d1fb6692ff1de1d1721f
MD5 b671ac8dc932272764b1d33db35f8a99
BLAKE2b-256 b91d147832c52ebbe5d6604c3b3726e54e5c99727e56fce9641c5a8b32a85cfe

See more details on using hashes here.

Provenance

The following attestation bundles were made for ultraner-0.1.0.tar.gz:

Publisher: publish.yml on Ultraner/ultraner-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ultraner-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ultraner-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ultraner-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9b89cd745bf0396c39475510a0618f2dc3cb84a9985329c9ab6715e671c69e2
MD5 31a1416db9d443e6f8493e026b7e0c02
BLAKE2b-256 e6fc5722dc5670e957af6ebc48d3396d8a257f5ccaa4e28f333bf2b06507c6e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ultraner-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Ultraner/ultraner-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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