Skip to main content
Skip table of contents

Commit Payment voucher

CODE
Endpoint:
POST /v2/payments/voucher/{payment id}/commit

Authentication:
Grant_type: client_credentials
Scopes: [ credit ]

Headers:
Content-Type: application/json
Authentication: Bearer %access_token%

Response body:
{
  "amount": 0
}

Note that the %access_token% needs to be replaced by the token you received as a response from auth endpoint.

{payment id} have to be included in the endpoint call. This commits the payment from the earlier call and actually makes a change in credit. See Post Payment voucher the how to get the payment id.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.