Bank Slip Settlement Account Redirection
This endpoint will be used to change the settlement account of a bank slip registered in QI Tech.
Attention!
- The bank slip remains registered in the original account, which must remain open while there are bank slips registered in it;
- Webhooks will continue to be sent to the integrating partner of the original account;
Request
ENDPOINT
/account/ACCOUNT_KEY/requester_profile/REQUESTER_PROFILE_KEY/bank_slip/BANK_SLIP_KEY/settlement_accountMETHOD
PATCHPath parameters
| Field | Type | Description | Characters |
|---|---|---|---|
account_key | uuidv4 | Unique identification key of the account in which the bank slip was issued | 36 |
requester_profile_key | uuidv4 | Unique identification key of the wallet | 36 |
bank_slip_key | uuidv4 | Unique identification key of the bank slip | 36 |
Request Body
{
"settlement_account_key": "614a451d-3b82-460e-bcc0-2caf3dde711f"
}
Request Body Params
| Field | Type | Description | Characters |
|---|---|---|---|
settlement_account_key * | uuidv4 | Unique key that identifies the new settlement account | 36 |
Response
STATUS
204Response Body
{}
Error Response
STATUS
4xxResponse Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP Codestatus | QI Codecode | Titletitle | Description (eng)description | Description (pt-br)translation |
|---|---|---|---|---|
| 400 | QIT000001 | Bad Request | Schema Error | Schema Inválido |
| 404 | BKS000025 | Not Found | The source account key was not found. | A chave da conta de origem não foi encontrada. |
| 400 | BKS000007 | Bad Request | It was not possible to consult the source account at this time. Please try again in a few minutes. | Não foi possível consultar a conta de origem neste momento. Por favor, tente novamente em alguns minutos. |
| 400 | BKS000008 | Bad Request | The source account is closed. | A conta de origem está fechada. |
| 400 | BKS000009 | Bad Request | The source account is blocked. | A conta de origem está bloqueada. |
| 404 | BKS000013 | Not Found | Requester profile not found | Carteira não encontrada |
| 400 | BKS000022 | Bad Request | Requester profile is not opened. | Carteira não está aberta. |
| 404 | BKS000029 | Not Found | Bank slip not found for the given key ({bank_slip_key}). | Boleto não encontrado para a chave fornecida ({bank_slip_key}). |
| 400 | BKS000032 | Bad Request | Bank slip must be in 'registered' status. | O boleto deve possuir o status 'registered'. |
| 400 | BKS000052 | Bad Request | Invalid account status. | Status da conta inválido. |