Cashfree Payments Developer Documentation home pagelight logodark logo
  • Discord
  • Create Account
  • Create Account
Payments
Payouts
Secure ID
Partners and Platforms
Payments APIs
Payouts APIs
Secure ID APIs
Partners APIs
Additional APIs
API Reference
AI and Tools
Help Center
Secure ID APIs
  • Overview
  • Getting Started
  • SDK
  • API Rate Limits
  • Data to Test Integration
  • Webhook Signature Verification
V2
  • Bank Account Verification
  • Video KYC
  • Digilocker
  • PAN
  • 1-Click onboarding
  • AI Native Digital KYC
  • Officially Valid Documents(OVDs)
    • Vehicle RC
    • Voter ID
    • Driving License
    • Passport
      • POST
        Verify Passport
  • E-sign
  • KYC Links
  • Account Aggregator
  • Know Your Business(KYBs)
V1 (Depricated API's)
  • Bank Account Verification
Passport

Verify Passport

Use this API to verify passport information and ensure the identity of your customer. Provide the passport file number in the request and we help you fetch the details. View the test data and use the information to trigger the validations. The test data are usable only in the test environments such as gamma and sandbox.

Response Codes

Sub CodeStatusMessageNext Action
200SUCCESSVALID-
200SUCCESSINVALIDEnter the correct information in the request.
400ERRORverification_id is missing in the request.Enter a valid verification_id in the request.
400ERRORverification_id can include only alphanum, dot, hyphen, and underscores.Only alphanumeric, period (.), hyphen (-), and underscore ( _ ) are allowed.
400ERRORfile_number is missing in the request.Enter the file number in the request.
400ERRORdob is missing in the request.Enter the date of birth of the passport holder in the request.
400ERRORdob should be of type YYYY-MM-DD.Enter the DOB in the YYYY-MM-DD format
400ERRORClient secret belongs to test environmentEnter the correct environment credentials in the request.
400ERRORx-client-id is missing in the request.Enter all the header information in the API request.
401ERRORInvalid clientId and clientSecret combinationEnsure you enter valid x-client-id and x-client-secret information in the API request.
403ERRORIP not whitelisted your current ip is 106.51.91.104.For IP whitelisting assistance, visit our guide at https://www.cashfree.com/docs/secure-id/get-started/integration/ip-whitelisting-verificationWhitelist the IP address.
409ERRORverification ID already existsEnter a unique verification ID to identify the request.
422ERRORInsufficient balance to process this requestTry again with sufficient balance.
500ERRORsomething went wrongTry again after some time.
502ERRORverification attempt failedTry again after some time.

Was this page helpful?

Verify Driving Licence DetailsUpload Document For E-Sign
githubyoutubewebsite
Assistant
Responses are generated using AI and may contain mistakes.