Skip to main content
POST
Create installment plan

Authorizations

public-api-key
string
header
required

Your public API key from the Yuno Dashboard

private-secret-key
string
header
required

Your private secret key (server-side only)

Body

application/json
account_id
string<uuid>[]
required

Account IDs this plan applies to

Example:
name
string
required

Name of the installment plan

Example:

"Standard Plan"

merchant_reference
string
required

Merchant reference for the plan

Example:

"001 08 Agosto 2023"

installments_plan
object[]
required

Array of installment options with rates

country_code
string
required

ISO 3166-1 alpha-2 country code

Pattern: ^[A-Z]{2}$
Example:

"BR"

amount
object
required
brand
string | null

Card brand filter (optional)

iin
string | null

IIN/BIN filter (optional)

Response

Installment plan created successfully

id
string<uuid>

Unique installment plan identifier

Example:

"3e599453-e147-4d1c-8643-73e4d980c2ae"

name
string
Example:

"Standard Plan"

account_id
string<uuid>[]
Example:
merchant_reference
string
Example:

"001 08 Agosto 2023"

installments_plan
object[]
brand
string | null
iin
string | null
country_code
string
Example:

"BR"

first_installment_deferral
integer

Number of periods before first installment

Example:

1

amount
object