Skip to main content

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_account
METHOD
PATCH

Path parameters

FieldTypeDescriptionCharacters
account_keyuuidv4Unique identification key of the account in which the bank slip was issued36
requester_profile_keyuuidv4Unique identification key of the wallet36
bank_slip_keyuuidv4Unique identification key of the bank slip36
Request Body
{
"settlement_account_key": "614a451d-3b82-460e-bcc0-2caf3dde711f"
}

Request Body Params

FieldTypeDescriptionCharacters
settlement_account_key *uuidv4Unique key that identifies the new settlement account36

Response

STATUS
204
Response Body
{}

Error Response

STATUS
4xx
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP Code
status
QI Code
code
Title
title
Description (eng)
description
Description (pt-br)
translation
400QIT000001Bad RequestSchema ErrorSchema Inválido
404BKS000025Not FoundThe source account key was not found.A chave da conta de origem não foi encontrada.
400BKS000007Bad RequestIt 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.
400BKS000008Bad RequestThe source account is closed.A conta de origem está fechada.
400BKS000009Bad RequestThe source account is blocked.A conta de origem está bloqueada.
404BKS000013Not FoundRequester profile not foundCarteira não encontrada
400BKS000022Bad RequestRequester profile is not opened.Carteira não está aberta.
404BKS000029Not FoundBank slip not found for the given key ({bank_slip_key}).Boleto não encontrado para a chave fornecida ({bank_slip_key}).
400BKS000032Bad RequestBank slip must be in 'registered' status.O boleto deve possuir o status 'registered'.
400BKS000052Bad RequestInvalid account status.Status da conta inválido.