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

Get a charge

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

Gets an immediate charge. Once paid, status is CONCLUIDA and pix lists the received Pix and its refunds. As in Efí's docs, calendario.expiracao comes as a string on reads.

Scope: cob.read.

Authorization

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

Path parameters

txidstringrequired

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

Query parameters

revisaointeger

Revision to fetch. Without it, the latest one.

Responses

200Charge.
calendarioobject

Dates of the charge.

Show child attributes
criacaostring

Creation date and time (RFC 3339).

Example: "2026-10-21T23:39:59.454Z"
expiracaostring

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: no charge with this txid.
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"