v1
latestOpenAPI 3.0.12026-07-24501176.6 MBCheck If Points Redeemable
Query parameters
Mobile number of the customer to check whether points are redeemable.
Email ID of the customer to check whether points are redeemable.
External ID of the customer to check whether points are redeemable.
Unique ID of the customer to check whether points are redeemable.
Card number of the customer to check whether points are redeemable.
Card external ID of the customer to check whether points are redeemable.
Unique ID of the loyalty program from which points need to redeem.
Pass true for group redemption - points earned in one program need to redeem in a different program of the org.
Number of points to redeem.
Pass true to issue OTP if the validation is successful.
OTP issued to the customer’s mobile number.
Pass true if you want to skip validation.
Preferred mode for validation. Use INVALID to skip validation.
Unique user ID of the primary member of the group associated with the points to redeem.
Unique ID of the group associated with the points to redeem.
Source in which the primary user’s identifier is available.
Account ID of the source with multiple accounts such as WECHAT.
Identifier type used for the primary member.
Value of the specified identifier type.
Unique external ID of the group associated with the points to redeem.
Pass true to associate the default group with the points to redeem.
Pass true to consider the default user group.
Preferred response format.
Pass true whether the points of worth n can be redeemed. For example, you can check if points of worth $5 can be redeemed (assuming $ as the base currency). To use this, ensure that the org currency ratio is configured for the org.
The currency amount to check. Required if currency_input=true.
Response
200
Example response
{
"response": {
"status": {
"success": "true",
"code": "200",
"message": "SUCCESS"
},
"responses": {
"points": {
"mobile": "44700900999",
"points_redeemed": "100",
"redeemed_value": "100",
"balance": "257",
"item_status": {
"success": "true",
"code": "800",
"message": "Points Redeemed"
},
"response": {
"status": {
"success": "true",
"code": "200",
"message": "SUCCESS"
},
"points": {
"redeemable": {
"mobile": "44700900999",
"points": "100",
"is_redeemable": "true",
"points_redeem_value": 536,
"points_redeem_local_value": 5239.79,
"points_currency_ratio": "1",
"item_status": {
"success": "true",
"code": "800",
"message": "Points can be redeemed"
}
}
}
}
}
}
}
}