Pular para o conteúdo principal

Boletos e cobranças

Os boletos que a conta emite para receber, as carteiras de cobrança que os registram, os pagamentos recebidos, carnês, assinaturas e o recebimento unificado.

Famílias nesta página​

FamíliaToolsreadwritedestructive
Boletos de cobrança17278
Carteiras de cobrança5221
Pagamentos de boletos2200
Carnês4211
Assinaturas5221
Recebimentos4202

Boletos de cobrança​

Escopo: banking/charge.bank_billets

ToolTipoPermissãoEspelhaO que faz
banking_charge_bank_billet_listreadcharge.bank_billets.basicGET /v1/bank_billetsLists bank billets of the authenticated account, with filters that combine.
banking_charge_bank_billet_getreadcharge.bank_billets.basicGET /v1/bank_billets/:idReturns every field of one bank billet — including its payments, registrations, remittances, discharges and associated Pix — in the same shape as the v1 API.
banking_charge_bank_billet_createwritecharge.bank_billets.createPOST /v1/bank_billetsIssues a bank billet.
banking_charge_bank_billet_updatewritecharge.bank_billets.updatePUT /v1/bank_billets/:idUpdates a billet that has already been issued.
banking_charge_bank_billet_canceldestructivecharge.bank_billets.basic + charge.bank_billets.cancelPUT /v1/bank_billets/:id/cancelAsks the bank to write off (cancel) a billet.
banking_charge_bank_billet_cancel_batchdestructivecharge.bank_billets.basic + charge.bank_billets.cancelPOST /v1/bank_billets/cancel_allCancels several billets at once, in the background.
banking_charge_bank_billet_duplicatewritecharge.bank_billets.createPOST /v1/bank_billets/:id/duplicateCreates a new billet from an existing one, inheriting the original's data.
banking_charge_bank_billet_paydestructivecharge.bank_billets.payPUT /v1/bank_billets/:id/payMarks a billet as paid directly to the beneficiary, without the payment having come from the bank.
banking_charge_bank_billet_protestdestructivecharge.bank_billets.basic + charge.bank_billets.commandPUT /v1/bank_billets/:id/protest/:typeSends the bank an instruction to protest an overdue billet (send) or to withdraw a protest already requested (cancel).
banking_charge_bank_billet_revokedestructivecharge.bank_billets.basic + charge.bank_billets.cancelpainel: GET /boletos/:id/revokeMarks the billet as written off in Kobana, without asking the bank for a write-off.
banking_charge_bank_billet_mark_overduewritecharge.bank_billets.basic + charge.bank_billets.cancelpainel: GET /boletos/:id/overdueForces the billet into overdue.
banking_charge_bank_billet_create_occurrencedestructivecharge.bank_billets.basic + charge.bank_billets.commandpainel: GET /boletos/:id/movimentar/:occurrenceQueues a CNAB instruction about the billet onto the next remittance to the bank — granting a rebate, changing the "uso da empresa" field, requesting a return, and so on.
banking_charge_bank_billet_take_off_remittancedestructivecharge.bank_billets.basicpainel: GET /boletos/:id/nao_enviar_para_bancoRemoves the billet from a CNAB remittance that has not been sent to the bank yet.
banking_charge_bank_billet_update_addonswritecharge.bank_billets.updatePUT /v1/bank_billets/:id/addonsWrites the billet addons — extra data Kobana carries alongside the instrument without sending it to the bank.
banking_charge_bank_billet_send_emailwritecharge.bank_billets.basicPOST /v1/bank_billets/:id/send_emailE-mails the billet to the payer.
banking_charge_bank_billet_send_smswritecharge.bank_billets.basicPOST /v1/bank_billets/:id/send_smsSends the payer an SMS with the billet details.
banking_charge_bank_billet_deletedestructivecharge.bank_billets.basic + charge.bank_billets.destroypainel: DELETE /boletos/:idDeletes a billet that is already canceled.

Carteiras de cobrança​

Escopo: banking/charge.bank_billet_accounts

