Installments
Service to quote an installment plan
Installments
POST
https://api.stage.localpayment.com/api/payin/installments-plan
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Mandatory. JWT token in format |
Request Body
Name | Type | Description |
---|---|---|
paymentMethod* | object | Mandatory. Only allows |
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 |
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. |
Example: Installment request
The installmentsToken that brings the response will have a 10 minutes duration.
Example: Installment response
Last updated