Charge a specific voucher reservation
Charges the previously created temporary reservation on a voucher.
Authorizations
This API uses OAuth 2 with Client Credentials Flow (see: https://www.oauth.com/oauth2-servers/access-tokens/client-credentials).
You can request only a subset of specific scopes for your client, however the available scopes for each client are defined through the client groups in the UI.
Within your token request, you can also send the optional parameter client_type (string with a max length of 32 chars). This value is only used for internal statistics.
Path Parameters
Body
Voucher charge request body
Order or invoice number of the transaction for this usage
"ORDER-62642"
Response
OK
Primary identification key - will be used in voucher-charge calls
"cff8784e5eb28b9b04860"
Voucher primary identification key (see voucher -> id)
"cff8784e34b28b9b04860"
Client primary identification key (see client -> id)
"cff8784e5eb28b81ca02a"
Type of this charge. Can either be "charge", "recharge" or "refund"
charge, recharge, refund "charge"
Amount in the currency of this voucher. Must be send as string in the following pattern:
- Up to five digits before the decimal point
- The decimal point (.)
- Exactly two digits after the decimal point
4 - 9^\d+\.\d{2}$"10.53"
Order or invoice number of the transaction
"ORDER-62642"
created_at - datetime in RFC3339 format, see https://tools.ietf.org/html/rfc3339
"2017-07-21T17:32:28+00:00"
updated_at - datetime in RFC3339 format, see https://tools.ietf.org/html/rfc3339
"2017-07-21T17:32:28+00:00"