post https://test.cashfree.com/banking/customers
Use this API to create a customer to issue a prepaid payment instrument(PPI) also known as prepaid card.
Click to view the response codes.
Response Codes
Sub Code | Status | Message | Action |
---|---|---|---|
200 | OK | - | - |
400 | ERROR | customer_id : parameter missing | Include customer_id as one of the parameters in the body. |
400 | ERROR | type : parameter missing | Include type parameter in the body. |
400 | ERROR | full_name : parameter missing | Include full_name as one of the parameters in the body. |
400 | ERROR | email : parameter missing | Include email as one of the parameters in the body. |
400 | ERROR | phone : parameter missing | Include phone as one of the parameters in the body. |
400 | ERROR | customer_id : invalid value | Enter a valid input in the customer_id parameter. |
400 | ERROR | type : invalid value | Enter a valid input in the type parameter. |
400 | ERROR | full_name : invalid value | Enter a valid input in the full_name parameter. |
400 | ERROR | email : invalid value | Enter a valid input in the email parameter |
400 | ERROR | phone : invalid value | Enter a valid input in the phone parameter. |
403 | ERROR | Ensure the client ID, secret key, and API version are mentioned in the API. | |
409 | ERROR | customer_id with given id already exists | Enter a different input in the customer_id parameter. |
Click to view the response parameters.
Response Parameters
Parameter | Description |
---|---|
added_on | It represents the entry creation date. |
customer_id | It represents the unique ID entered to identify the customer. |
It represents the email ID of the customer. | |
full_name | It represents the full name of the customer. |
phone | It represents the contact number of the customer. |
remarks | It represents the list of remarks passed in the request body. |