Skip to main content
Start a checkout with POST /v1/checkout, authenticated with your API key. It creates a hosted payment page and returns a checkout id and url. Send your customer to the url; you are told the result by the checkout.paid webhook, and you verify it before fulfilling the order.
Authenticate with X-API-Key only. Do not send a dashboard Authorization: Bearer token on this call. A checkout created with a signed-in dashboard session is a top-up of your own wallet, not a sale: the money lands in your business wallet, the response says "source": "platform" and "purpose": "self_deposit", and it cannot be refunded to a customer. A sale made with your API key says "source": "api".

Example request

Request fields

partner_reference is not checked for uniqueness for ordinary merchants: two checkouts can carry the same value. Use the Idempotency-Key header (below) to make retries safe. Approved partners get a stricter contract where one partner_reference is always one checkout.

Making retries safe: Idempotency-Key

Send an Idempotency-Key header (1 to 255 letters, digits, _, ., : or -) so that a retry after a timeout never creates a second checkout:
  • The same key with the same body returns the first answer again, with the header Idempotent-Replayed: true.
  • The same key while the first request is still running answers 409 with data.code request_in_progress. Nothing ran; retry after the Retry-After header (seconds).
  • The same key with a different body answers 422 with data.code idempotency_key_reused.
Use one key per order attempt, for example order-1042-attempt-1.

Before you can take payments

A business that has not finished verification cannot create checkouts. POST /v1/checkout answers 403 with data.code entity_not_active and data.missing listing what is left. See Going live.

Payment methods offered

A method is offered only while it is live for the checkout’s currency. Card, Apple Pay, Google Pay and mobile money are cross-currency: a payer may pay in their own currency, sees exactly what they will be charged before paying, and is charged that figure. You are settled the checkout amount in the checkout’s currency; the conversion is Platnova’s, not yours. With "fee_bearer": "merchant", tag_transfer is not offered (see Who pays the fee).

Crypto payments

The payer is shown an invoice in coins for the checkout amount. What arrives can differ slightly: wallets and networks shave off fees, and payers sometimes send a little less or more. Platnova values the coins that actually arrived at the market rate when the payment settles, and never credits more than the crypto processor delivered. A payment that covers the invoice is booked as successful even if the processor calls it partially_paid. One that falls short is booked as partially completed, and you are credited what arrived. Each crypto deposit records the breakdown: the amount requested, the coins received and their coin, what those coins were worth, the rate, the fee and the amount credited. You can see it in the transaction details on the dashboard, in the transaction CSV export and in the defi.payment webhook.

Example response

Redirect your customer to data.url. Store data.id against the order: it is how you verify and refund the payment.
Currency case. Checkout responses use lowercase codes ("ngn"), while checkout.paid, verification and refunds use uppercase ("NGN"). Compare currencies case-insensitively.

How long a checkout lives

The checkout page can be opened and paid for 7 days. After that GET /v1/checkout/{id} answers 404 checkout not found, even for a checkout that was paid. A paid checkout’s payment stays verifiable for good with POST /v1/payments/verify, using the checkout id.