Skip to main content

wirepayment (Python)

Official Python SDK for the Wire payment API.

Install

pip install wirepayment

Quickstart

import wire

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

pi = client.payment_intents.create(amount=50000, currency="MNT")  # whole tögrög: 50,000 ₮
print(pi.id, pi.status)

Auto-pagination

for charge in client.charges.list(limit=50):
    print(charge.id)

Webhook verification

import wire

event = client.webhooks.verify(
    request.body,                       # raw bytes
    request.headers[wire.SIGNATURE_HEADER],
    endpoint_secret,
)
print(event.type)

Errors

try:
    client.payment_intents.create(amount=-1)
except wire.WireError as e:
    print(e.code, e.request_id, e.status_code)

License

MIT

Metadata

Release files for wirepayment 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wirepayment 1.0.1
File Size Uploaded
wirepayment-1.0.1.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wirepayment 1.0.1
File Interpreter ABI Platform
wirepayment-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / wirepayment-1.0.1.tar.gz

Download URL wirepayment-1.0.1.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
944d1b203b61f8751e28482781753f60c1b3e4b77a87442acf464f49e39f00b4
BLAKE2b-256 checksum
How to use checksums
c22e3b21966f56fff4c6eaee3acf435bc181d9962faa5482b58b6650f90cf1f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / wirepayment-1.0.1-py3-none-any.whl

Download URL wirepayment-1.0.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d503cf2941df38795b607a8e2d73346e8866a1861b7b30f379fb73f99351832
BLAKE2b-256 checksum
How to use checksums
8dfbffadb6b7e37bedadf712f0586cf6bf0360d032b1a3c5f53f3ce4359135bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page