API Reference
API Pix: authenticationPOSTGet a token
Billing · AuthenticationPOSTGet a token (Billing)
Billing · NotificationsGETGet a notification
Immediate charges

Revise a charge

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

Revises an ATIVA charge: calendario, devedor, valor, chave, solicitacaoPagador, loc and infoAdicionais. Send {"status": "REMOVIDA_PELO_USUARIO_RECEBEDOR"} to remove it. Every change increases revisao.

Scope: cob.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: "150.00"
solicitacaoPagadorstring

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

Example: "Informe o número do pedido."
infoAdicionaisobject[]

Additional information shown to the payer (nome and valor, up to 50 items).

Show child attributes
nomestringrequired

Field name (up to 50 characters).

valorstringrequired

Field value (up to 200 characters).

locobject
Show child attributes
idinteger

Location created with POST /v2/loc and tipoCob cob.

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:39:59.454Z"
expiracaointeger

Lifetime of the charge in seconds, counted from calendario.criacao. Must be greater than zero; the default is 86400 (24 hours).

Example: 3600
txidstring

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

Example: "7978c0c97ea847e78e8849634473c1f1"
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: 1
locationstring

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

Example: "qrcodespix.efi.mimicr.dev/v2/435797fb907ddc8281611ac631b704bf"
tipoCobstring

Charge type of the location: cob or cobv.

Example: "cob"
criacaostring

Creation date and time (RFC 3339).

Example: "2026-10-21T23:39:59.435Z"
locationstring

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

Example: "qrcodespix.efi.mimicr.dev/v2/435797fb907ddc8281611ac631b704bf"
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
cpfstring

CPF, digits only (11 digits).

Example: "12345678909"
nomestring

Debtor's name.

Example: "Francisco da Silva"
valorobject

Amounts of the charge.

Show child attributes
originalstring

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

Example: "150.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: "Informe o número do pedido."
pixCopiaEColastring

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

Example: "00020101021226830014BR.GOV.BCB.PIX2561qrcodespix.efi.mimicr.dev/v2/435797fb907ddc8281611ac631b704bf5204000053039865802BR5912EXEMPLOS EFI6008SAOPAULO62070503*..."
400cobranca_nao_encontrada (Efí answers 400, not 404), status_cobranca_invalido, chave_invalida or valor_invalido.
nomestringrequired

Error code in snake_case, for example cobranca_nao_encontrada.

Example: "cobranca_nao_encontrada"
mensagemstringrequired

Error message in Portuguese.

Example: "Nenhuma cobrança encontrada para o txid informado"
errosobject[]

Schema validation details (only on json_invalido).

Show child attributes
chavestring

Keyword of the violated rule, for example required, pattern or enum.

Example: "pattern"
caminhostring

Path of the invalid field, for example .body.valor.original.

Example: ".body.valor.original"
mensagemstring

Description of 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"