List installment plans
This endpoint returns the card installment plans available for a given amount and card token.
Call it after tokenize-card and before select-payment-method when you want to offer
installment plans for a card payment.
Eligibility depends on the card's BIN (issuing bank), the requested amount, the merchant's
installment configuration, and per-plan constraints (minimum amount, maximum amount, minimum
monthly amount). If no plans are eligible the endpoint returns an empty array; the client
should hide the installment step and proceed to select-payment-method without an
installment_plan_id.
The amounts returned (monthly_amount, total_amount, interest_amount) are computed against
the amount you pass to this endpoint. Pass the same amount to select-payment-method to keep
the customer's quote consistent.
merchant_id
string
Required. Your merchant ID that uniquely identifies your account.
installation_id
string
Required. The installation ID for this platform (e.g. your iOS app, Android app, website, or terminal).
token
string
Required. The card token obtained from tokenize-card. The token must not have been used in a prior payment session.
amount
string
Required. The payment amount in the smallest currency unit (e.g. satang). Must be a positive integer.
currency
string
Required. The three-letter ISO currency code (e.g. THB). Must match the funding currency configured for your provider.
interest_bearer
string
Optional. Optional override for who bears the interest: customer or merchant. When omitted, the merchant's default setting is used. Pass the same value to select-payment-method so the customer's displayed quote matches what gets locked onto the payment session.
| Attribute | Description |
|---|---|
installment_plan_idstring
|
The ID of the installment plan. Pass this to |
namestring
|
Human-readable name of the installment plan. |
monthsnumber
|
Number of monthly installments. |
interest_ratestring
|
The monthly interest rate as a decimal percentage string (e.g. |
interest_bearerstring
|
Who bears the interest. When |
monthly_amountnumber
|
Amount the customer pays per month, in the smallest currency unit. Computed against the requested payment amount and interest bearer. |
total_amountnumber
|
Total amount across all installments, in the smallest currency unit. |
monthly_interest_amountnumber
|
Interest charged per month, in the smallest currency unit. |
total_interest_amountnumber
|
Total interest charged across all installments, in the smallest currency unit. |
currencystring
|
The three-letter ISO currency code for the amounts. |
bank_namestring
|
The name of the bank or provider offering this installment plan. |
NOT_FOUND
This error occurs when we cannot find the merchant account, installation, or card token with the IDs provided. Double check that you are using the correct IDs.
TOKEN_ALREADY_USED
This token has already been used to create a payment session. Each token can only be used once. Request a new token from tokenize-card.
UNHANDLED_ERROR
This error occurs when the server encounters an unexpected internal error that it cannot handle gracefully. This typically happens due to bugs, infrastructure issues, or edge cases that weren't anticipated during development.
INVALID_ARGUMENTS
This error occurs when the request contains invalid or missing parameters. Common cases include missing required fields, or values that don't match the expected format or type.
BAD_VERSION
This error occurs when making requests to an API version that is either deprecated or not yet released. This commonly happens when using an outdated SDK or when the API version specified in the request URL is incorrect.
