wire docs

Python SDK

Official Python SDK for the Wire payment API.

The official Python SDK for Wire.

Install

pip install wirepayment

Initialize and make a call

import wire

client = wire.Client("sk_live_...")

pi = client.payment_intents.create(
    amount=15000,                  # 15,000 ₮ — whole tögrög
    currency="MNT",
    description="Order #1001",      # transaction description (optional)
    idempotency_key="order-1001",
)
print(pi.id, pi.status)

The package installs as wirepayment but is imported as wire.

Learn more

On this page