API Reference
API Pix: authenticationPOSTGet a token
Billing · AuthenticationPOSTGet a token (Billing)
Billing · NotificationsGETGet a notification
Open Finance · Scheduled payments

Cancel a scheduled Pix

PATCH/v1/pagamentos-agendados/pix/{identificadorPagamento}/cancelar
Base URL: https://openfinance.efi.mimicr.dev · provider: https://openfinance-h.api.efipay.com.br

Cancels a pendente or agendado scheduled payment before its date. No body.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

identificadorPagamentostringrequired

Payment identifier returned at initiation (urn:efi:…).

Example: "urn:efi:31ad3884-2914-4b63-a9f5-560f3ce13cce"

Responses

200Schedule canceled.
identificadorPagamentostring

Payment canceled.

statusstring

cancelado.

cancelado
dataCancelamentostring

Date and time, YYYY-MM-DD HH:mm:ss.

400identificador_pagamento_obrigatorio.
nomestringrequired

Error code, in snake_case (e.g. valor_invalido, chave_idempotencia_obrigatorio).

Example: "valor_invalido"
mensagemstringrequired

Error description.

Example: "O valor do pagamento é inválido"
401Missing, invalid or expired token, or a token issued for another API (invalid_token).
errorstringrequired

Authentication error code.

invalid_clientunsupported_grant_typeinvalid_tokeninsufficient_scope
error_descriptionstringrequired

Error description.

Example: "Credenciais inválidas ou inativas"
403The token lacks the scope the route requires (insufficient_scope).
errorstringrequired

Authentication error code.

invalid_clientunsupported_grant_typeinvalid_tokeninsufficient_scope
error_descriptionstringrequired

Error description.

Example: "Credenciais inválidas ou inativas"
422identificador_pagamento_invalido: unknown payment, or one that can no longer be canceled.
nomestringrequired

Error code, in snake_case (e.g. valor_invalido, chave_idempotencia_obrigatorio).

Example: "valor_invalido"
mensagemstringrequired

Error description.

Example: "O valor do pagamento é inválido"
500erro_aplicacao: internal server error.
nomestringrequired

Error code, in snake_case (e.g. valor_invalido, chave_idempotencia_obrigatorio).

Example: "valor_invalido"
mensagemstringrequired

Error description.

Example: "O valor do pagamento é inválido"