API Reference
Cancel a recurring charge
/v2/cobr/{txid}https://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.brCancels a recurring charge with {"status": "CANCELADA"}, before the date of the first settlement attempt.
Scope: cobr.write.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
Transaction id (^[a-zA-Z0-9]{26,35}$).
Body
application/jsonCANCELADA.
CANCELADAResponses
200Charge cancelled.
Recurrence id (29 characters).
"RR0908935620261021bpo4rn59u8l"Transaction id: alphanumeric, 26 to 35 characters (^[a-zA-Z0-9]{26,35}$).
"3136957d93134f2184b369e8f1c0729d"Additional information for the payer (up to 140 characters).
"Mensalidade"Dates of the charge.
Show child attributes
Creation date and time (RFC 3339).
"2026-10-21"Due date (YYYY-MM-DD).
"2026-10-28"Amounts.
Show child attributes
Original amount in BRL (\d{1,10}\.\d{2}), greater than zero.
"35.00"Recurring charge status: CRIADA, ATIVA, CONCLUIDA, EXPIRADA, REJEITADA or CANCELADA.
CRIADAATIVACONCLUIDAEXPIRADAREJEITADACANCELADA"CANCELADA"Retry policy: NAO_PERMITE or PERMITE_3R_7D (up to 3 retries within 7 days).
"PERMITE_3R_7D"true: a settlement that falls on a non-business day moves to the next business day.
trueIndividual or company that owes the charge. Send cpf or cnpj, never both.
Show child attributes
State (2 letters).
"SP"Postal code (CEP), digits only.
"01310100"E-mail.
"fulano@example.com"Efí account that receives: conta, tipoConta (PAGAMENTO) and agencia.
Show child attributes
CNPJ, digits only (14 digits).
"91881697000102"Receiver's name.
"Exemplos Efi"Account, with check digit and no hyphen.
"123456"Branch, without check digit.
"0001"Account type.
"PAGAMENTO"Settlement attempts.
Show child attributes
Type.
"AGND"Status.
"CANCELADA"End-to-end id of the Pix (32 characters, starts with E).
"E60746948202610212341kVadlyn0XbF"History of status changes.
Show child attributes
Date and time.
"2026-10-21T23:41:03.949Z"Status.
"SOLICITADA"Expected settlement date (YYYY-MM-DD).
"2026-10-28"Reason for the closing (rejection or cancellation).
Show child attributes
Cancellation data.
Show child attributes
Reason code.
"SLCR"Description.
"Cancelamento de agendamento solicitado pelo usuário recebedor"Who cancelled: USUARIO_PAGADOR or USUARIO_RECEBEDOR.
"USUARIO_RECEBEDOR"History of status changes.
Show child attributes
Date and time.
"2026-10-21T23:41:00.234Z"Status.
"CRIADA"400CobROperacaoInvalida: cannot cancel on or after the date of the first attempt.
URI that identifies the problem type, under https://pix.bcb.gov.br/api/v2/error/.
"https://pix.bcb.gov.br/api/v2/error/NaoEncontrado"Short title of the problem.
"Não Encontrado"HTTP status code of the problem.
404Description of the problem.
"Entidade não encontrada."Violations found in the request.
Show child attributes
Reason for the violation.
Property that caused the violation.
401Missing, invalid or expired token, or a token issued for another API (invalid_token).
OAuth error code.
invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_typeError description.
"Access token has insufficient scope"403The token lacks the required scope (insufficient_scope).
OAuth error code.
invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_typeError description.
"Access token has insufficient scope"404NaoEncontrado: the resource does not exist.
URI that identifies the problem type, under https://pix.bcb.gov.br/api/v2/error/.
"https://pix.bcb.gov.br/api/v2/error/NaoEncontrado"Short title of the problem.
"Não Encontrado"HTTP status code of the problem.
404Description of the problem.
"Entidade não encontrada."Violations found in the request.
Show child attributes
Reason for the violation.
Property that caused the violation.