Codes
Endpoints
Lookup voucher
Query Parameters
Name
Type
Description
{
"rowID": 987654,
"orderID": 1234567,
"productID": 701,
"departmentID": 646
"externalReference": "Lorum ipsum..."
"expiryDate": "2024-09-12 11:32:41",
"validFromDate": "2022-08-13 11:32:41",
"balances": {
"starting": {
"GBP": {
"amount": 60,
"exchangeRate": 1
},
{...}
},
"current": {
"GBP": 60,
{...}
}
},
"name": "Monetary Voucher",
"description": "Lorem ipsum dolor sit amet...",
"termsAndConditions": "Lorem ipsum dolor sit amet...",
"redeemInstructions": "Lorem ipsum dolor sit amet...",
"redeemCode": "1245441ASDBQ",
"subtotal": 100.00,
"total": 100.00,
"status": "Valid",
"currencyCode": "GBP",
"partiallyRedeemable": false,
"redeemableDomains": {
"479": {
"locations": [
{
"locationID": "71",
"name": "Lymington Hotel Montagne"
},
{
"locationID": "102",
"name": "Ampress Park Hotel"
},
{...}
]
},
{...}
},
"redeemHistory": [
{
"eventID": 4759602,
"userID": null,
"created": "2022-08-13 11:32:41",
"rowID": 2939141,
"locationID": null,
"location": null,
"type": "Activation",
"amount": 100,
"currencyCode": "GBP",
"startingBalance": 100
"balance": 100,
"currencies": {
"GBP": {
"baseCurrencyCode": "GBP",
"exchangeRate": "1.00",
"redeemedCurrencyCode": "GBP",
"amount": 100.00,
"balance": 100
}
},
"links": {
"self": "/balance_events/4759602/"
},
"row": {
"code": "1245441ASDBQ",
"type": "Voucher",
"links": {
"self": "/codes/1245441ASDBQ/"
}
},
"order": {
"orderID": 1234567,
"links": {
"self": "/orders/1234567/"
}
}
}
},
{...}
}Topup voucher
Request Body
Name
Type
Description
Code
Explaination
Redeem voucher
Request Body
Name
Type
Description
Last updated