Endpoints
What is shipped, and what is specified but not yet built. The second list is here so you can plan against it, not integrate against it.
| Verb | Path | What it does | State |
|---|---|---|---|
| POST | /v1/payment_intents | Create a payment. Send an Idempotency-Key. | Idempotent |
| POST | /v1/payment_intents/:id/confirm | Route the payment to a provider and start it. | |
| GET | /v1/payment_intents/:id | Retrieve a payment and every charge attempted against it. | |
| GET | /v1/payment_intents | List payments, filtered, searched and paginated. | |
| POST | /v1/customers | Create a customer you can reuse across payments. | |
| GET | /v1/providers | Which methods will work for a corridor and amount. | |
| POST | /v1/payment_links | Create a hosted checkout and get its URL. | Idempotent |
| GET | /v1/payment_links/:id | A checkout’s status and the payments made through it. | |
| POST | /v1/payment_links/:id/deactivate | Close a checkout that has not been paid. | |
| POST | /v1/sellers | Register a marketplace seller and open their wallet. | Idempotent |
| GET | /v1/sellers | List sellers with their balances and sales figures. | |
| GET | /v1/sellers/:id | A seller, with balances, figures and payout destinations. | |
| PATCH | /v1/sellers/:id | Change a seller’s details, commission or status. | |
| POST | /v1/sellers/:id/payout_destinations | Set the number a seller is paid on. | Idempotent |
| POST | /v1/sellers/:id/payouts | Pay a seller from their wallet. Idempotency-Key required. | Idempotent |
| GET | /v1/sellers/:id/payouts | A seller’s payouts, newest first. | |
| GET | /v1/sellers/:id/payouts/:payoutId | One of a seller’s payouts. | |
| POST | /v1/disputes | Open a dispute for a buyer who wrote to you. | Idempotent |
| GET | /v1/disputes | Disputes, filtered by status, source or seller. | |
| GET | /v1/disputes/:id | A dispute, with its refund’s status. | |
| POST | /v1/disputes/:id/accept | Accept a buyer’s dispute and refund them. Call again after a failed refund. | Idempotent |
| POST | /v1/disputes/:id/reject | Reject a buyer’s dispute and keep the sale. | Idempotent |
| POST | /v1/refunds | Refund a captured payment directly, in full or in part. | Idempotent |
| GET | /v1/refunds/:id | Retrieve a refund and where it stands. | |
| POST | /v1/payment_intents/:id/cancel | Cancel a payment while it is still non-terminal. | Not built |
| POST | /v1/disbursements | Send money out to a third party. | Not built |
| GET | /v1/wallets/:id/balance | Read a wallet’s pending and available balances. | Not built |
| GET | /v1/balance/transactions | The balance statement, line by line. | Not built |
| POST | /v1/payouts | Withdraw to your own destination. | Not built |
Status codes
The HTTP status and the stable code that arrives with it. Your request log in the dashboard records the same code, so a code you filter by is a code documented here.
| HTTP | error.code |
|---|---|
| 400 | invalid_request |
| 401 | unauthenticated |
| 403 | permission_denied |
| 404 | resource_missing |
| 409 | resource_conflict |
| 412 | idempotency_key_reused |
| 422 | unprocessable_entity |
| 429 | rate_limit_exceeded |
| 503 | processor_unavailable |
| 500 | api_error |
Machine-readable
OpenAPI 3.1, generated from the controller’s own decorators and served by the API itself. The Postman collection is generated from that document, and Insomnia imports the same file.
