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
| Name | Type | Required | Length | Description |
|---|---|---|---|---|
| transactionId | alphanumeric | true | 0-255 | Value 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
| Name | Type | Description |
|---|---|---|
| status | string | See status codes below |
| statusMessage | string | Descriptive 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 Code | Description | Action |
|---|---|---|
| 00 | Success | Transaction reversal is successful. |
| 01 | Error | There was an issue with the reversal, please see statusMessage |
