Checkout Standard

post
Checkout Standard

https://seerbitapi.com/api/v2/payments/
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.
Request
Response
Request
Path Parameters
publicKey
required
string
This is the merchant public key
amount
required
string
This is the amount to be paid
currency
required
string
This is the currency the transaction is to be carried out in
paymentReference
required
string
This is the unique identifier for a transaction to be generated by the merchant
email
required
string
This is the email of the customer
productID
required
string
This is the product id entered by the merchant.
productDescription
required
string
This is the product description supplied by the merchant.
callbackURL
optional
string
This is the callback url supplied by the merchant so that seerBit can redirect back to it.
hash
required
string
This is the hash of the concatenated string for payment. Check hash module for more clarification.
hashType
required
string
hash type is sha256.
code
optional
string
This is the service reponse code from the seerBit.
redirectLink
required
string
This is refund when the payment link service is called.
Response
200: OK
Response
{
"status": "SUCCESS",
"data": {
"code": "00",
"payments": {
"redirectLink": "https://checkout.seerbit.com/?mid=cqjphzlAEl&paymentReference=5fgj767563777",
"paymentStatus": "08"
},
"message": "Successful"
}
}
}
Request
curl -X POST \
https://seerbitapi.com/api/v2/payments/
Requires Authentication:
Authorization Bearer {token}
token == encrypted private key
{
"publicKey":"SBTESTPUBK_PjQ5dFOi522L383MlsQYUMAe6cZYviTF", //replace this with your own public key
"amount":"100.00",
"currency":"NGN",
"country":"NG",
"paymentReference":"5fgj77tx867563777",
"email":"test@yourdomain.com",
"productId":"product id",
"productDescription":"product description",
"callbackUrl":"http://yourdomain.com",
"hash":"3af7fbd7de08cad92c83e178c827cc7e06198279691e6b641036ba73672b7e56",
"hashType":"sha256"
}