TypeScript / Node
A zero-dependency BinkpayClient, generated from the API’s OpenAPI spec and typed end to end. Imported from source, not a registry package.
Use the BINK API from the language your team already knows — a TypeScript client generated from the OpenAPI spec, a spec you can generate any language from, or plain REST underneath.
curl https://binkpay.net/api/v1/developer/ping \
-H "Authorization: Bearer sk_test_51H..."{
"ok": true,
"companyId": "co_4b7e21",
"livemode": false,
"scopes": ["analytics:read", "payments:read"]
}The developer probe — the one endpoint that accepts an API key today. Display and copy only; no live request is sent.
BINK does not publish per-language packages. This is what actually ships today.
A zero-dependency BinkpayClient, generated from the API’s OpenAPI spec and typed end to end. Imported from source, not a registry package.
No official package ships for other languages yet. Generate a client for yours from the same OpenAPI spec with openapi-generator.
No SDK required. The API is plain REST over HTTPS, JSON in and out — call it with the tools your team already uses.
The TypeScript client is generated from the API’s OpenAPI spec, so its methods and types track the API. It carries no dependencies and uses the platform-native fetch. Instantiate it with your key; it sends the key as a Bearer token.
import { BinkpayClient } from "./sdk/typescript";
// Zero-dependency, generated from the OpenAPI spec.
const binkpay = new BinkpayClient({
apiKey: "sk_test_51H...",
});BINK authorises by session + API key. An sk_ key works on the developer probe today; the resource endpoints authorise by your dashboard session. Send the key as a Bearer token.
Every account has a test pair (sk_test_) and a live pair (sk_live_). The key encodes the mode — same base URL /api/v1, no separate host to switch.
Send your key as a Bearer token; every response carries a requestId.
REST over HTTPS, JSON body, one prefix — /api/v1.
One predictable shape and one error envelope across every resource.
Verify the signature on each event and react — no polling.
Swap the sk_test_ key for sk_live_. No base URL to change.
Webhook events let your system respond to changes without polling. Every delivery is signed with HMAC-SHA256 — verify it and react.
The exact endpoints, the request shape and the error envelope — then generate a client, or call the API directly.