Skip to main content

Make Payment

base_url: https://demo.etranzact.com/bankit-api/antPeer/v1

Description: This endpoint is used to make a loan payment

Request Parameters

ParameterTypeDescriptionRequired
sessionIdstringSession IDYes
referencestringClient's ReferenceYes
merchantIdstringMerchant IDYes
phoneNointegerCustomer’s phone number. This should be preceded with 234Yes
paymentReferencestringReference for the repayment scheduleYes
bankobjectAn object holding the bank details of the customerYes
bankNamestringCustomer’s Bank NameYes
bankNamestringCustomer’s Bank NameYes
bankCodestringCustomer’s Bank CodeYes
accountNostringCustomer’s account numberYes
pinstringCustomer transaction PIN. This is to be encrypted using the SHA 256 64 bit encryption algorithmYes
amountintegeramount to be repaidYes
POST /user/transaction/makePayment
curl `${base_url}/user/transaction/makePayment`
-H "Content-type: application/json"
-H "Authorization: Bearer YOUR_SECRET_KEY"
-X POST
-d '{
"sessionId": "1uMifUW7I0El3Q3b",
"reference": "1dkD2PLYDL8M1k6LBUI9",
"merchantId": "ANT-PEER",
"phoneNo": 2347065099181,
"paymentReference": "UUWiYZzRp-970_01",
"bank": {
"bankName": "UBA",
"bankCode": "033",
"accountNo": "1022024258"
},
"pin":"3udwo38rhfkle84udndkdo38934744hrnfie93IOU34n3h3u4b4n5nnnwerfgtes",
"amount": 2000
}
'