Skip to main content

Resend payment confirmation token for Boleto

This endpoint allows the resending of the authentication token for Boleto payments.

Boleto

This is the conventional boleto (with digitable lines not starting with the digit 8). It is registered with the Interbank Payment Clearinghouse (CIP/Núclea) and can be paid at financial institutions and payment institutions authorized to operate by the Central Bank.

Request

Request Endpoint

ENDPOINT
/account/ACCOUNT_KEY/payment/PAYMENT_KEY/bank_slip/resend_token
MÉTODO
PATCH

Request Path Params

FieldTypeDescriptionCharacters
account_key *uuid4Unique account identification key.36
payment_key *uuid4Unique payment identification key.36

Response

Success Response

STATUS
200
Response Body: Token successfully resent
{
"payment_key":"c4325104-d60b-44f3-aae4-49155564a2ea",
"request_control_key":"b713b2f6-2f48-4d18-b0c9-7186e4edf189",
"payer_name":"COOPERATIVA INDUSTRIAL MURILO",
"payer_document_number":"00037025000160",
"source_account_key":"6dc89d57-fac7-4643-b151-cd2ca0a7f68f",
"transaction_key":"4e80070a-a0bb-4be2-8178-55fbd73a3704",
"transaction_revert_key":null,
"paid_amount":1050.1,
"payment_date":"2024-04-03",
"payment_type":"bank_slip",
"bank_slip": {
"bank_slip_key":"95080ffd-3ac5-48d7-b3fe-659e4aaba81a",
"barcode":"00193967000009910000000003615574000000002417",
"digitable_line":"00190000090361557400500000024174396700000991000",
"payer_name":"COOPERATIVA TESTE",
"payer_document_number":"00037025000160",
"beneficiary_name":"TESTE EQUIPAMENTOS E SERVICOS LTDA",
"beneficiary_trading_name":"TESTE EQUIPAMENTOS E SERVICOS LTDA",
"beneficiary_document_number":"52069937000117",
"beneficiary_bank_ispb":"00000000",
"guarantor_name":null,
"guarantor_document_number":null,
"expiration_date":"2024-03-29",
"max_payment_data": "2026-03-29",
"partial_payment_indicator":"allowed",
"registered_payment_amount":9029.0,
"nominal_amount":9910.0,
"total_amount":10129.1,
"rebate_amount":0.0,
"discount_amount":0.0,
"fine_amount":0.0,
"interest_amount":219.1
},
"collection_slip":null,
"payment_status":"pending_2fa_approval"
}

Response Body Params

FieldTypeDescription
payment_key *uuid4Unique payment identification key.
request_control_key *uuid4Unique identification key for the client's request.
payer_name *stringName of the effective payer.
payer_document_number *stringDocument number of the effective payer (CPF/CNPJ).
source_account_key *uuid4Key of the debited account.
transaction_key *uuid4Payment transaction key.
transaction_revert_keyuuid4Payment reversal transaction key.
paid_amount *numberAmount effectively paid.
payment_date *stringPayment date.
payment_type *enumPayment type.
bank_slipobjectBoleto.
collection_slipobjectCollection invoice.
payment_status *enumPayment status.

Enumerators payment_type

EnumeratorTypeDescription
bank_slipstringBoleto
collection_slipstringCollection invoice
Warning

The enumerator collection_slip does not apply to the boleto flow, and the collection_slip object will always be null.

Enumerators payment_status

EnumeratorDescription
pending_2fa_approvalpending two-factor approval

Object bank_slip

FieldTypeDescription
barcode *stringBarcode.
digitable_line *stringDigitable line.
payer_name *stringPayer's name.
payer_document_number *stringPayer's document number (CPF/CNPJ).
beneficiary_name *stringBeneficiary's name.
beneficiary_trading_namestringBeneficiary's trade name.
beneficiary_document_number *stringBeneficiary's document number (CPF/CNPJ).
beneficiary_bank_ispb *stringISPB code of the beneficiary's bank.
guarantor_namestringName of the guarantor.
guarantor_document_numberstringGuarantor's document number (CPF/CNPJ).
expiration_date *stringDue date.
max_payment_date *stringMaximum payment date.
partial_payment_indicator *enumPartial payment indicator.
registered_payment_amountstringTotal registered payment amount.
nominal_amount *numberOriginal amount.
total_amount *numberTotal amount.
rebate_amount *numberRebate amount.
discount_amount *numberDiscount amount.
fine_amount *numberFine amount.
interest_amount *numberInterest amount.

Enumerators partial_payment_indicator

EnumeratorTypeDescription
allowedstringAllowed
not_allowedstringNot allowed

Error Response

STATUS
4XX
Response Body
{
"title": "Título",
"description": "Description in english",
"translation": "Descrição em português",
"code": "Código"
}
HTTP CodeQI CodeTitleDescription (eng)Description (pt-br)
403BIP000010ForbiddenUser is not allowed to do this actionUsuário não tem autorização para fazer essa ação
404BIP000011Not FoundThe source account key was not found.A chave da conta de origem não foi encontrada.
400BIP000012Bad 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.
400BIP000013Bad RequestThe source account is closed.A conta de origem está fechada.
400BIP000014Bad RequestThe source account is blocked.A conta de origem está bloqueada.
404BIP000056Not FoundPayment not found.Pagamento não encontrado.
400BIP000057Bad RequestPayment status is not pending approval.Status de pagamento não é de aprovação pendente.
400BIP000062Bad RequestPayment type is not bank slip.Tipo de pagamento não é boleto.
400BIP000064Bad RequestError resending verification tokenErro ao reenviar token de verificação
400BIP000065Bad RequestPayment verification time window exceeded.Janela de tempo de verificação de pagamento excedida.