post
https://api.caas.staging.bancocdc.com.br/client/account/
The create route is responsible for registering a new payment account.
Attention point:
To consume the route it is necessary to pass the client code as a parameter.
Response
| Http Code | Return Code | Message |
|---|---|---|
| 200 | 200-01 | Success. |
| 400 | 400-01 | Something unexpected happened. |
| 400 | 400-02 | Invalid hash. |
| 400 | 400-11 | Error registering. |
| 400 | 400-17 | Account type unavailable. |
| 400 | 400-18 | Account bank code unavailable. |
| 401 | 401-05 | Unauthorized or token invalid. |
| 406 | 406-03 | field 'X' is mandatory and was not informed. |
| 406 | 406-01 | User was not found. |
| 429 | 429-01 | Too many requests. |
Response Parameters
| Parameter | Format | Description |
|---|---|---|
| request_code | string | Code of the request made |
| return | boolean | Indicates if the request was successful |
| return_code | string | Return code of the request |
| message | string | Message indicating the success of the request |
| data | object | Object containing additional information |
| data.code | string | Code associated with the account created in the request |