Python SDK
Official Python SDK for the Wire payment API.
The official Python SDK for Wire.
- Repository: github.com/buildry-wire/wire-python
- Package: pypi.org/project/wirepayment
Install
pip install wirepaymentInitialize 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
- Quickstart
- Webhooks —
client.webhooks.verify - API reference