patch https://api.cashfree.com/lending/anchors/leads/
Use this API if you need to update the information of the created lead. A lead is only considered complete when all the required information are updated.
Click here to view the response codes.
Response Codes
Sub Code | Status | Message | Next Action |
---|---|---|---|
202 | ACCEPTED | ||
400 | ERROR | lead_id should have 1-50 valid characters for lead creation | Enter a valid lead ID. |
400 | ERROR | first_name should have 1-50 valid characters for lead creation | Enter a valid first name. |
400 | ERROR | last_name should have 1-50 valid characters for lead creation | Enter a valid last name. |
400 | ERROR | invalid email for lead creation | Enter a valid email ID. |
400 | ERROR | mobile_number should be 10 digit for lead creation | Enter a valid mobile number. |
400 | ERROR | aadhaar_number format invalid for lead creation | Enter valid aadhaar information. |
400 | ERROR | business_name should have 3-100 valid characters for lead creation | Enter a valid business name. |
400 | ERROR | provided id already exists | Enter a different lead ID. |
400 | ERROR | business_revenue should be greater than 0 | Enter a value greater than 0. |
400 | ERROR | Please provide a valid State Name | Enter a valid state name. |
400 | ERROR | Please provide a valid Pin code | Enter a valid PIN code. |
400 | ERROR | city should have 3-50 valid characters for lead creation | Enter a valid city name. |
400 | ERROR | state should have 3-50 valid characters for lead creation | Enter a valid state name. |
400 | ERROR | pincode should only have 6 valid digits for lead creation | Enter a valid PIN code. |
403 | ERROR | Failed to authenticate | Ensure the client ID, secret key, and API version are mentioned in the API. |