Redeem Loyalty Points

User can redeem his credited loyalty point equivalent to repective amount in his wallet account.

   User will get equivalent amount from respective loyalty points.

How to redeem loyalty points?

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

Sample Request

Sample Response


  • loyaltyPoints – Get Loyalty Points API.
  • 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:

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
loyaltyPoints Points to redeem. N
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
loyaltyAmount Points redeemed converted to amount N50
status Response status (SUCCESS/FAILED). A

List of response code from API

Response Code Message
1 Success
2 Fail
3 Invalid Request