post https://sandbox.cashfree.com/verification/aa/consent
Use this API to request consent from the individual to fetch the financial information.
Response Codes
Sub Code | Status | Message | Next Action |
---|---|---|---|
200 | SUCCESS | PENDING | - |
400 | ERROR | consent_verification_id is missing in the request. | Enter a valid consent verification ID in the request. |
400 | ERROR | consent_verification_id can include only alphanum, dot, hyphen and underscores. | Enter a valid consent verification ID that includes only alphanumeric, period (.), hyphen (-), and underscore ( _ ). |
400 | ERROR | x-client-id is missing in the request. | Enter all the header information in the API request. |
400 | ERROR | Client secret belongs to test environment | Enter the correct environment credentials in the request. |
401 | ERROR | Invalid clientId and clientSecret combination | Ensure you enter valid x-client-id and x-client-secret information in the API request. |
403 | ERROR | IP not whitelisted your current ip is 106.51.91.104.For IP whitelisting assistance, visit our guide at https://docs.cashfree.com/docs/ip-whitelisting-verification | Whitelist the IP address. |
409 | ERROR | consent verification id already exists | Enter a unique consent verification ID that includes only alphanumeric, period (.), hyphen (-), and underscore ( _ ). |
422 | ERROR | Insufficient balance to process this request | Try again with sufficient balance. |
500 | ERROR | something went wrong | Try again after some time. |
502 | ERROR | verification attempt failed | Try again after some time. |