POST
/
passport
curl --request POST \
  --url https://sandbox.cashfree.com/verification/passport \
  --header 'Content-Type: application/json' \
  --header 'x-client-id: <api-key>' \
  --header 'x-client-secret: <api-key>' \
  --data '{
  "verification_id": "ABC00123",
  "name": "John Doe",
  "file_number": "PA1079341954215",
  "dob": "2007-03-01"
}'
{
"verification_id": "ABC00123",
"reference_id": 1358,
"status": "VALID",
"file_number": "PA1079341954215",
"name": "John doe",
"dob": "1998-12-31",
"application_type": "NORMAL",
"application_received_date": "2003-12-31"
}

Authorizations

x-client-id
string
header
required

Client ID. You can find your ID in the Merchant Dashboard.

x-client-secret
string
header
required

Client secret key. You can find your secret key in the Merchant Dashboard.

Headers

x-cf-signature
string

Send the signature if IP is not whitelisted.

Body

application/json

Find the request parameter to retrieve your customer's passport information

The body is of type object.

Response

200
application/json

Success response for retrieveing passport information

The response is of type object.