Get OTP

Allows fetching recent OTP issued to a customer. For now, OTP is issued for redeeming points/coupons and customer registration. If there is more than one valid OTP available for the customer, this API fetches the recently issued OTP.

Query Params
string
enum
required

Pass any of the registered identifier type of the customer.

Allowed:
string
required

Specify the value of the specified identifierType.

string
enum
required

Source on which the customer's identifier name is registered. Use OTHERS for any other source listed here.

string

For a source with multiple accounts (such as MARTJACK, WECHAT), pass the respective account ID.

int64

Validity of the OTP (in seconds) that you want to fetch.

string
enum
required

Specify the scope of the issued OTP. Use COUPON or POINTS for the respective redemption. GENERIC for any other purpose.

Allowed:
Responses

Language
Credentials
Basic
base64
:
URL
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json