ToolTipoPermissãoEspelhaO que faz
banking_charge_bank_billet_account_listreadcharge.bank_billet_accounts.basicGET /v2/charge/bank_billet_accountsLists the bank billet accounts (carteiras de cobrança) of the account: the bank wallets bank billets are issued from.
banking_charge_bank_billet_account_getreadcharge.bank_billet_accounts.basicGET /v2/charge/bank_billet_accounts/:uidReturns every field of one bank billet account (carteira de cobrança), including its bank contract, next numbers and bolepix settings, in the same shape as the API v2.
banking_charge_bank_billet_account_createwritecharge.bank_billet_accounts.createPOST /v2/charge/bank_billet_accountsCreates a bank billet account (carteira de cobrança): the bank wallet that bank billets are issued from.
banking_charge_bank_billet_account_updatewritecharge.bank_billet_accounts.updatePATCH /v2/charge/bank_billet_accounts/:uidChanges settings of a bank billet account (carteira de cobrança): name, layout kind, next "nosso número" and remittance number, beneficiary address, payment place and bolepix Pix account.
banking_charge_bank_billet_account_deletedestructivecharge.bank_billet_accounts.destroyDELETE /v2/charge/bank_billet_accounts/:uidDeletes a bank billet account (carteira de cobrança) together with its bank billets, remittances and history.

Pagamentos de boletos​

Escopo: banking/charge.bank_billet_payments

ToolTipoPermissãoEspelhaO que faz
banking_charge_bank_billet_payment_listreadcharge.bank_billet_payments.basicGET /v2/charge/bank_billet_paymentsLists the payments (baixas por pagamento) received for the account's bank billets, most recent first, with filters that combine.
banking_charge_bank_billet_payment_getreadcharge.bank_billet_payments.basicGET /v2/charge/bank_billet_payments/:uidReturns every field of one bank billet payment (paid amount, dates, receiving bank and agency, fees), with the billet it settled, in the same shape as the API v2.

Carnês​

Escopo: banking/charge.installments

ToolTipoPermissãoEspelhaO que faz
banking_charge_installment_listreadcharge.installments.basicGET /v2/charge/installmentsLists the installment plans (carnês: a set of bank billets for the same payer) of the account, most recent first.
banking_charge_installment_getreadcharge.installments.basicGET /v2/charge/installments/:uidReturns every field of one installment plan (carnê), including its status and the bank billets it generated, in the same shape as the API v2.
banking_charge_installment_createwritecharge.installments.createPOST /v2/charge/installmentsCreates an installment plan (carnê): total bank billets of amount for the same payer, the first due at start_at and the next ones every cycle; or one billet per item of custom_bank_billets.
banking_charge_installment_deletedestructivecharge.installments.destroyDELETE /v2/charge/installments/:uidDeletes an installment plan (carnê).

Assinaturas​

Escopo: banking/charge.customer_subscriptions

ToolTipoPermissãoEspelhaO que faz
banking_charge_customer_subscription_listreadcharge.customer_subscriptions.basicGET /v2/charge/customer_subscriptionsLists the customer subscriptions (recurring bank billet charges) of the account, most recent first.
banking_charge_customer_subscription_getreadcharge.customer_subscriptions.basicGET /v2/charge/customer_subscriptions/:uidReturns every field of one customer subscription (recurring bank billet charge), including its cycle, next billing date, penalties and the billets issued, in the same shape as the API v2.
banking_charge_customer_subscription_createwritecharge.customer_subscriptions.createPOST /v2/charge/customer_subscriptionsCreates a customer subscription: a recurring charge that issues a bank billet to the payer every cycle, starting at next_billing, days_in_advance days before each due date, until end_at (or forever).
banking_charge_customer_subscription_updatewritecharge.customer_subscriptions.updatePUT /v2/charge/customer_subscriptions/:uidChanges a customer subscription (amount, cycle, next billing date, payer, penalties...).
banking_charge_customer_subscription_deletedestructivecharge.customer_subscriptions.destroyDELETE /v2/charge/customer_subscriptions/:uidDeletes a customer subscription, so no new billet is issued for it.

Recebimentos​

Escopo: banking/charge.payments

ToolTipoPermissãoEspelhaO que faz
banking_charge_payment_listreadcharge.payments.basicGET /v2/charge/paymentsLists the payments (recebimentos) the account received for its bank billets and Pix charges, most recent first, with filters that combine.
banking_charge_payment_getreadcharge.payments.basicGET /v2/charge/payments/:uidReturns one payment (recebimento) received for a bank billet or Pix charge, with the charge it settled, payer, debtor and receiving bank, in the same shape as the API v2.
banking_charge_payment_createdestructivecharge.payments.createPOST /v2/charge/paymentsRegisters a payment received outside Kobana (baixa manual) for a bank billet or Pix charge of the account, and settles the charge with it: a Pix becomes paid with this amount; a billet becomes paid once its payments cover its amount or reach its payment count.
banking_charge_payment_deletedestructivecharge.payments.destroyDELETE /v2/charge/payments/:uidDeletes a payment registered for a bank billet and recalculates the billet, which goes back to unpaid when no other payment covers it.

Os campos de cada recurso estão na Referência da API. Uma tool que você não pode rodar não aparece em tools/list; se uma daqui não está lá, veja Autenticação.