API concepts
The handful of ideas that apply to every BXNK endpoint.
Base path
All endpoints sit under /api/v1/product-apis. Every request except token creation needs Authorization: Bearer <accessToken>.
Partners and MIDs
A Partner is any business integrating with BXNK. Each partner has one or more MIDs. Your token carries your MID, so payments, webhooks and balances are scoped to it automatically.
One payment endpoint
POST /payments handles every pay-in. The paymentMethod field picks the flow:
paymentMethod | Flow | Integration |
|---|---|---|
bank_transfer | Bank transfer on-ramp, settled in USDC | S2S or hosted page |
crypto | Crypto or stablecoin deposit to a dedicated address | S2S or hosted page |
card | Card, Apple Pay or Google Pay on-ramp | Hosted checkout |
Balances
Completed pay-ins settle to your BXNK balance in USDC. Check it with GET /psp/balances/assets. From the balance you can pay out to a bank account.
Amounts
- Payments: numbers, at least
0.000005, up to 8 decimal places. - Payouts and FX quotes: decimal strings (for example
"250"), to avoid rounding.
Idempotency
Send an Idempotency-Key header on anything that moves money. If a request times out, retry with the same key and same body and you get the original result back, never a duplicate.
| Endpoint | Idempotency-Key |
|---|---|
| Create payment (bank transfer, crypto) | Recommended |
| Create payment (card on-ramp) | Required |
| Create payout | Required |
| Refund | Recommended |
Use a new key for each new operation. Same key with a different body returns 409.
Rate limits
| Endpoints | Limit |
|---|---|
| Retrieve payment, status check, refund status | 100 requests per second per MID |
| Payout status | Refreshed at most every 30 seconds |
| Everything else | Refreshed at every 5 minutes |
Exceeding a limit returns 429. Prefer webhooks to polling.
Error format
{
"statusCode": 400,
"message": ["amount must not be less than 0.000005"],
"error": "Bad Request"
}message can be a string or a list. See Errors.
Integration methods
| Method | When to use it |
|---|---|
| Server-to-Server (S2S) | Your systems own the checkout. You show bank details or deposit addresses yourself. |
| Hosted Payment Page (HPP) | BXNK hosts the customer-facing page. Fastest to launch. |
Updated 16 days ago

