Get loyalty points


Get credited loyalty points of wallet user account.



How to get loyalty points?

The POST request will be send over HTTPS to the endpoint.


Sample Request


Sample Response

NOTE:

  • verificationHash – SHA256Algorithm.generateSHA256Hash(secKey.trim()+customerId.trim()+walletOwnerId.trim())


How to generate verification hash?

Verification Hash has to be calculated with following combination using SHA256 algorithm and need to be send along with the authentication parameters in each server-to-server request:
<secKey><customerId><walletOwnerId>


Sample Code



Request Parameters

This reference lists all the standard flow parameters to be send in request.

Parameter Description Format Required
customerId Generated unique customer id on per user sign up. A255 Yes
walletOwnerId Provided by Unique id. N20
[0-9]
Yes
verificationHash Verification Hash has collected combination of parameters. String Yes


Response Parameters

This reference list lists all the standard flow parameters to be received in response.

Parameter Description Format Required
responseCode Response code [a-zA-Z0-9] Yes
loyaltyPoints Total redeem points. N
[0-9]
Yes


List of response code from API

Response Code Message
1 Success
2 Fail
3 Invalid Request