API Reference
Get a carnê
/v1/carnet/{id}https://cobrancas.efi.mimicr.dev · provider: https://cobrancas-h.api.efipay.com.brReturns the carnê with its parcels, the total (value) and the history. On lookup, parcel is an integer.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
carnet_id of the carnê.
Responses
200Carnê.
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.
400Unknown carnê: 3500010 property_does_not_exists.
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."