post
https://api.caas.staging.bancocdc.com.br/operation/payment/suppliers/
This route allows the registration of disbursements to supplier within the operation.
Attention point:
- To consume the route, it is necessary to pass the operation code as a parameter;
- It is not possible to register more than one supplier per operation.
- The operation must be of the financing type.
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-32 | Value informed exceeds that available for payment. |
| 400 | 400-93 | Desembolso para terceiros desabilitado. |
| 400 | 400-101 | The operation already has a supplier registered. |
| 400 | 400-102 | The operation must be financing. |
| 406 | 406-03 | field 'X' is mandatory and was not informed. |
| 429 | 429-01 | Too many requests |
Response Parameters
| Parameter | Format | Description |
|---|---|---|
| request_code | String | Request identification code. |
| return | Boolean | Indicates if the request was successful. |
| return_code | String | Return code of the request. |
| message | String | Return message of the request. |
| data.code | String | Registration code for disbursement. |