Checkout Standard

This request is to be sent along with a sha256. Read more about our hash step alternative to building your own hash string use our hash endpoint.
Athentication
Request Body
Response Body
Athentication
-X POST
https://seerbitapi.com/api/v2/payments
-H 'Content-Type: application/json'
-H 'Authorization: Bearer {token}
Request Body
{
"publicKey":"merchant publickey",
"amount":"5,000.00",
"currency":"NGN",
"country":"NG",
"paymentReference":"643108207792124616573324",
"email":"test@mvaa.com",
"productId":"64310880-2708933-427",
"productDescription":"WEIGHING AND ADMIN CHARGES",
"callbackUrl":"http://mvaa.ebs-rcm.com/payment",
"hash":"e234a6a5c2e856224933ad6942e1732e64efb314d1402b469b4a71377991a607",
"hashType":"sha256"
}
Response Body
{
"status": "SUCCESS",
"data": {
"code": "00",
"payments": {
"redirectLink": "http://checkout-seerbit.surge.sh/#/?mid=merchantpublickey&paymentReference=643108207792124616573324",
"paymentStatus": "08"
},
"message": "Successful"
}
}

Field

Description

Type

publicKey

This is available after sign-up

dash board -> settings -> api keys.

String

Required

amount

amount to be paid

String

Required

currency

Currency to perform transaction

String

Required

country

Country the customer is performing transaction

String

Required

paymentReference

Unique payment reference/identifier, To be supplied by the Merchant

String

Required

email

Customer email address

String

Required

productId

Unique identification number of product, To be supplied by Merchant

String

Optional

productDescription

Narration of the transaction

String

Optional

redirectLink

url to redirect to

String

callbackUrl

merchant url to redirect to

String

Required

hash

hash of selected string from request payload

String

Required

hashType

sha256

String

Required