Authorization: Bearer ********************
{
"merchantId":"71722326657622",
"paymentTokenReferenceRequest":"Payer0008",
"walletName": "ZimSwitch",
"amount": "120.50",
"paymentCurrency": "USD",
"paymentDescription": "School Fees FullPayment",
"payerName": "Keith Chimeto",
"payerReference": "1a1401fe-21cd-4111-a980-c0ecf6675951",
"payerAccountId": 9,
"profileId": 4
}
curl --location --request POST 'https://live.smatpay.africa/sandbox/api/requestPaymentTokenAndPay' \
--header 'Content-Type: application/json' \
--data-raw '{
"merchantId":"71722326657622",
"paymentTokenReferenceRequest":"Payer0008",
"walletName": "ZimSwitch",
"amount": "120.50",
"paymentCurrency": "USD",
"paymentDescription": "School Fees FullPayment",
"payerName": "Keith Chimeto",
"payerReference": "1a1401fe-21cd-4111-a980-c0ecf6675951",
"payerAccountId": 9,
"profileId": 4
}'
{
"checkOutStatus": "Success",
"checkOutId": "FD5F75C50D264FF34D8BAB9797B3557C.uat01-vm-tx04",
"checkOutRedirectUrl": "https://staging-payments.smatpay.africa?paymentCode=FD5F75C50D264FF34D8BAB9797B3557C.uat01-vm-tx04",
"checkOutToken": ""
}