API Reference
Revise a charge
/v2/cob/{txid}https://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.brRevises 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
Transaction id (^[a-zA-Z0-9]{26,35}$).
Body
application/jsonAmounts of the charge.
Show child attributes
Original amount in BRL (\d{1,10}\.\d{2}), greater than zero.
"150.00"Text shown to the payer (up to 140 characters).
"Informe o número do pedido."Additional information shown to the payer (nome and valor, up to 50 items).
Show child attributes
Field name (up to 50 characters).
Field value (up to 200 characters).
Show child attributes
Location created with POST /v2/loc and tipoCob cob.
The only status the receiver can set.
REMOVIDA_PELO_USUARIO_RECEBEDORResponses
200Charge revised.
Dates of the charge.
Show child attributes
Creation date and time (RFC 3339).
"2026-10-21T23:39:59.454Z"Lifetime of the charge in seconds, counted from calendario.criacao. Must be greater than zero; the default is 86400 (24 hours).
3600Transaction id: alphanumeric, 26 to 35 characters (^[a-zA-Z0-9]{26,35}$).
"7978c0c97ea847e78e8849634473c1f1"Revision of the resource. Starts at 0 and increases on every change.
1Linked location (payload).
Show child attributes
Location id.
1Payload URL, without the scheme, used in the QR code.
"qrcodespix.efi.mimicr.dev/v2/435797fb907ddc8281611ac631b704bf"Charge type of the location: cob or cobv.
"cob"Creation date and time (RFC 3339).
"2026-10-21T23:39:59.435Z"Payload URL, without the scheme, used in the QR code.
"qrcodespix.efi.mimicr.dev/v2/435797fb907ddc8281611ac631b704bf"Charge status: ATIVA, CONCLUIDA, REMOVIDA_PELO_USUARIO_RECEBEDOR or REMOVIDA_PELO_PSP.
ATIVACONCLUIDAREMOVIDA_PELO_USUARIO_RECEBEDORREMOVIDA_PELO_PSP"ATIVA"Individual or company that owes the charge. Send cpf or cnpj, never both.
Show child attributes
CPF, digits only (11 digits).
"12345678909"Debtor's name.
"Francisco da Silva"Amounts of the charge.
Show child attributes
Original amount in BRL (\d{1,10}\.\d{2}), greater than zero.
"150.00"Pix key of the authenticated Efí account that receives the payment.
"d01efe21-d811-41a0-9634-6bb4e7802852"Text shown to the payer (up to 140 characters).
"Informe o número do pedido."BR Code (Pix Copy and Paste) of the charge.
"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.
Error code in snake_case, for example cobranca_nao_encontrada.
"cobranca_nao_encontrada"Error message in Portuguese.
"Nenhuma cobrança encontrada para o txid informado"Schema validation details (only on json_invalido).
Show child attributes
Keyword of the violated rule, for example required, pattern or enum.
"pattern"Path of the invalid field, for example .body.valor.original.
".body.valor.original"Description of 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"