The Update Plan API allows you to modify an existing plan, enabling you to update attributes such as the plan’s status, installment details, and the payment method associated with the plan.
Use this API to manage and adjust installment plans after creation.
PATCH/installments-plans/{installment_code}
Path Parameters
installment_codestringrequired
The unique identifier of the installment plan.
Body application/json
namestring
The installment plan name (MAX 255; MIN 3)
account_idstring[]
The unique identifier of WHITELABEL’s account that will have the installment plan available to use (MAX 64 ; MIN 36).
merchant_referencestring
Identification of the installment plan (MAX 255; MIN 3)
installments_planobject[]
Definition of installments available for each scenario
Show installments_plan properties
installmentinteger<int32>required
The number of monthly installments shoppers can choose
ratenumber<float>required
The rate applied to the final amount of the transaction by the payment provider after using installments. The value should be entered as a multiplier, not a percentage. For example, to apply a 20% rate, enter 1.20 instead of 20.
financial_costsobject[]
Optional financial costs details for this installment option.
Show financial_costs properties
typestringrequired
The financial cost type identifier (MIN 3; MAX 255).
Example: CFT, TEA, CET, CAT
ratenumber<float>required
The financial cost rate as a decimal number (e.g., 45.25 for 45.25%).
Installment’s type. Only available for Ecuador and Mexico. Merchant refers to payments deferred with interest, and Issuer refer to payments deferred without interest
country_codestring
The issuer’s country (ISO 3166-1 MAX 2; MIN 2)
schemestring
Card’s scheme information. (MAX 255; MIN 3)
brandstring[]
Card’s brand information (MAX 255; MIN 3).
issuerstring
Card issuer (MAX 255; MIN 3)
iinstring[]
The issuer identification number (IIN) refers to the first few digits of a payment card number issued by a financial institution (MAX 8; MIN 6)
first_installment_deferralinteger<int32>
The amount of months to wait to debit the first installment (MAX: 3).
amountobject
The amounts that the installment plan will be available for. If null, available for any amount.
Show amount properties
currencystringrequired
The currency used to make the payment (ISO 4217 MAX 3; MIN 3)
min_valuenumber<float>
The minimum amount the installment plan will be available to use (multiple of 0.0001).
max_valuenumber<float>
The maximum amount the installment plan will be available to use (multiple of 0.0001).
availabilityobject
The dates that the installment plan will be available for. If null then it does not have a finish date
Show availability properties
start_atstring<date-time>required
The start date that the installment plan will be available to use
finish_atstring<date-time>required
The end date until the installment plan will be available to use.