API Reference
API Pix: authenticationPOSTGet a token
Billing · AuthenticationPOSTGet a token (Billing)
Billing · NotificationsGETGet a notification
Due-date charge batches

Create a batch

PUT/v2/lotecobv/{id}
Base URL: https://pix.efi.mimicr.dev · provider: https://pix-h.api.efipay.com.br

Creates a batch of 1 to 1000 due-date charges. The response is 202 with no body; each charge becomes CRIADA or NEGADA (get the batch). Another PUT on the same batch must carry exactly the same txids.

Efí warns this endpoint is disabled for maintenance; Mimicr keeps it working. Efí's docs swap the batch's read and write scopes; Mimicr uses lotecobv.write to write and lotecobv.read to read.

Scope: lotecobv.write.

Authorization

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

Path parameters

idintegerrequired

Batch id, chosen by you.

Body

application/json
descricaostringrequired

Description.

Example: "Mensalidades de novembro"
cobsvobject[]required

Due-date charges of the batch.

Show child attributes
calendarioobjectrequired

Dates of the charge.

Show child attributes
dataDeVencimentostringrequired

Due date (YYYY-MM-DD).

Example: "2026-10-28"
validadeAposVencimentointeger

Days the charge can still be paid after the due date.

Example: 30
devedorobjectrequired

Individual or company that owes the charge. Send cpf or cnpj, never both.

Show child attributes
logradourostring

Street.

Example: "Alameda Souza, Numero 80"
cidadestring

City.

Example: "Recife"
ufstring

State (2 letters).

Example: "PE"
cepstring

Postal code (CEP), digits only.

Example: "70011750"
cpfstring

CPF, digits only (11 digits).

Example: "12345678909"
nomestring

Debtor's name.

Example: "Francisco da Silva"
valorobjectrequired

Amount in BRL, a string with two decimals (\d{1,10}\.\d{2}).

Show child attributes
originalstring

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

Example: "123.45"
multaobject

Late fee. modalidade 1 = fixed amount, 2 = percentage.

Show child attributes
modalidadeinteger

Mode.

Example: 2
valorPercstring

Amount or percentage, depending on the mode (\d{1,10}\.\d{2}).

Example: "2.00"
jurosobject

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
modalidadeinteger

Mode.

Example: 2
valorPercstring

Amount or percentage, depending on the mode (\d{1,10}\.\d{2}).

Example: "0.30"
descontoobject

Discount. 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
modalidadeinteger

Mode.

Example: 1
descontoDataFixaobject[]

Up to 3 discounts with a deadline (data ≤ due date).

Show child attributes
datastring

Discount deadline (YYYY-MM-DD).

Example: "2026-10-28"
valorPercstring

Amount or percentage, depending on the mode (\d{1,10}\.\d{2}).

Example: "5.00"
chavestringrequired

Pix key.

Example: "d01efe21-d811-41a0-9634-6bb4e7802852"
solicitacaoPagadorstring

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

Example: "Mensalidade."
txidstringrequired

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

Example: "fb2761260e554ad593c7226beb5cb650"

Responses

202Due-date charge batch requested for creation.
400LoteCobVOperacaoInvalida: the batch does not match the schema or changes the set of txids.
typestringrequired

URI that identifies the problem type, under https://pix.bcb.gov.br/api/v2/error/.

Example: "https://pix.bcb.gov.br/api/v2/error/NaoEncontrado"
titlestringrequired

Short title of the problem.

Example: "Não Encontrado"
statusintegerrequired

HTTP status code of the problem.

Example: 404
detailstringrequired

Description of the problem.

Example: "Entidade não encontrada."
violacoesobject[]

Violations found in the request.

Show child attributes
razaostring

Reason for the violation.

propriedadestring

Property that caused 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"