Skip to main content

Gourmet Card

POST/v3/membership/verify

(For Alipay Merchant ) Collect information using member card ID

Request Parameters

memberCardIdString

From Ali Pay member card id

Example: 28158443195878043074

storeIdString

Store ID

Example: "4949529109748431621"

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"


Item object (item):
idString

Gourmet Card ID

Example: "28158443195878043074"

transactionIdString

Transaction ID

Example: "1584431832399399267"

cardIdString

Card ID

Example: "1576632501406219093"

memberIdString

Member ID

Example: "1584431797984173748"

expiredAtDateTime

Expired date time

Example: "2020-05-16T07:59:18Z"

createdAtDateTime

Creation date time

Example: "2020-03-17T07:59:18Z"

updateAtDateTime

Last update date time

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

cardObject

Refer to explanation below

Example: (Refer to explanation below)


Card object (card):
idString

Card ID

Example: "1576632501406219093"

nameString

Card Name

Example: "九折美食卡"

lifetimeUint

Life Time

Example: 60

lifetimeTypeString

Life Time Type

Example: "DAY"

amountUint

Amount

Example: 10

currencyString

Currency type

Example: "RMB"

discountTypeString

Discount type

Example: "DISCOUNT"

discountValueString

Discount Value

Example: "1000"

minimumSpentAmountUint

Minimum Spent Amount

Example: 10

walletString

Wallet : Alipay

Example: "ALIPAY"

templateIdString

Template ID

Example: "20191218000000002154347000300178"

statusString

Status

Example: "ACTIVE"

imageString

Image

Example: "https://rm-sandbox-membership-public.oss-ap-southeast-3.aliyuncs.com/gourmet/card/image-1579510518825819467-1579510518.png"

iconString

Icon

Example: "https://rm-sandbox-membership-public.oss-ap-southeast-3.aliyuncs.com/gourmet/card/icon-1579505367845553007-1579505367.png"

createAtDateTime

Create date time

Example: "2019-12-18T01:28:24Z"

updateAtDateTime

Update date time

Example: "2019-12-18T01:28:24Z"