API Reference
API Pix: authenticationPOSTGet a token
Immediate chargesPOSTCreate a chargePUTCreate a charge with txidPATCHRevise a chargeGETGet a chargeGETList charges
Due-date chargesPUTCreate a due-date chargePATCHRevise a due-date chargeGETGet a due-date chargeGETList due-date charges
Payload locationsPOSTCreate a locationGETList locationsGETGet a locationGETGenerate a QR codeDELUnlink a charge from a location
Pix sendPUTSend a PixPUTSend a Pix (v2)PUTSend a Pix to the same ownerGETGet a sent PixGETGet a sent Pix by idEnvioGETList sent PixPOSTDetail a QR codePUTPay a QR code
Payment splitPOSTCreate a split configurationPUTCreate or revise a split configurationGETGet a split configurationPUTLink split to a cobGETGet a cob with splitDELUnlink split from a cobPUTLink split to a cobvGETGet a cobv with splitDELUnlink split from a cobvPUTRefund a Pix with split
Keys, balance and settingsPOSTCreate a random keyGETList random keysDELDelete a random keyGETGet the balancePUTSave settingsGETGet settingsGETDownload a receiptGETGet bucket tokens
MED and reportsGETList MED infractionsPOSTDefend a MED infractionPOSTRequest a reconciliation statementGETDownload a report
Pix webhooksPUTConfigure a webhookGETGet a webhookGETList webhooksDELDelete a webhookPOSTResend webhooks
Pix Automático: recurrencesPOSTCreate a recurrenceGETGet a recurrencePATCHRevise or cancel a recurrenceGETList recurrencesPOSTCreate a confirmation requestGETGet a confirmation requestPATCHCancel a confirmation request
Pix Automático: charges and locationsPUTCreate a recurring charge with txidPOSTCreate a recurring chargeGETGet a recurring chargePATCHCancel a recurring chargeGETList recurring chargesPOSTRequest a retryPOSTCreate a recurrence locationGETList recurrence locationsGETGet a recurrence locationDELUnlink a recurrence from a location
Pix Automático: webhooksPUTConfigure the recurrences webhookGETGet the recurrences webhookDELDelete the recurrences webhookPUTConfigure the recurring charges webhookGETGet the recurring charges webhookDELDelete the recurring charges webhook
Billing · AuthenticationPOSTGet a token (Billing)
Billing · ChargesPOSTCreate a chargePOSTCreate a one-step chargePOSTSet the payment methodGETGet a chargeGETList chargesPUTUpdate charge metadataPUTUpdate the boleto due datePUTCancel a chargePOSTResend the boleto by e-mailPOSTAdd to the charge historyPOSTAttach a balance sheetPUTMark as paid (manual settlement)POSTRetry a card paymentPOSTRefund a card paymentGETList card installments
Billing · Payment linksPOSTCreate a payment linkPOSTSet a link on a chargePUTUpdate a payment linkPOSTResend the link by e-mail
Billing · CarnêsPOSTCreate a carnêGETGet a carnêPUTUpdate carnê metadataPUTUpdate a parcel due datePUTUpdate parcel due datesPUTCancel a carnêPUTCancel a parcelPOSTResend the carnê by e-mailPOSTResend a parcel by e-mailPOSTAdd to the carnê historyPUTMark a carnê as paidPUTMark a parcel as paid
Billing · Plans and subscriptionsPOSTCreate a planGETList plansPUTUpdate a planDELDelete a planPOSTCreate a subscriptionPOSTCreate a one-step subscriptionPOSTCreate a subscription linkGETGet a subscriptionPUTUpdate a card subscriptionPOSTSet the subscription paymentPUTCancel a subscriptionPUTUpdate subscription metadataPOSTAdd to the subscription historyPOSTResend the subscription link
Billing · NotificationsGETGet a notification
Open Finance · SetupPOSTGet a token (Open Finance)PUTConfigure the applicationGETGet the configurationGETList participants
Open Finance · Scheduled paymentsPOSTSchedule a PixGETList scheduled PixPATCHCancel a scheduled PixPOSTRefund a scheduled Pix
Open Finance · Recurring paymentsPOSTCreate a recurring PixGETList recurring PixPATCHCancel a recurring PixPOSTRefund installmentsPATCHReplace an installment
Open Finance · BiometricsPOSTCreate an enrollmentGETList enrollmentsPATCHRevoke an enrollmentPOSTPix with biometricsGETList biometric Pix
Open Finance · Pix AutomáticoPOSTCreate a consentGETList consentsPATCHRevoke a consentPOSTSchedule a Pix AutomáticoGETList Pix Automático paymentsPATCHCancel a Pix Automático
Bill paymentPOSTGet a token (Bill payment)GETLook up a barcodePOSTPay a barcodeGETGet a bill paymentGETPayment summaryPUTSet the webhookGETList webhooksDELDelete the webhook
Cancel a recurring Pix
PATCH
Base URL: /v1/pagamentos-recorrentes/pix/{identificadorPagamento}/cancelarhttps://openfinance.efi.mimicr.dev · provider: https://openfinance-h.api.efipay.com.brWith the recurrence urn, cancels every open installment and the recurrence becomes cancelada. With an installment's endToEndId in the same path position, cancels only that installment.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
identificadorPagamentostringrequired
The recurrence's urn:efi:…, or an installment's endToEndId.
"urn:efi:31ad3884-2914-4b63-a9f5-560f3ce13cce"Responses
200Cancellation recorded.
identificadorPagamentostring
Payment canceled.
statusstring
cancelado.
canceladodataCancelamentostring
Date and time, YYYY-MM-DD HH:mm:ss.
401Missing, invalid or expired token, or a token issued for another API (invalid_token).
errorstringrequired
Authentication error code.
invalid_clientunsupported_grant_typeinvalid_tokeninsufficient_scopeerror_descriptionstringrequired
Error description.
"Credenciais inválidas ou inativas"403The token lacks the scope the route requires (insufficient_scope).
errorstringrequired
Authentication error code.
invalid_clientunsupported_grant_typeinvalid_tokeninsufficient_scopeerror_descriptionstringrequired
Error description.
"Credenciais inválidas ou inativas"422identificador_pagamento_invalido.
nomestringrequired
Error code, in snake_case (e.g. valor_invalido, chave_idempotencia_obrigatorio).
"valor_invalido"mensagemstringrequired
Error description.
"O valor do pagamento é inválido"500erro_aplicacao: internal server error.
nomestringrequired
Error code, in snake_case (e.g. valor_invalido, chave_idempotencia_obrigatorio).
"valor_invalido"mensagemstringrequired
Error description.
"O valor do pagamento é inválido"