Reverse Redeem Voucher

This is a POST request to reverse a previously redeemed transaction.

POST https://shop.bookin1.com/redeem/api/reverseredeem/{transactionId}

Redeem Request Object

NameTypeRequiredLengthDescription
transactionIdalphanumerictrue0-255Value of the transactionId to be reversed.

Request Example

curl -X POST \
https://shop.bookin1.com/redeem/api/reverseredeem/67b6df4a-81d2-4693-a19f-a49e4e157038 \
-H 'Content-Type: application/json' \
-H 'apiKey: 4eC39HqLyjWDarjtT1zdp7dc' \

Response Example

{
"status": "string",
"statusMessage": "string"
}

Redeem Response Object

NameTypeDescription
statusstringSee status codes below
statusMessagestringDescriptive message based on result of the redeem action.

Status Codes

Depending the on the status value, please lookup the below table for explanation and further action.

Status CodeDescriptionAction
00SuccessTransaction reversal is successful.
01ErrorThere was an issue with the reversal, please see statusMessage