Pay ZimSwitch/Visa/Mastercard Production
POST
/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": "ZimSwitch",
"amount": "120.50",
"paymentCurrency": "USD",
"paymentDescription": "School Fees FullPayment",
"payerName": "{{payerName}}",
"payerReference": "{{payerReference}}",
"payerAccountId": {{accountId}},
"profileId": {{profileId}}
}
Request samples
Responses
InititatePaymentZimSwitch(200)
InititatePaymentZimSwitch
HTTP Code: 200
Content Type : Rawtext/plain
ExampleInititatePaymentZimSwitch
{
"auth": {
"token": "eyJhbGciOiJIUzUxMiJ9.eyJVc2VySWQiOjksIlJvbGVzIjoiVVNFUiIsInN1YiI6ImFuZXN1QHNtYXRlY2hncm91cC5jb20iLCJpYXQiOjE3MTg5NjY3MTYsImV4cCI6MTcxODk4NDcxNn0.n-vy2K6-1wyoP9hmZmztpNtewgqkYFVY-XMXqiR-00__BuUMp3dGLtg8JhkFTDNh5SpG0SKHgS0u6FlW11knZA",
"user": {
"id": 9,
"email": "anesu@smatechgroup.com",
"role": "USER",
"token": "eyJhbGciOiJIUzUxMiJ9.eyJVc2VySWQiOjksIlJvbGVzIjoiVVNFUiIsInN1YiI6ImFuZXN1QHNtYXRlY2hncm91cC5jb20iLCJpYXQiOjE3MTg5NjY3MTYsImV4cCI6MTcxODk4NDcxNn0.n-vy2K6-1wyoP9hmZmztpNtewgqkYFVY-XMXqiR-00__BuUMp3dGLtg8JhkFTDNh5SpG0SKHgS0u6FlW11knZA"
},
"errorResponse": {
"errorMessage": null,
"statusCode": 0
}
},
"paymentInitiationResponse": {
"status": "000.100.110",
"paymentTokenExpiry": null,
"paymentTokenDescription": "Request successfully processed in 'Merchant in Integrator Test Mode'",
"paymentToken": null,
"paymentId": "8ac7a4a09039ce5001903a669eb46d9c"
}
}
Last modified: a day ago