post https://api-approval.tingg.africa/v3/checkout-api/validate-charge
Allows a merchant to request to debit amount from customer for the charge request that was posted earlier in the initiate charge request/ initiate checkout&charge request function.
Validate charge requires a voucher code that is generated from the payment channel to authorize a debit on the customer’s wallet.
The validate charge request does the following:
- Retrieves the charge request posted and attaches the validation token to it.
- Posts the validation request with the validation token to the payment channel to authorize the charge request made earlier.
See the different payment option code here for Orange Ivory coast, Orange Burkina Faso and Orange Senegal.
Live Endpoint
Key | Value Type | Required | Description |
---|---|---|---|
checkout_request_id | long | Yes | A unique transaction ID identifying the transaction logged in the checkout platform. |
charge_request_id | long | Yes | The identifier for the charge request posted. |
merchant_transaction_id | String | Yes | The unique transaction ID from the merchant's system identifying the request that was previously initiated on the post checkout request leg. |
validation_token | String | Yes | A string generated by the payment channel that will be used to authorize debits on the customer’s account. |
Response Status Codes
Status Code | Description |
---|---|
200 | Success. |
500 | Failure. Generic failure occurred. Could be as a result of a system failure on the checkout platform. |
1001 | No request found. |
1013 | Not JSON. The checkout request posted was not valid JSON |
1014 | Missing merchant transaction id. The request did not have a merchant_transaction_id |
422 | Invalid request |