Charge
This payment option is used to charge non 3d transactions
Authentication
Request Body
Response Body
curl -X POST
https://seerbitapi.com/api/v2/payments/charge
-H 'Content-Type: application/json'
-H 'Authorization: Basic {token}
{
"publicKey":"merchant public key",
"amount":"1.00",
"fullName":"john doe",
"mobileNumber":"08033456599",
"currency":"NGN",
"country":"NG",
"paymentReference":"92SQ2A3BCDE42RFR2AS122221",
"email":"[email protected]",
"productId":"Foods",
"productDescription":"RASPBERRY",
"cardNumber":"5123450000000008",
"cvv":"100",
"expiryMonth":"05",
"expiryYear":"21",
"pin":"1234"
}
{
"status": "SUCCESS",
"data": {
"code": "00",
"payments": {
"paymentReference": "SBT_NON3D_TEST11",
"linkingReference": "F031632901595935832514",
"status": "CAPTURED",
"card": {
"bin": "512345",
"last4": "0008",
"token": "tk_970f6b6c-23cb-48ea-a8a1-508d5a81825f"
}
},
"message": "APPROVED"
}
}
The payment reference is to be unique, and properly handled by the merchant

Returning Customer Request

For returning customers, the cardToken gotten from the initial response above can subsequently be used in place of the card details.
Request Body
{
"publicKey": "lpk_9j6BUBDxLcI6kBATGLGKqsHRO_HT0C",
"amount": "1.00",
"fullName": "john doe",
"mobileNumber": "08033456599",
"currency": "KES",
"country": "KE",
"paymentReference": "92SQ2A3BeCDE42RFR2AS122221",
"email": "[email protected]",
"productId": "Foods",
"productDescription": "RASPBERRY",
"cardToken":"tk_5300c23a-d1b8-4437-8c36-c8031c404873"
}
Copy link