Pular para o conteúdo principal

Pagamentos

Contas a pagar: boletos de terceiros, Pix, DARF, tributos e concessionárias, os lotes, a aprovação, as contas de pagamento e o DDA.

Famílias nesta página​

FamíliaToolsreadwritedestructive
Pagamentos (unificado)6204
Pagamento de boletos4202
Pagamento Pix4202
DARFs4202
Tributos4202
Concessionárias4202
Lotes de pagamento5203
Lotes de pagamento de boletos1001
Lotes de pagamento Pix1001
Lotes de DARF1001
Lotes de tributos1001
Lotes de concessionárias1001
Contas de pagamento4220
Contas DDA6213
Boletos DDA5203

Pagamentos (unificado)​

Escopo: banking/payment.payments

ToolTipoPermissãoEspelhaO que faz
banking_payment_payment_listreadpayment.payments.basicGET /v2/paymentsLists the payments the account made or scheduled to third parties (contas a pagar) of every kind — Pix, bank billet, DARF, tax, utility, GRU — most recent first, with filters that combine.
banking_payment_payment_getreadpayment.payments.basicGET /v2/payments/:uidReturns every field of one payment of any kind (Pix, bank billet, DARF, tax, utility, GRU), including its status at the bank, in the same shape as the API v2.
banking_payment_payment_createdestructivepayment.payments.createPOST /v2/paymentsCreates a payment from the account's money to a third party: a Pix QR code, a bank billet (boleto), a DARF, a tax or a utility bill.
banking_payment_payment_barcodedestructivepayment.payments.createPOST /v2/payments/barcodePays any document that has a barcode or digitable line — bank billet, utility bill or tax — detecting which from the code itself.
banking_payment_payment_canceldestructivepayment.payments.destroyPUT /v2/payments/:uid/cancelCancels a payment of any kind before the bank pays it.
banking_payment_payment_approvedestructivepayment.payment_batches.approvePUT /v2/payments/:uid/approveReleases (approves) a payment registered at the bank and waiting for approval, so the bank pays it.

Pagamento de boletos​

Escopo: banking/payment.payments ou banking/payment.bank_billets

ToolTipoPermissãoEspelhaO que faz
banking_payment_bank_billet_listreadpayment.payments.basicGET /v2/payment/bank_billetsLists the bank billets (boletos) the account paid or scheduled to pay, most recent first.
banking_payment_bank_billet_getreadpayment.payments.basicGET /v2/payment/bank_billets/:uidReturns every field of one bank billet payment, including the billet code, the beneficiary and the status at the bank, in the same shape as the API v2.
banking_payment_bank_billet_createdestructivepayment.payments.createPOST /v2/payment/bank_billetsPays a bank billet (boleto) issued by a third party, from the account's money.
banking_payment_bank_billet_canceldestructivepayment.payments.destroyPUT /v2/payment/bank_billets/:uid/cancelCancels the payment of a bank billet before the bank pays it.

Pagamento Pix​

Escopo: banking/payment.payments ou banking/payment.pix

ToolTipoPermissãoEspelhaO que faz
banking_payment_pix_listreadpayment.payments.basicGET /v2/payment/pixLists the Pix QR codes the account paid or scheduled to pay, most recent first.
banking_payment_pix_getreadpayment.payments.basicGET /v2/payment/pix/:uidReturns every field of one Pix payment, including the QR code paid, the beneficiary and the status at the bank, in the same shape as the API v2.
banking_payment_pix_createdestructivepayment.payments.createPOST /v2/payment/pixPays a Pix QR code (copy-and-paste BR Code) from the account's money.
banking_payment_pix_canceldestructivepayment.payments.destroyPUT /v2/payment/pix/:uid/cancelCancels a Pix payment before the bank pays it, typically a scheduled one.

DARFs​

Escopo: banking/payment.payments ou banking/payment.darfs

ToolTipoPermissãoEspelhaO que faz
banking_payment_darf_listreadpayment.payments.basicGET /v2/payment/darfsLists the DARFs (federal tax guides) the account paid or scheduled to pay, most recent first.
banking_payment_darf_getreadpayment.payments.basicGET /v2/payment/darfs/:uidReturns every field of one DARF payment, including the tax code, the taxpayer, the amounts and the status at the bank, in the same shape as the API v2.
banking_payment_darf_createdestructivepayment.payments.createPOST /v2/payment/darfsPays a DARF (federal tax guide) from its fields — tax code, calculation period, due date, taxpayer and amounts — not from a barcode (for a DARF with a barcode use banking_payment_payment_barcode).
banking_payment_darf_canceldestructivepayment.payments.destroyPUT /v2/payment/darfs/:uid/cancelCancels a DARF payment before the bank pays it, typically a scheduled one.

