API Reference
List charges
/v2/cobhttps://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.brLists the immediate charges created in the period, with pagination.
Scope: cob.read.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Query parameters
Start of the period (RFC 3339).
"2026-10-01T00:00:00Z"End of the period (RFC 3339), greater than or equal to inicio.
"2026-10-31T23:59:59Z"Filters by the debtor's or payer's CPF.
Filters by the debtor's or payer's CNPJ.
Filters by charge status.
ATIVACONCLUIDAREMOVIDA_PELO_USUARIO_RECEBEDORREMOVIDA_PELO_PSPPage, starting at 0.
0Items per page (default 100, max 1000).
100Responses
200Charges of the period.
Parameters used in the query.
Show child attributes
Start of the queried period (RFC 3339).
"2020-01-01T00:00:00.000Z"End of the queried period (RFC 3339).
"2030-12-31T23:59:59.000Z"Pagination of the result.
Show child attributes
Current page, starting at 0.
0Items per page (default 100).
2Number of pages.
1Total number of items.
2Charges found.
Show child attributes
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).
"3600"Transaction 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"Status.
"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"Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).
Show child attributes
Original amount in BRL (\d{1,10}\.\d{2}), greater than zero.
"150.00"Pix key.
"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*..."Received Pix.
Show child attributes
End-to-end id of the Pix (32 characters, starts with E).
"E09089356202610212340oZXrYiuEIGF"Transaction id: alphanumeric, 26 to 35 characters (^[a-zA-Z0-9]{26,35}$).
"f57c97eae45caa148f94074813876865"Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).
"5.00"Pix key.
"d01efe21-d811-41a0-9634-6bb4e7802852"Payment date and time.
"2026-10-21T23:40:03.282Z"Payer's message.
"Pagamento automático de homologação"400valor_invalido: fim before inicio, or inicio/fim missing (json_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"