post http://gamma.cashfree.com/v1/anchors/leads//bank-account
Use this API to share the bank account details of the dealer/distributor who raised the invoice for the customer to pay.
Click here to view the response codes.
Response Codes
Sub Code | Status | Message | Next Action |
---|---|---|---|
202 | ACCEPTED | - | - |
400 | ERROR | Loan request not found. | Enter a valid lead ID. |
400 | ERROR | Invalid ifsc | Enter valid IFSC details |
400 | ERROR | bank_name cannot be more than 50 characters | Enter a valid bank name |
400 | ERROR | bank : parameter missing | Enter bank_name information in the API. |
400 | ERROR | account_number cannot be more than 20 characters | Enter a valid account number |
400 | ERROR | account_number : parameter missing | Enter account_number information in the API. |
400 | ERROR | account_holder_name cannot be more than 50 characters | Enter a valid account holder name. |
400 | ERROR | account_holder : parameter missing | Enter account_holder information in the API. |
400 | ERROR | category : parameter missing | Enter account_category information in the API |
400 | ERROR | account_category : value is invalid | Accepted values - SELF OR DISTRIBUTOR. SELF - If the retailer provides the personal bank account details; DISTRIBUTOR - If the retailer provides the business bank account details. |
400 | ERROR | account_type : value is invalid | Accepted values - SAVING or CURRENT. It is the bank account type of the individual or business to which the customer owes money. |
403 | ERROR | Failed to authenticate | Ensure the client ID, secret key, and API version are mentioned in the API. |