Tributos​

Escopo: banking/payment.payments ou banking/payment.taxes

ToolTipoPermissãoEspelhaO que faz
banking_payment_tax_listreadpayment.payments.basicGET /v2/payment/taxesLists the tax guides (ITBI, ICMS, ISS, IPTU, DARE, GPS...) the account paid or scheduled to pay, most recent first.
banking_payment_tax_getreadpayment.payments.basicGET /v2/payment/taxes/:uidReturns every field of one tax payment, including its kind, its barcode or data and the status at the bank, in the same shape as the API v2.
banking_payment_tax_createdestructivepayment.payments.createPOST /v2/payment/taxesPays a tax guide (ITBI, ICMS, ISS, IPTU, FGTS, DARE, DARF, GRU, GPS) of the given kind, either from its barcode (format: code, the default, with code) or from its fields (format: data, with data).
banking_payment_tax_canceldestructivepayment.payments.destroyPUT /v2/payment/taxes/:uid/cancelCancels a tax payment before the bank pays it, typically a scheduled one.

Concessionárias​

Escopo: banking/payment.payments ou banking/payment.utilities

ToolTipoPermissãoEspelhaO que faz
banking_payment_utility_listreadpayment.payments.basicGET /v2/payment/utilitiesLists the utility bills (concessionárias: water, power, phone...) the account paid or scheduled to pay, most recent first.
banking_payment_utility_getreadpayment.payments.basicGET /v2/payment/utilities/:uidReturns every field of one utility bill payment, including its barcode, the beneficiary and the status at the bank, in the same shape as the API v2.
banking_payment_utility_createdestructivepayment.payments.createPOST /v2/payment/utilitiesPays a utility bill (concessionária: water, power, gas, phone...) from its barcode or digitable line.
banking_payment_utility_canceldestructivepayment.payments.destroyPUT /v2/payment/utilities/:uid/cancelCancels a utility payment before the bank pays it, typically a scheduled one.

Lotes de pagamento​

Escopo: banking/payment.payments ou banking/payment.batches

ToolTipoPermissãoEspelhaO que faz
banking_payment_batch_listreadpayment.payment_batches.basicGET /v2/payment/batchesLists the payment batches (lotes de pagamento) of the account, of every payment kind, most recent first.
banking_payment_batch_getreadpayment.payment_batches.basicGET /v2/payment/batches/:uidReturns one payment batch with its status at the bank and every payment in it, in the same shape as the API v2.
banking_payment_batch_approvedestructivepayment.payment_batches.approvePUT /v2/payment/batches/:uid/approveReleases (approves) a payment batch registered at the bank and waiting for approval, so the bank pays every payment in it.
banking_payment_batch_reprovedestructivepayment.payment_batches.reprovePUT /v2/payment/batches/:uid/reproveRejects (reproves) a payment batch waiting for approval at the bank, so none of its payments is made.
banking_payment_batch_canceldestructivepayment.payment_batches.destroyPUT /v2/payment/batches/:uid/cancelCancels a payment batch and the payments in it that the bank has not paid.

Lotes de pagamento de boletos​

Escopo: banking/payment.payments ou banking/payment.bank_billets

ToolTipoPermissãoEspelhaO que faz
banking_payment_bank_billet_batch_createdestructivepayment.payment_batches.createPOST /v2/payment/bank_billet_batchesCreates a batch that pays several bank billets (boletos) together, from new payments described here and/or existing bank billet payments of the account given by uid.

Lotes de pagamento Pix​

Escopo: banking/payment.payments ou banking/payment.pix

ToolTipoPermissãoEspelhaO que faz
banking_payment_pix_batch_createdestructivepayment.payment_batches.createPOST /v2/payment/pix_batchesCreates a batch that pays several Pix QR codes together, from new payments described here and/or existing Pix payments of the account given by uid.

Lotes de DARF​

Escopo: banking/payment.payments ou banking/payment.darfs

ToolTipoPermissãoEspelhaO que faz
banking_payment_darf_batch_createdestructivepayment.payment_batches.createPOST /v2/payment/darf_batchesCreates a batch that pays several DARFs (federal tax guides) together, from new payments described by their fields here and/or existing DARF payments of the account given by uid.

Lotes de tributos​

Escopo: banking/payment.payments ou banking/payment.taxes

