Pay Omari
POST
/sandbox/init/authenticate/merchant/walletRequest
Header Params
Content-Type
string
required
Example:
application/json
Body Params application/json
object {0}
Example
{
"merchantId":"{{merchantId}}",
"merchantApiKey":"{{merchantApiKey}}",
"merchantKey":"{{merchantKey}}",
"walletName": "Omari",
"amount": "20.50",
"paymentCurrency": "USD",
"paymentDescription": "School Fees FullPayment",
"payerName": "Keith Chimeto",
"payerReference": "{{payerReference}}",
"payerAccountId": {{accountId}},
"payerMobile": "{{263000000000}}",
"profileId": {{profileId}}
}
Request samples
Responses
InititatePaymentOmari(200)
InititatePaymentOmari
HTTP Code: 200
Content Type : Rawtext/plain
ExampleInititatePaymentOmari
{
"auth": {
"token": "eyJhbGciOiJIUzUxMiJ9.eyJVc2VySWQiOjksInJvbGVzIjpbIlVTRVIiXSwic3ViIjoiYW5lc3VAc21hdGVjaGdyb3VwLmNvbSIsImlhdCI6MTcyMjMzNzQ4NiwiZXhwIjoxNzIyMzU1NDg2fQ.ul5RJsYNkvR1KUu0h0xF-sp3cqE1Uj-kxFMNZW2wtmePVGbcbzuyMDCzBE6FLLcib2-dm6nnZ6DhZhUT68MJjw",
"user": {
"id": 9,
"email": "anesu@smatechgroup.com",
"role": "USER",
"token": "eyJhbGciOiJIUzUxMiJ9.eyJVc2VySWQiOjksInJvbGVzIjpbIlVTRVIiXSwic3ViIjoiYW5lc3VAc21hdGVjaGdyb3VwLmNvbSIsImlhdCI6MTcyMjMzNzQ4NiwiZXhwIjoxNzIyMzU1NDg2fQ.ul5RJsYNkvR1KUu0h0xF-sp3cqE1Uj-kxFMNZW2wtmePVGbcbzuyMDCzBE6FLLcib2-dm6nnZ6DhZhUT68MJjw"
},
"errorResponse": {
"errorMessage": null,
"statusCode": 0
}
},
"paymentInitiationResponse": {
"status": "Processing",
"paymentTokenExpiry": "",
"paymentTokenDescription": "UAT USSD *603# USD20.50 \n1. Pay Merchant \n2. Enter Merchant Code : 7075728",
"paymentToken": "",
"paymentId": "911df738-f459-4629-a72e-8388e0acdb5e",
"paymentRedirectUrl": "https://api.paygo.co.zw/sandbox/admin/public/qr?shortCode=7075728&narration=911df738-f459-4629-a72e-8388e0acdb5e&merchantName=Smatech+Group&address=11+Earls+Road+Avondale&amount=2050",
"paymentResponseMessage": null,
"paymentProcessedDateTime": null,
"paymentCode": null,
"paymentQrCode": null
}
}
Modified at 4 days ago