API Reference
Create a carnê
/v1/carnethttps://cobrancas.efi.mimicr.dev · provider: https://cobrancas-h.api.efipay.com.brCreates a carnê: a series of boletos (Bolix) due monthly from expire_at, one charge per parcel. With split_items: true, the items' value is split across the parcels; otherwise each parcel is worth the items' total.
The carnê starts up_to_date. The carnê and its parcels share the same notification token (carnet and carnet_charge events). In the response, parcel is a string.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Body
application/jsonItems.
Show child attributes
Name of the item, product or service (1 to 255 characters).
"Meu Produto"Unit price in cents (integer greater than zero). 5990 = R$ 59.90.
5990Quantity. Default 1.
1Payment split (marketplace). Charges with marketplace accept no discount and no card refund.
Show child attributes
1: Efí's fee is charged only to the issuing account; 2 (default): the fee is split proportionally among the receivers. Fixed-value repasses require mode 1.
12Accounts that receive part of the item. The same account twice on the same item isn't allowed; the percentages can't add up to more than 100%.
Show child attributes
Efí account identifier of the receiver (32 hexadecimal characters).
"473f6abd05d8a850a046395ed5544138"Share of the item, in hundredths (9000 = 90%). Send percentage or fixed.
Fixed amount in cents. Requires mode 1.
Payer. A boleto requires name and cpf (or juridical_person); a card also requires email and phone_number.
Show child attributes
Full name, with first and last name.
"Gorbadoc Oldbuck"CPF, 11 digits.
"94271564656"E-mail. Required for cards.
"oldbuck@efipay.com.br"Phone with area code (^[1-9]{2}9?[0-9]{8}$). Required for cards.
"5144916523"Date of birth, YYYY-MM-DD. Required for card subscriptions.
"1977-01-15"Show child attributes
Street.
"Avenida Juscelino Kubitschek"Number.
"909"Neighborhood.
"Bauxita"CEP (postal code), 8 digits.
"35400000"City.
"Ouro Preto"Address complement.
State (UF).
"MG"Legal entity. When present, name and cpf are no longer required.
Show child attributes
Corporate name (1 to 255 characters).
"Empresa Exemplo Ltda"CNPJ, 14 digits.
"99794567000144"Due date of the first parcel, YYYY-MM-DD.
"2026-10-26"Number of parcels, 2 to 24.
3Splits the items' value across the parcels.
Boleto fine, interest and write-off. Boletos under R$ 10.00 get no fine or interest.
Show child attributes
Fine after the due date, in hundredths of a percent (0 to 1000; 200 = 2%).
200Interest after the due date: an integer (daily, 1 to 33, 33 = 0.033% a day) or a {value, type} object with type daily or monthly (monthly, 1 to 1000).
Diário
Com tipo
Interest amount.
Type.
dailymonthlyDays after the due date during which the boleto can still be paid (0 to 120). In Mimicr, the default is 89; after that, the charge goes to expired.
89Boleto message.
Show child attributes
Your application's own identifier (up to 255 characters) or null.
"pedido-1042"URL that receives the notification POST (notification=<token>) on every status change, or null.
"https://sua-app.dev/webhooks/efi"Responses
200Carnê created.
200.
200Show child attributes
Carnê identifier.
10011up_to_date, unpaid (a parcel is overdue), finished (all resolved) or canceled.
up_to_dateunpaidfinishedcanceled"up_to_date"Number of parcels (lookup only).
Carnê cover.
Carnê page.
Carnê page (creation only).
Show child attributes
Carnê PDF.
Cover PDF.
Carnê total in cents (lookup only).
Your identifier.
Notification URL.
Whether the items' value was split across the parcels.
Parcels, one charge each.
Show child attributes
Charge of the parcel.
1000012Parcel status.
newwaitingidentifiedapprovedpaidunpaidrefundedcontestedcanceledsettledexpiredlinkParcel number: a string on creation ("1"), an integer on lookup (1), as in Efí's examples.
Texto
Inteiro
Parcel amount in cents.
7500Due date.
"2026-10-26"Parcel page.
Parcel page (creation only).
Show child attributes
PDF.
Linha digitável.
Show child attributes
Pix copia e cola.
Lookup only.
Show child attributes
Interest.
Fine.
Creation.
History.
Show child attributes
Message.
"Cobrança criada"YYYY-MM-DD HH:mm:ss.
400repeats under 2 (3500041) or over 24 (4600059), due date in the past (4600007), validation (3500034).
Numeric error code, from Efí's error table (e.g. 3500034).
3500034Error name (e.g. validation_error, invalid_status, property_does_not_exists).
"validation_error"Error text, or an object with the invalid property (a JSON Pointer-style path, like /items/0/value) and the message.
Texto
Propriedade
Invalid property.
"/payment/banking_billet/customer/name"Error message.
"O nome deve ter nome e sobrenome."401Token missing, invalid, expired (600 s) or from another API: 3500008 unauthorized.
Numeric error code, from Efí's error table (e.g. 3500034).
3500034Error name (e.g. validation_error, invalid_status, property_does_not_exists).
"validation_error"Error text, or an object with the invalid property (a JSON Pointer-style path, like /items/0/value) and the message.
Texto
Propriedade
Invalid property.
"/payment/banking_billet/customer/name"Error message.
"O nome deve ter nome e sobrenome."