ToolTipoPermissãoEspelhaO que faz
banking_payment_tax_batch_createdestructivepayment.payment_batches.createPOST /v2/payment/tax_batchesCreates a batch that pays several tax guides together, from new payments described here (each with its kind and either format: code with code or format: data with data) and/or existing tax payments of the account given by uid.

Lotes de concessionárias​

Escopo: banking/payment.payments ou banking/payment.utilities

ToolTipoPermissãoEspelhaO que faz
banking_payment_utility_batch_createdestructivepayment.payment_batches.createPOST /v2/payment/utility_batchesCreates a batch that pays several utility bills (concessionárias) together, from new payments described here and/or existing utility payments of the account given by uid.

Contas de pagamento​

Escopo: banking/payment.accounts

ToolTipoPermissãoEspelhaO que faz
banking_payment_payment_account_listreadfinancial.payment_accounts.basicGET /v2/payment/accountsLists the payment accounts of the account: the service accounts that link a financial account to the bank connection payments go through.
banking_payment_payment_account_getreadfinancial.payment_accounts.basicGET /v2/payment/accounts/:uidReturns one payment account, in the same shape as the API v2.
banking_payment_payment_account_createwritefinancial.payment_accounts.createPOST /v2/payment/accountsCreates a payment account under a financial account of the account, so payments can be routed through it.
banking_payment_payment_account_updatewritefinancial.payment_accounts.updatePATCH /v2/payment/accounts/:uidChanges a payment account: its agreement code, whether payments go by CNAB remittance, or its bank-specific data.

Contas DDA​

Escopo: banking/payment.dda_accounts

ToolTipoPermissãoEspelhaO que faz
banking_payment_dda_account_listreadpayment.dda.accounts.basicGET /v2/payment/dda_accountsLists the DDA accounts of the account — the CNPJs registered to receive, through DDA, the bank billets issued against them — most recent first, with the status of the adhesion letter and of the approval.
banking_payment_dda_account_getreadpayment.dda.accounts.basicGET /v2/payment/dda_accounts/:uidReturns every field of one DDA account — CNPJ, signers, address, adhesion letter status and signed letter URL, approval status, enable/disable requests — in the same shape as the API v2.
banking_payment_dda_account_createdestructivepayment.dda.accounts.createPOST /v2/payment/dda_accountsRegisters a CNPJ for DDA (Débito Direto Autorizado), so the bank billets issued against it can be received by the account.
banking_payment_dda_account_updatedestructivepayment.dda.accounts.updatePUT /v2/payment/dda_accounts/:uidChanges the legal name, phone number, signers or address of a DDA account; only the fields given change, and signers replaces the whole list.
banking_payment_dda_account_enablewritepayment.dda.accounts.updatePUT /v2/payment/dda_accounts/:uid/enableAsks the DDA provider to start receiving the bank billets issued against the account's CNPJ.
banking_payment_dda_account_disabledestructivepayment.dda.accounts.updatePUT /v2/payment/dda_accounts/:uid/disableAsks the DDA provider to stop receiving the bank billets issued against the account's CNPJ and to remove the account's user there.

Boletos DDA​

Escopo: banking/payment.dda.bank_billets

ToolTipoPermissãoEspelhaO que faz
banking_payment_dda_bank_billet_listreadpayment.dda.bank_billets.basicGET /v2/payment/dda_bank_billetsLists the bank billets (boletos) the account received through DDA — issued by third parties against the CNPJ of one of its DDA accounts — most recent first, with Kobana's status (pending, released, rejected, paid) and the one at the bank (external_status).
banking_payment_dda_bank_billet_getreadpayment.dda.bank_billets.basicGET /v2/payment/dda_bank_billets/:uidReturns every field of one bank billet received through DDA — barcode, amounts, due date, fine, interest and discount, beneficiary, statuses and the payment made for it — in the same shape as the API v2.
banking_payment_dda_bank_billet_rejectdestructivepayment.dda.bank_billets.updatePUT /v2/payment/dda_bank_billets/:uid/rejectRejects a bank billet received through DDA, marking it in Kobana as not to be paid.
banking_payment_dda_bank_billet_releasedestructivepayment.dda.bank_billets.updatePUT /v2/payment/dda_bank_billets/:uid/releaseReleases (approves) a bank billet received through DDA for payment.
banking_payment_dda_bank_billet_deletedestructivepayment.dda.bank_billets.destroyDELETE /v2/payment/dda_bank_billets/:uidDeletes a bank billet received through DDA from the account, in any visible status (temporary billets are not found).

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.