Generate Payment Token Sandbox
POST
/sandbox/api/requestPaymentTokenRequest
Body Params application/json
merchantId
string
required
paymentTokenReferenceRequest
string
required
Example
{
"merchantId": "71722326657622",
"paymentTokenReferenceRequest": "paymentPassReference03"
}
Request samples
Responses
GeneratePaymentToken(200)
GeneratePaymentToken
HTTP Code: 200
Content Type : Rawtext/plain
ExampleGeneratePaymentToken
{
"checkOutStatus": "Success",
"checkOutId": "FD5F75C50D264FF34D8BAB9797B3557C.uat01-vm-tx04",
"checkOutRedirectUrl": "https://staging-payments.smatpay.africa?paymentCode=FD5F75C50D264FF34D8BAB9797B3557C.uat01-vm-tx04",
"checkOutToken": ""
}
Last modified: 5 hours ago