Spend Loyalty Balances
/v3/loyalty/balancesGet loyalty balance
Request Parameters
Yes
Example: Auth code of QR code/barcode being scanned. Length: 18
Order object (order):
Order ID (from Merchant), max: 24
Example: "134850717797247290"
Example: "1601912947341252990"
Example: ""
Example: ""
Amount of order in cent (min RM 0.10 or amount: 10)
Example: 100
Response Parameters
Example: (Refer to explanation below)
Successfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes)
Example: "SUCCESS"
Example: "1647502414730379278"
Example: refer below example
Example: ""
Example: "LOYALTY_CREDIT"
Example: "QUICK_PAY"
Example: refer below example
Example: ""
Example: "MYR"
Example: "2022-01-27T04:02:46Z"
Example: "SUCCESS"
Creation date time of merchant
Example: "2022-01-27T04:02:46Z"
Last update date time of merchant
Example: "2022-01-27T04:02:46Z"
Store object (store):
Store ID
Example: "1601912947341252990"
Merchant Settlement ID
Example: "1596124535165747709"
Store Name
Example: "Mountain Food - Aeon Mall Shah Alam"
Yes
Example: "https://storage.googleapis.com/rm-prod-asset/img/store.png"
Store Address 1
Example: "B-5-30, 5th Floor, Block Bougainvillea,"
Store Address 2
Example: "PJU 6A, Lebuhraya SPRINT, 10 Boulevard,"
Postcode of store
Example: "47400"
City of store
Example: "Petaling Jaya"
State of store
Example: "Selangor"
Country of store
Example: "Malaysia"
Country code of store contact number
Example: "60"
Phone number of store
Example: "377334080"
Geo Location (latitude and longitude) of store
Example: {"latitude": 3.1349857, "longitude": 101.6136659 }
Current status of store
Example: "ACTIVE"
Creation date time of store
Example: "2020-09-14T03:01:20Z"
Last update date time of store
Example: "2020-09-14T03:01:20Z"
Order object (order):
Order ID (from Merchant), max: 24
Example: "134850717797247290"
Example: ""
Example: ""
Amount of order in cent (min RM 0.10 or amount: 10)
Example: 100