Skip to main content
This guide takes you from a new account to a verified test payment using Standard Checkout — you create the transaction from your server, send the customer to a SeerBit-hosted page, then confirm the result server-side. No card data touches your servers.

Prerequisites

  • A SeerBit account — register for free. New accounts start in Test Mode, so you don’t need approved KYC to complete this guide.
  • Your public key and secret key, from Settings > API Keys in the dashboard.
  • Any tool that can make HTTP requests.
Note: No real money moves in Test Mode. Keep your secret key on your server — never in browser or mobile code.

Get started

1

Exchange your keys for a bearer token

Every Standard Checkout call is authenticated with a bearer token. Generate one by posting your two keys joined by a full stop, secret key first.
The token comes back as data.EncryptedSecKey.encryptedKey. Use it as Authorization: Bearer <token> on the next call.
2

Create a transaction

Post the amount, the customer, and a paymentReference you generate.
A success returns data.payments.redirectLink:
Make paymentReference unique and tie it to your own order — a UUID or your order ID with a prefix. Store it before you redirect; you need it to confirm the payment in step 4.
3

Send the customer to the checkout page

Redirect the customer to the redirectLink you just received. Pay with a test card, then let SeerBit return them to your callbackUrl.Treat that redirect as a hint, not proof — a customer can close the tab before it happens. The next step is what settles the order.
4

Confirm the payment server-side

Query the transaction with the same paymentReference.
Before you fulfil the order, check that the response reports success and that the amount and currency match what you charged. See Verify a payment for the full response and what each field means.

Next steps

Set up webhooks

Get notified server-side instead of polling for a result.

Add payment methods

Bank account, transfer, USSD and mobile money alongside cards.

Try Simple Checkout

Drop an inline payment form straight into your page instead.

Go live

Submit KYC, swap your keys, and run the go-live checklist.
Stuck? Reach the team at SeerBit Support.