Standard Checkout
You can also integrate through the standard checkout approach, which allows you to generate a link for a particular transaction. This is done by calling our initialize transaction API which generates a checkout link, your customers can click on and then make payment.

How to Integrate

When your customer clicks on the checkout button, make a call to our initialize transaction API. We authenticate this call, by a Bearer Token, passed alongside the request. To see how to get you Bearer Token, click here getting my SeerBit Bearer Token. You can pass the customer details such as email during this call. SeerBit validates your request and sends back a checkout link to complete payment.
Note that in cases where you require your customers to bear the charge for a transaction, the agreed charge should be added to the transaction amount. This charge will be deducted after the transaction is completed and the merchant settled the transaction amount.
Authentication
Request Body
Response
1
-X POST
2
https://seerbitapi.com/api/v2/payments
3
-H 'Content-Type: application/json'
4
-H 'Authorization: Bearer {token}
Copied!
1
{
2
"publicKey":"merchant publickey",
3
"amount":"5000.00",
4
"currency":"NGN",
5
"country":"NG",
6
"paymentReference":"643108207792124616573324",
7
"email":"[email protected]",
8
"productId":"64310880-2708933-427",
9
"productDescription":"product description",
10
"callbackUrl":"http:yourwebsite.com",
11
"hash":"e234a6a5c2e856224933ad6942e1732e64efb314d1402b469b4a71377991a607",
12
"hashType":"sha256"
13
}
Copied!
1
{
2
"status": "SUCCESS",
3
"data": {
4
"code": "00",
5
"payments": {
6
"redirectLink": "http://checkout.com/#/?mid=merchantpublickey&paymentReference=643108207792124616573324",
7
"paymentStatus": "08"
8
},
9
"message": "Successful"
10
}
11
}
Copied!
Merchant is expected to use the redirect link returned in the repsonse to navigate to the seerBit checkout modal to continue the transaction
post
https://seerbitapi.com/api
/v2/payments
Initialize Transaction
Last modified 5mo ago