POST
https://seerbitapi.com/api/v2/payments/initiates
The code snippet below shows an example request for generating a payment link to complete a payment
curl --location 'https://seerbitapi.com/api/v2/payments/initiates' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ENCRYPTION_KEY' \
--data-raw '{
"fullName":"FirstName LastName",
"email":"firstname@mail.com",
"mobileNumber":"23309494949498",
"publicKey":"merchant_publicKey",
"paymentReference": "MOMOTYTSF4VA",
"deviceType":"nokia 3310",
"sourceIP":"1.0.1.0",
"currency": "UGX",
"productDescription": "snacks",
"country": "UG",
"fee": "1.00",
"network":"MTN",
"voucherCode":"",
"amount": "10.01",
"paymentType": "MOMO"
}'
{
"status": "SUCCESS",
"data": {
"code": "INP",
"payments": {
"paymentReference": "O67456S537798799QWEWAT0MPTYP",
"linkingReference": "CF323190231596441884237"
},
"message": "Kindly Enter Otp"
}
}
Last updated