Complete payment using a voucher
POST https://api.gencom.be:49012/TV2/Execute/GCAPIPACK.B2C_PostCashedVoucher
The request body takes a complete JSON Body - B2C_PostCashedVoucher resource, containing the following writable properties:
{
"CASHEDVOUCHERDATA": {
"AMOUNT": "float",
"CLIENT": "integer",
"EMAIL": "string",
"VOUCHERCODELOCATION": "string",
"VOUCHERLOCATION": "integer",
"VOUCHERSEQUENCE": "integer",
"WEBCODE": "string",
"WEBID": "string",
"WEBORDER": "string",
"WEBORDERSEQUENCE": "integer"
}
}
Name | Type | Description |
---|---|---|
CASHEDVOUCHERDATA | object | |
CASHEDVOUCHERDATA.AMOUNT | float | |
CASHEDVOUCHERDATA.CLIENT | integer | |
CASHEDVOUCHERDATA.EMAIL | string | |
CASHEDVOUCHERDATA.VOUCHERCODELOCATION | string | |
CASHEDVOUCHERDATA.VOUCHERLOCATION | integer | |
CASHEDVOUCHERDATA.VOUCHERSEQUENCE | integer | |
CASHEDVOUCHERDATA.WEBCODE | string | |
CASHEDVOUCHERDATA.WEBID | string | |
CASHEDVOUCHERDATA.WEBORDER | string | |
CASHEDVOUCHERDATA.WEBORDERSEQUENCE | integer |
This request requires the use of one of following authorisation methods:
TOKEN
.
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK successful operation |
JSON Response B2C_PostCashedVoucher |