Commit Payment External
Endpoint:
POST /v2/rechargeProviders/{reference}/payments/{id}/commit
Authentication:
Grant_type: client_credentials
Scopes: [ credit ]
Headers:
Content-Type: application/json
Authentication: Bearer %access_token%
Body: {}
Note that the %access_token%
needs to be replaced by the token you received as a response from auth endpoint.
{id}
parameter should be replaced with the id of the payment we got from the earlier step we can commit this payment and make an actual change to the credit. Request body can be empty, the amount of credit to recharge was specified in an earlier step.