Give Chop Stamp
Method : POST
URL : https://open.revenuemonster.my/v3/loyalty/chop-stamp/card/scan
Sandbox URL : https://sb-open.revenuemonster.my/v3/loyalty/chop-stamp/card/scan
note
Give a stamp to customer
#
Request ParametersParameter | Type | Description | Example |
---|---|---|---|
code | String | QR code Url link | EhQKCE1lcmNoYW50EJXVzd3wraqTORIgChRMb3lhbHR5Q2hvcFN0YW1wQ2FyZBCm1qHe2eDX_BU:d439a47d-3cd3-48bc-aae7-1effda5c7e1b |
Example Request
#
Response ParametersParameter | Type | Description | Example |
---|---|---|---|
item | Object | Transaction object | (Refer to explanation below) |
code | String | Successfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes ) | "SUCCESS" |
Transaction object (item):
Parameter | Type | Description | Example |
---|---|---|---|
id | String | Chop Stamp ID | "1583401221690518310" |
key | String | Chop Stamp Key | "EhQKCE1lcmNoYW50EJXVzd3wraqTORIgChRMb3lhbHR5Q2hvcFN0YW1wQ2FyZBCm1qHe2eDX_BU" |
noOfChoppedStamp | Uint | Number of redeem | 2 |
isCompleted | Bool | True or False | false |
startAt | DateTime | Time Start | "2020-03-02T13:49:08Z" |
endAt | DateTime | Time End | "2021-04-02T13:49:08Z" |
createdAt | DateTime | Creation date time | "2020-03-05T09:40:21Z" |
updatedAt | DateTime | Last update date time | "2020-03-05T09:40:21Z" |
Example Response