v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Issue Validation Code (to redeem points)

get/points/validationcode

Query parameters

pointsinteger required

Number of points to redeem.

mobilestring

Mobile number of the customer.

emailstring

Email ID of the customer.

external_idstring

External ID of the customer.

idstring

Unique ID of the customer.

card_numberstring

Card number of the customer.

card_external_idstring

Card external ID of the customer.

format'xml' | 'json'

Preferred response format.

Response

200

Example response

{
  "response": {
    "status": {
      "success": "true",
      "code": "200",
      "message": "Operation Successful"
    },
    "validation_code": {
      "code": {
        "user_id": "55456",
        "mobile": "44700900999",
        "points": "50",
        "item_status": {
          "success": "true",
          "code": "200",
          "message": "Validation Code Issued by SMS/Email"
        }
      }
    }
  }
}