Gourmet Card
Method : POST
URL :https://open.revenuemonster.my/v3/membership/verify
Sandbox URL : https://sb-open.revenuemonster.my/v3/membership/verify
note
(For Alipay Merchant ) Collect information using member card ID
#
Request ParametersParameter | Type | Description | Example |
---|---|---|---|
memberCardId | String | From Ali Pay member card id | 28158443195878043074 |
storeId | String | Store ID | "4949529109748431621" |
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" |
Item object (item):
Parameter | Type | Description | Example |
---|---|---|---|
id | String | Gourmet Card ID | "28158443195878043074" |
transactionId | String | Transaction ID | "1584431832399399267" |
cardId | String | Card ID | "1576632501406219093" |
memberId | String | Member ID | "1584431797984173748" |
expiredAt | DateTime | Expired date time | "2020-05-16T07:59:18Z" |
createdAt | DateTime | Creation date time | "2020-03-17T07:59:18Z" |
updateAt | DateTime | Last update date time | "2020-03-05T09:40:21Z" |
Card object (card):
Parameter | Type | Description | Example |
---|---|---|---|
id | String | Card ID | "1576632501406219093" |
name | String | Card Name | "九折美食卡" |
lifetime | Uint | Life Time | 60 |
lifetimeType | String | Life Time Type | "DAY" |
amount | Uint | Amount | 10 |
currency | String | Currency type | "RMB" |
discountType | String | Discount type | "DISCOUNT" |
discountValue | String | Discount Value | "1000" |
minimumSpentAmount | Uint | Minimum Spent Amount | 10 |
wallet | String | Wallet : Alipay | "ALIPAY" |
templateId | String | Template ID | "20191218000000002154347000300178" |
status | String | Status | "ACTIVE" |
image | String | Image | "https://rm-sandbox-membership-public.oss-ap-southeast-3.aliyuncs.com/gourmet/card/image-1579510518825819467-1579510518.png" |
icon | String | Icon | "https://rm-sandbox-membership-public.oss-ap-southeast-3.aliyuncs.com/gourmet/card/icon-1579505367845553007-1579505367.png" |
createAt | DateTime | Create date time | "2019-12-18T01:28:24Z" |
updateAt | DateTime | Update date time | "2019-12-18T01:28:24Z" |
Example Response