curl --request POST \
--url https://seerbitapi.com/api/v2/payments/initiates \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"fullName": "john doe",
"email": "johndoe@gmail.com",
"mobileNumber": 248360953,
"publicKey": "SBPUBK_QGOX9NBAHWDYY1PAFSG2PTDOSSZYEWXM",
"paymentReference": "O456S5077907982QWEuWAT05M",
"deviceType": "nokia 3310",
"sourceIP": "1.0.1.0",
"currency": "GHS",
"productDescription": "snacks",
"country": "GH",
"network": "MTN",
"voucherCode": "",
"fee": "0.00",
"amount": "1.00",
"productId": "grocery",
"paymentType": "MOMO"
}
'{
"status": "SUCCESS",
"data": {
"code": "20",
"payments": {
"paymentReference": "VERS2FURTHERTESTAc722456784",
"linkingReference": "F282866521599191373372"
},
"message": "Transaction is pending"
}
}PAYMENT METHOD
Initiate Payment
Accept more payments with our unified payments API. Accept payments from all major cards and the most popular local and alternative payment methods all in a single integration.
POST
/
payments
/
initiates
curl --request POST \
--url https://seerbitapi.com/api/v2/payments/initiates \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"fullName": "john doe",
"email": "johndoe@gmail.com",
"mobileNumber": 248360953,
"publicKey": "SBPUBK_QGOX9NBAHWDYY1PAFSG2PTDOSSZYEWXM",
"paymentReference": "O456S5077907982QWEuWAT05M",
"deviceType": "nokia 3310",
"sourceIP": "1.0.1.0",
"currency": "GHS",
"productDescription": "snacks",
"country": "GH",
"network": "MTN",
"voucherCode": "",
"fee": "0.00",
"amount": "1.00",
"productId": "grocery",
"paymentType": "MOMO"
}
'{
"status": "SUCCESS",
"data": {
"code": "20",
"payments": {
"paymentReference": "VERS2FURTHERTESTAc722456784",
"linkingReference": "F282866521599191373372"
},
"message": "Transaction is pending"
}
}Authorizations
Body
application/json
The body is of type object.
Response
The response is of type object.