Calculate Spending Reward
POST
/v3/loyalty/spending-reward/calculateUse amount sales to Calculate Spending Reward points
Request Parameters
Currently MYR only
Example: MYR
Amount Sales
Example: 300
Response Parameters
Point object
Example: (Refer to explanation below)
Successfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes)
Example: "SUCCESS"
Point Object (item)
Loyalty point given to customers.
Example: 3
Currency notation (currently only support MYR)