get https://sandbox.cashfree.com/verification/aa/consent
Use this API to get the status of the consent request.
Response Codes
Sub Code | Status | Message | Next Action |
---|---|---|---|
200 | SUCCESS | SUCCESS | - |
200 | SUCCESS | EXPIRED | Create a new consent request using the Request Consent API. |
200 | SUCCESS | REVOKED | Create a new consent request using the Request Consent API. |
200 | SUCCESS | REJECTED | Create a new consent request using the Request Consent API. |
200 | SUCCESS | PAUSED | Wait for some time and check again. |
400 | ERROR | Please provide consent_verification_id or consent_ref_id | Enter a valid consent verification ID or consent reference ID in the request. |
400 | ERROR | Bad request, please check API documentation | Enter a valid consent reference ID in the request. |
400 | ERROR | x-client-id is missing in the request. | Enter all the header information in the API request. |
400 | ERROR | x-client-secret is missing in the request. | Enter all the header information in the API 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. |
422 | ERROR | Insufficient balance to process this request | Try again with sufficient balance. |
500 | ERROR | something went wrong | Try again after some time. |