API Reference
API Pix: authenticationPOSTGet a token
Billing · AuthenticationPOSTGet a token (Billing)
Billing · NotificationsGETGet a notification
Due-date charges

Revise a due-date charge

PATCH/v2/cobv/{txid}
Base URL: https://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.br

Revises an ATIVA due-date charge, or removes it with {"status": "REMOVIDA_PELO_USUARIO_RECEBEDOR"}.

Scope: cobv.write.

Authorization

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

Path parameters

txidstringrequired

Transaction id (^[a-zA-Z0-9]{26,35}$).

Body

application/json
valorobject

Amounts of the charge.

Show child attributes
originalstring

Original amount in BRL (\d{1,10}\.\d{2}), greater than zero.

Example: "130.00"
multaobject
Show child attributes
modalidadeinteger
12
valorPercstring
jurosobject
Show child attributes
modalidadeinteger
12345678
valorPercstring
abatimentoobject
Show child attributes
modalidadeinteger
12
valorPercstring
descontoobject
Show child attributes
modalidadeinteger
123456
valorPercstring
descontoDataFixaobject[]
Show child attributes
datastring<date>
valorPercstring
statusstring

The only status the receiver can set.

REMOVIDA_PELO_USUARIO_RECEBEDOR

Responses

200Charge revised.
calendarioobject

Dates of the charge.

Show child attributes
criacaostring

Creation date and time (RFC 3339).

Example: "2026-10-21T23:40:05.723Z"
dataDeVencimentostring

Due date (YYYY-MM-DD).

Example: "2026-10-28"
validadeAposVencimentointeger

Days the charge can still be paid after the due date.

Example: 30
txidstring

Transaction id: alphanumeric, 26 to 35 characters (^[a-zA-Z0-9]{26,35}$).

Example: "c24c8d65fd024836bc7bac75d5c4002f"
revisaointeger

Revision of the resource. Starts at 0 and increases on every change.

Example: 1
locobject

Linked location (payload).

Show child attributes
idinteger

Location id.

Example: 3
locationstring

Payload URL, without the scheme, used in the QR code.

Example: "qrcodespix.efi.mimicr.dev/v2/cobv/c5d7396c5a27a87171832cb4e3a74b31"
tipoCobstring

Charge type of the location: cob or cobv.

Example: "cobv"
criacaostring

Creation date and time (RFC 3339).

Example: "2026-10-21T23:40:05.686Z"
statusstring

Charge status: ATIVA, CONCLUIDA, REMOVIDA_PELO_USUARIO_RECEBEDOR or REMOVIDA_PELO_PSP.

ATIVACONCLUIDAREMOVIDA_PELO_USUARIO_RECEBEDORREMOVIDA_PELO_PSP
Example: "ATIVA"
devedorobject

Individual or company that owes the charge. Send cpf or cnpj, never both.

Show child attributes
ufstring

State (2 letters).

Example: "PE"
cepstring

Postal code (CEP), digits only.

Example: "70011750"
cpfstring

CPF, digits only (11 digits).

Example: "12345678909"
nomestring

Debtor's name.

Example: "Francisco da Silva"
cidadestring

City.

Example: "Recife"
logradourostring

Street.

Example: "Alameda Souza, Numero 80"
recebedorobject

Receiver data.

Show child attributes
ufstring

State (2 letters).

Example: "SP"
cepstring

Postal code (CEP), digits only.

Example: "01310100"
cnpjstring

CNPJ, digits only (14 digits).

Example: "91881697000102"
nomestring

Receiver's name.

Example: "Exemplos Efi"
cidadestring

City.

Example: "São Paulo"
logradourostring

Street.

Example: "Av. Paulista, 1000"
valorobject

Amounts of the charge.

Show child attributes
jurosobject

Interest. modalidade 1 = amount per calendar day, 2 = % per day, 3 = % per month, 4 = % per year (calendar days); 5 to 8 = the same in business days.

Show child attributes
valorPercstring

Amount or percentage, depending on the mode (\d{1,10}\.\d{2}).

Example: "0.30"
modalidadeinteger

Mode.

Example: 2
multaobject

Late fee. modalidade 1 = fixed amount, 2 = percentage.

Show child attributes
valorPercstring

Amount or percentage, depending on the mode (\d{1,10}\.\d{2}).

Example: "2.00"
modalidadeinteger

Mode.

Example: 2
descontoobject

Discount. modalidade 1 = fixed amount until the dates, 2 = percentage until the date (with descontoDataFixa); 3 to 6 = per day paid early (with valorPerc).

Show child attributes
modalidadeinteger

Mode.

Example: 1
descontoDataFixaobject[]

Up to 3 discounts with a deadline (data ≤ due date).

Show child attributes
datastring

Discount deadline (YYYY-MM-DD).

Example: "2026-10-28"
valorPercstring

Amount or percentage, depending on the mode (\d{1,10}\.\d{2}).

Example: "5.00"
originalstring

Original amount in BRL (\d{1,10}\.\d{2}), greater than zero.

Example: "130.00"
chavestring

Pix key of the authenticated Efí account that receives the payment.

Example: "d01efe21-d811-41a0-9634-6bb4e7802852"
solicitacaoPagadorstring

Text shown to the payer (up to 140 characters).

Example: "Mensalidade."
pixCopiaEColastring

BR Code (Pix Copy and Paste) of the charge.

Example: "00020101021226880014BR.GOV.BCB.PIX2566qrcodespix.efi.mimicr.dev/v2/cobv/c5d7396c5a27a87171832cb4e3a74b315204000053039865802BR5912EXEMPLOS EFI6008SAOPAULO6207..."
400CobVOperacaoInvalida: the charge does not match the schema or is not ATIVA.
typestringrequired

URI that identifies the problem type, under https://pix.bcb.gov.br/api/v2/error/.

Example: "https://pix.bcb.gov.br/api/v2/error/NaoEncontrado"
titlestringrequired

Short title of the problem.

Example: "Não Encontrado"
statusintegerrequired

HTTP status code of the problem.

Example: 404
detailstringrequired

Description of the problem.

Example: "Entidade não encontrada."
violacoesobject[]

Violations found in the request.

Show child attributes
razaostring

Reason for the violation.

propriedadestring

Property that caused the violation.

401Missing, invalid or expired token, or a token issued for another API (invalid_token).
errorstringrequired

OAuth error code.

invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_type
error_descriptionstringrequired

Error description.

Example: "Access token has insufficient scope"
403The token lacks the required scope (insufficient_scope).
errorstringrequired

OAuth error code.

invalid_clientinvalid_tokeninsufficient_scopeunsupported_grant_type
error_descriptionstringrequired

Error description.

Example: "Access token has insufficient scope"
404NaoEncontrado: the resource does not exist.
typestringrequired

URI that identifies the problem type, under https://pix.bcb.gov.br/api/v2/error/.

Example: "https://pix.bcb.gov.br/api/v2/error/NaoEncontrado"
titlestringrequired

Short title of the problem.

Example: "Não Encontrado"
statusintegerrequired

HTTP status code of the problem.

Example: 404
detailstringrequired

Description of the problem.

Example: "Entidade não encontrada."
violacoesobject[]

Violations found in the request.

Show child attributes
razaostring

Reason for the violation.

propriedadestring

Property that caused the violation.