API Reference
Create a due-date charge
/v2/cobv/{txid}https://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.brCreates a due-date charge (cobv). devedor is required. Accepts late fee, interest, rebate and discount in valor. The response carries recebedor and only loc.location (no root location).
In homologation, cobv from R$ 0.01 to R$ 10.00 are also paid on their own. In Mimicr, a repeated txid answers 409 txid_duplicado, as on cob.
Scope: cobv.write.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
Transaction id (^[a-zA-Z0-9]{26,35}$).
Body
application/jsonDates of the charge.
Show child attributes
Due date (YYYY-MM-DD).
"2026-10-28"Days the charge can still be paid after the due date.
30Individual or company that owes the charge. Send cpf or cnpj, never both.
Show child attributes
Street.
"Alameda Souza, Numero 80"City.
"Recife"State (2 letters).
"PE"Postal code (CEP), digits only.
"70011750"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.
"123.45"Late fee. modalidade 1 = fixed amount, 2 = percentage.
Show child attributes
12Interest. 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
12345678Discount. 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
123456Show child attributes
Show child attributes
12Pix key of the authenticated Efí account that receives the payment.
"d01efe21-d811-41a0-9634-6bb4e7802852"Text shown to the payer (up to 140 characters).
"Mensalidade."Show child attributes
Location created with POST /v2/loc and tipoCob cobv.
Responses
201Due-date charge created.
Dates of the charge.
Show child attributes
Creation date and time (RFC 3339).
"2026-10-21T23:40:05.723Z"Due date (YYYY-MM-DD).
"2026-10-28"Days the charge can still be paid after the due date.
30Transaction id: alphanumeric, 26 to 35 characters (^[a-zA-Z0-9]{26,35}$).
"c24c8d65fd024836bc7bac75d5c4002f"Revision of the resource. Starts at 0 and increases on every change.
0Linked location (payload).
Show child attributes
Location id.
3Payload URL, without the scheme, used in the QR code.
"qrcodespix.efi.mimicr.dev/v2/cobv/c5d7396c5a27a87171832cb4e3a74b31"Charge type of the location: cob or cobv.
"cobv"Creation date and time (RFC 3339).
"2026-10-21T23:40:05.686Z"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
State (2 letters).
"PE"Postal code (CEP), digits only.
"70011750"CPF, digits only (11 digits).
"12345678909"Debtor's name.
"Francisco da Silva"City.
"Recife"Street.
"Alameda Souza, Numero 80"Receiver data.
Show child attributes
State (2 letters).
"SP"Postal code (CEP), digits only.
"01310100"CNPJ, digits only (14 digits).
"91881697000102"Receiver's name.
"Exemplos Efi"City.
"São Paulo"Street.
"Av. Paulista, 1000"Amounts of the charge.
Show child attributes
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
Amount or percentage, depending on the mode (\d{1,10}\.\d{2}).
"0.30"Mode.
2Late fee. modalidade 1 = fixed amount, 2 = percentage.
Show child attributes
Amount or percentage, depending on the mode (\d{1,10}\.\d{2}).
"2.00"Mode.
2Discount. 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
Mode.
1Up to 3 discounts with a deadline (data ≤ due date).
Show child attributes
Discount deadline (YYYY-MM-DD).
"2026-10-28"Amount or percentage, depending on the mode (\d{1,10}\.\d{2}).
"5.00"Original amount in BRL (\d{1,10}\.\d{2}), greater than zero.
"123.45"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).
"Mensalidade."BR Code (Pix Copy and Paste) of the charge.
"00020101021226880014BR.GOV.BCB.PIX2566qrcodespix.efi.mimicr.dev/v2/cobv/c5d7396c5a27a87171832cb4e3a74b315204000053039865802BR5912EXEMPLOS EFI6008SAOPAULO6207..."400CobVOperacaoInvalida: the charge does not match the schema or is not ATIVA.
URI that identifies the problem type, under https://pix.bcb.gov.br/api/v2/error/.
"https://pix.bcb.gov.br/api/v2/error/NaoEncontrado"Short title of the problem.
"Não Encontrado"HTTP status code of the problem.
404Description of the problem.
"Entidade não encontrada."Violations found in the request.
Show child attributes
Reason for the violation.
Property that caused 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"409txid_duplicado: the txid was already used by another charge.
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.