Encrypt API for Verifying OTP Sent to Email

Log in to see full request history

The Encrypt API request parameters vary based on the API with which it is used. This section describes the Encrypt API used with Verify OTP Sent to Email API.

Sandboxpayusandbox-kong.pc.enstage-sas.com/api/v2/encrypt
ProductionContact your WIBMO KAM or support.
Sample request
curl --request POST \ --url https://payusandbox-kong.pc.enstage-sas.com/api/v2/encrypt \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --header 'x-api-key: 4A02C4267C9A97A1488AB3259FD1A725' \ --data ' { "messageCode": "2090", "clientTxnId": "MAILSENTOTPTEST53", "requestDateTime": "20220909112862", "emailId": "test@wibmo.com", "otp": 831676 } '
Sample response
{
  "token": "rYJGrjmkDUO1GaaSuvWoG27iiXeFG47Mf3yU4fmtVKy8ya3gJZj91DeRfnpAuc5SZR1ifwuO+iidDQ7+yiAALNg7pZkq0PlztdVpBNuoaqn73eVCTd4uYvDTRXHREaQiF1zLwzktvtoTjhp/v133hSzmcrdR5E0L8XzoTFcu3EDN6JfXlnwoWaFZQylpMCgFT69oWXtDDuFDt7cYEMoMgA=="
}

Request parameters

Body Params
const
required

This parameter must include the message code. It is 2090 for the Register Customer API.

string
required

This parameter must include an unique ID generated by the calling application for each API request.

string
required

This parameter must contain the request date and time in the YYYYMMDDHHMMSS format, where time is in 24 hour format.

string
required

This parameter must contain the customer’s Email ID

string
required

This parameter must contain the OTP. Else, following must be : 0 – Send Fresh OTP, or 1 – Retry OTP

boolean
Defaults to false

This parameter is a flag to specify if email verification is skipped. By default, it will be false so user validation will happen. If true, then customer validation before SMS will be skipped

Headers
string
required

This parameter must contain the API key provided by Wibmo.

Response

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json