Skip to main content

Calculate Spending Reward

POST/v3/loyalty/spending-reward/calculate

Use amount sales to Calculate Spending Reward points

Request Parameters

currencyTypeString

Currently MYR only

Example: MYR

amountint

Amount Sales

Example: 300

Response Parameters

itemObject

Point 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"


Point Object (item)
pointInt

Loyalty point given to customers.

Example: 3

Currency notation (currently only support MYR)