Installments Plan Quote
Use this server in order to quote an installment plan
Last updated
Use this server in order to quote an installment plan
Last updated
POST
https://api.stage.localpayment.com/api/installments-plans
Quote an installment plan for a credit card payment order
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
The installmentsToken that brings the response will have a 10 minutes duration.
Authorization*
string
Mandatory. JWT token in format Bearer eyJ0...
. For more information about authentication, please refer to Authentication
paymentMethod*
object
Mandatory. Only allowsCreditCard
payment method.
paymentMethod.code*
string
Mandatory. Payment method code, which determines payment method type and brand (credit card issuer). Please take a look at available payment methods and their codes in the corresponding section. Note that only CreditCard
codes are allowed.
country*
string
Mandatory. Your end user's country (i.e. country in which the payment will be processed), in ISO format. Please refer to Country Codes for a full list of supported countries.
amount*
number
Mandatory. Amount to charge to your end user.
currency*
string
Mandatory. The currency in which the amount is expressed. It could be A) the local currency of the selected country or B) the account's currency. If A), the amount will be charged to the customer's cash payment method. If B) and it differs from the local currency, the amount specified will be credited to your account and Localpayment will perform a Foreign Exchange operation to collect the amount expressed in local currency. In bimonetary countries, paymentMethod.code resolves possible ambiguity: the payment will be executed in the currency of that specific payment method network. e.i.: SPID (USD); SPEI (MXN)
accountNumber*
string
Mandatory. Your Localpayment account number in which the amount will be credited.