POST api/kyc/aadhaar/otp/verify

Request Information

URI Parameters

None.

Body Parameters

EncryptedKycRequest
NameDescriptionTypeAdditional information
Data

string

None.

Request Formats

application/json

Sample:
{
  "Data": "<AES-256-CBC Base64 encrypted pipe-delimited request>"
}

text/json

Sample:
{
  "Data": "sample string 1"
}

application/xml, text/xml

Sample:
<EncryptedKycRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileAppAPI.Models">
  <Data>sample string 1</Data>
</EncryptedKycRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EncryptedKycRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json

Sample:
{
  "Kcode": 12345,
  "Success": true,
  "Status": "Verified",
  "NextStep": "Selfie",
  "Message": "Aadhaar verified",
  "Checksum": "<response-sha512>"
}

text/json, application/xml, text/xml

Sample:

Sample not available.