Skip to main content

Give Chop Stamp

POST/v3/loyalty/chop-stamp/card/scan

Give a stamp to customer

Request Parameters

codeString

QR code Url link

Example: EhQKCE1lcmNoYW50EJXVzd3wraqTORIgChRMb3lhbHR5Q2hvcFN0YW1wQ2FyZBCm1qHe2eDX_BU:d439a47d-3cd3-48bc-aae7-1effda5c7e1b

images

Response Parameters

itemObject

Transaction object

Example: (Refer to explanation below)

codeString

Successfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes)

Example: "SUCCESS"


Transaction object (item):
idString

Chop Stamp ID

Example: "1583401221690518310"

keyString

Chop Stamp Key

Example: "EhQKCE1lcmNoYW50EJXVzd3wraqTORIgChRMb3lhbHR5Q2hvcFN0YW1wQ2FyZBCm1qHe2eDX_BU"

noOfChoppedStampUint

Number of redeem

Example: 2

isCompletedBool

True or False

Example: false

startAtDateTime

Time Start

Example: "2020-03-02T13:49:08Z"

endAtDateTime

Time End

Example: "2021-04-02T13:49:08Z"

createdAtDateTime

Creation date time

Example: "2020-03-05T09:40:21Z"

updatedAtDateTime

Last update date time

Example: "2020-03-05T09:40:21Z"