API Reference
API Pix: authenticationPOSTGet a token
Billing · AuthenticationPOSTGet a token (Billing)
Billing · NotificationsGETGet a notification
Billing · Charges

List card installments

GET/v1/installments
Base URL: https://cobrancas.efi.mimicr.dev · provider: https://cobrancas-h.api.efipay.com.br

Lists the installment options for an amount on a card brand, to show the payer before paying.

In Mimicr, up to 2 installments have no interest; from 3 to 12 installments, 1.99% a month.

Authorization

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

Query parameters

brandstringrequired

Card brand.

visamastercardamexelodinershipercard
Example: "visa"
totalintegerrequired

Total in cents.

Example: 47988

Responses

200Installments.
codeintegerrequired

200.

Example: 200
dataobjectrequired
Show child attributes
rateinteger

Rate.

Example: 0
namestring

Card brand.

Example: "visa"
installmentsobject[]

Options from 1 to 12 installments.

Show child attributes
installmentinteger

Number of installments.

has_interestboolean

Whether it has interest.

valueinteger

Amount of each installment in cents.

currencystring

Formatted amount, 479,88.

interest_percentageinteger

Monthly interest in hundredths (199 = 1.99%).

400Missing (3500054) or invalid (3500056) brand, missing total (3500053) or total over the limit (3500006).
codeintegerrequired

Numeric error code, from Efí's error table (e.g. 3500034).

Example: 3500034
errorstringrequired

Error name (e.g. validation_error, invalid_status, property_does_not_exists).

Example: "validation_error"
error_descriptionobjectrequired

Error text, or an object with the invalid property (a JSON Pointer-style path, like /items/0/value) and the message.

Texto
Propriedade
propertystring

Invalid property.

Example: "/payment/banking_billet/customer/name"
messagestring

Error message.

Example: "O nome deve ter nome e sobrenome."
401Token missing, invalid, expired (600 s) or from another API: 3500008 unauthorized.
codeintegerrequired

Numeric error code, from Efí's error table (e.g. 3500034).

Example: 3500034
errorstringrequired

Error name (e.g. validation_error, invalid_status, property_does_not_exists).

Example: "validation_error"
error_descriptionobjectrequired

Error text, or an object with the invalid property (a JSON Pointer-style path, like /items/0/value) and the message.

Texto
Propriedade
propertystring

Invalid property.

Example: "/payment/banking_billet/customer/name"
messagestring

Error message.

Example: "O nome deve ter nome e sobrenome."