API
9. Voucher Redeem
Description : Voucher Redeem API is used to redeem member’s voucher at its store.URL : https://sandbox.goodie.id/api-rest/point-transaction/redemption/voucher/redeem
Method : POST
Header :
| No | Key | Value | Requirement | Description |
|---|---|---|---|---|
| 1 | Content-type | application/x-www-form-urlencoded | M | Security Header |
| 2 | authToken | String | M | authentication |
| 3 | deviceUniqueId | String | M | Device Id |
Body :
| No | Parameter | Value | Requirement | Description |
|---|---|---|---|---|
| 1 | memberId | String | M | Member’s id |
| 2 | merchantId | String | M | Id of the merchant |
| 3 | voucherBalanceId | String | M | Voucher balance id |
| 4 | storeId | String | O | Store’s id |
JSON Format :
Response :
| No | Parameter | Value | Description |
|---|---|---|---|
| 1 | memberId | String | Member’s id |
| 2 | merchantId | String | Id of the merchant |
| 3 | abstractResponse | ||
| 4 | responseStatus | String | See details** |
| 5 | responseMessage | String | See details** |
JSON Format :