SDKs
Official Wire server and client SDKs.
Wire ships official SDKs for many languages. Server SDKs use your secret
key (sk_) to manage PaymentIntents, charges, webhooks, and more. Client
checkout SDKs embed the pay.wire.mn hosted checkout into your app or web
front end — no secret key.
Server SDKs
| Language | Install | Package |
|---|---|---|
| Go | go get github.com/buildry-wire/wire-go | pkg.go.dev · guide |
| Python | pip install wirepayment | PyPI · guide |
| Node / TypeScript | npm install @buildry-wire/wire | npm · guide |
| PHP | composer require buildry-wire/wire-php | Packagist · guide |
| Ruby | gem install wirepayment | RubyGems · guide |
| .NET / C# | dotnet add package Wirepayment | NuGet · guide |
Every server SDK shares one contract: Bearer sk_ client, automatic
idempotency on POST, cursor auto-pagination, typed errors (request_id/status),
retry + backoff (429/5xx/network), webhook verification (HMAC-SHA256, fail-closed).
Client checkout SDKs
No secret key — they present pay.wire.mn/c/{token} and poll GET /checkout/{token}/status as the source of truth.
| Platform | Install | Package |
|---|---|---|
| JavaScript | npm install @buildry-wire/checkout | npm |
| iOS (SwiftPM) | https://github.com/buildry-wire/wire-checkout-ios (from 1.0.0) | repo |
See Hosted checkout.