Pay Innbucks 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}}",
"paymentDescription": "{{payerDescription}}",
"amount": "1.00",
"paymentCurrency": "USD",
"payerName": "{{payerName}}",
"payerReference": "{{payerReference}}",
"payerAccountId": {{accountId}},
"walletName": "Innbucks",
"profileId": {{profileId}}
}
Request samples
Responses
InititatePayment(200)
HTTP Code: 200
Content Type : Rawtext/plain
ExampleInititatePayment
{
"auth": {
"token": "eyJhbGciOiJIUzUxMiJ9.eyJVc2VySWQiOjMxLCJyb2xlcyI6WyJVU0VSIl0sInN1YiI6ImRldkBzbWF0cGF5LmFmcmljYSIsImlhdCI6MTcyODkzMzA2MCwiZXhwIjoxNzI4OTUxMDYwfQ.fvtGWvDANe0QQFKiToVYgyiycW5Y1ofPI6xfFHkdARo9iB6jndM3nn9ACiPrM4JIGWuGJJxyMMehL82traf5NQ",
"user": {
"id": 31,
"email": "dev@smatpay.africa",
"role": "USER",
"token": "eyJhbGciOiJIUzUxMiJ9.eyJVc2VySWQiOjMxLCJyb2xlcyI6WyJVU0VSIl0sInN1YiI6ImRldkBzbWF0cGF5LmFmcmljYSIsImlhdCI6MTcyODkzMzA2MCwiZXhwIjoxNzI4OTUxMDYwfQ.fvtGWvDANe0QQFKiToVYgyiycW5Y1ofPI6xfFHkdARo9iB6jndM3nn9ACiPrM4JIGWuGJJxyMMehL82traf5NQ"
},
"errorResponse": {
"errorMessage": null,
"statusCode": 0
}
},
"paymentInitiationResponse": {
"status": "Success",
"paymentTokenExpiry": null,
"paymentTokenDescription": "successfully created checkout",
"paymentToken": null,
"paymentId": "BFE1B4470D1981A5F29FC4DC292C2757.uat01-vm-tx03",
"paymentRedirectUrl": "https://dev-payments.smatpay.africa?paymentCode=BFE1B4470D1981A5F29FC4DC292C2757.uat01-vm-tx03",
"paymentResponseMessage": null,
"paymentProcessedDateTime": null,
"paymentCode": null,
"paymentQrCode": null
}
}
Last modified: 6 days ago