Create
Localpayment's API works 24/7/365, to review our payment execution times and notification times please review our SLA page:
Create Payout
POST
https://api.stage.localpayment.com /api/payout
Create a payout order
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | JWT token in format |
Request Body
Name | Type | Description |
---|---|---|
paymentMethod* | OBJECT | Party Object |
paymentMethod.type* | string | Value "BankTransfer" |
paymentMethod.code* | string | Select among the codes available in each country for a payin BankTransfer payment type. NOTE: payment method code might affect the collection currency in bimonetary countries. For more info, see the side note on |
paymentMethod.flow* | string | The payment method data could be embeded in the API request ( |
externalId* | string | An ID that is meaningful to you and your system. Must be unique. |
country* | string | 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 | The amount of the transaction must be complete with integers and decimals, separated by dot. |
currency* | string | 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 | Your Localpayment account number in which the amount will be debited. |
conceptCode* | string | Choose the suitable concept code from our Concept Code List. Based on our experience, the most usual are 0039 (remittances) and 0040 (corporate payments). |
sender | OBJECT | Party Object. |
sender.type | string | Possible values: " |
sender.name | string | Individual first name / company name |
sender.lastName | string | Mandatory for individuals / Ignored for companies. |
sender.document | OBJECT | |
sender.document.type | string | Document types. Can be an international document issued by the the sender's country |
sender.document.id | string | Identity document Id. Usually numbers or combination of numbers and letters. |
merchant.lastName | string | Mandatory only for |
merchant.name* | string | Individual first name / company name |
merchant* | OBJECT | Party Object. |
merchant.type* | string | Possible values: " |
merchant.document.type | string | Document type (related to the merchant's residence) |
beneficiary.phone.countryCode | string | Country code of the beneficiary's telephone number. |
beneficiary.phone | OBJECT | Party Object. |
merchant.email | string | Merchant's email address |
beneficiary.userReference | string | Username or id in your platform. |
merchant.document.id | string | Optional. Identity document id. Usually numbers or combination of numbers and letters. |
merchant.document | OBJECT | Party Object. |
beneficiary.address | OBJECT | Party Object. |
beneficiary.nationality | string | Beneficiary's nationality |
beneficiary.birthdate | string | Individual birthdate / company incorporation date. ISO 8601 format (YYYY-MM-DD). |
beneficiary.phone.number | string | Beneficiary's phone number |
beneficiary.phone.areaCode | string | Area code of the beneficiary's telephone number |
beneficiary.address.comment | string | Additional info, such as floor or apartment number. |
beneficiary.address.city | string | Beneficiary's city of residence |
beneficiary.address.number | string | Beneficiary's number address |
beneficiary.address.street | string | Beneficiary's street address |
beneficiary.address.zipCode | string | Beneficiary's Zip code / Postal code of residence. |
beneficiary.address.country | string | Beneficiary's country of residence |
beneficiary.address.state | string | Beneficiary's state of residence |
beneficiary.bank* | OBJECT | Party Object |
beneficiary.bank.name | string | Account holder full name. |
beneficiary.bank.branch.code* | string | Branch code. Only Brazil. |
beneficiary.bank.branch* | OBJECT | Only mandatory for Brazilian bank accounts. Branch information. Party Object. |
beneficiary.bank.code* | string | |
beneficiary.bank.account* | OBJECT | Party Object. |
beneficiary.bank.branch.name* | string | Branch name. Only Brazil. |
beneficiary.bank.account.type* | string | |
beneficiary.bank.account.number* | string | Beneficiary's account number |
beneficiary* | OBJECT | Party Object |
beneficiary.type* | string | Possible values: " |
beneficiary.name* | string |
|
beneficiary.lastName* | string | Only for |
beneficiary.document * | OBJECT | Party Object. |
beneficiary.document.id* | string | Identity document id. Usually numbers or combination of numbers and letters (related to the beneficiary's residence). |
beneficiary.document.type* | string | Document type (related to the beneficiary's residence). **Only optional for Mexico and Bolivia countries |
beneficiary.email | string | Beneficiary's email address. |
comment | string | Add any relevant informaction |
sender.email | string | Sender's email address |
sender.phone | OBJECT | Party Object. |
sender.phone.country | string | Country code of the sender's telephone number. |
sender.phone.area | string | Area code of the sender's telephone number |
sender.phone.number | string | Sender's phone number |
sender.address.street | string | Sender's street address |
merchant.phone.country | string | Country code of the sender's telephone number. |
merchant.phone | OBJECT | Party Object. |
merchant.phone.area | string | Area code of the merchant's telephone number |
merchant.phone.number | string | Merchant's phone number |
sender.birthdate | string | Individual birthdate / company incorporation date. ISO 8601 format (YYYY-MM-DD). |
merchant.birthdate | string | Individual birthdate / company incorporation date. ISO 8601 format (YYYY-MM-DD). |
merchant.nationality | string | Merchant's nationality |
sender.nationality | string | Sender's nationality |
sender.address | OBJECT | Party Object. |
merchant.address | OBJECT | Party Object. |
merchant.address.street | string | Merchant's street address |
merchant.address.number | sring | Merchant's number address |
sender.address.number | string | Sender's number address |
sender.address.city | string | Sender's city of residence |
merchant.address.city | string | Merchant's city of residence |
merchant.address.state | string | Merchant's state of residence |
merchant.address.country | string | Merchant's country of residence |
merchant.address.zipcode | string | Merchant's zip code of residence |
sender.userReference | string | Username or id in your platform. |
merchant.userReference | string | Username or id in your platform. |
sender.address.comment | string | Additional info, such as floor or apartment number. |
sender.address.zipcode | string | Sender's zip code of residence |
merchant.address.comment | string | Additional info, such as floor or apartment number. |
beneficiary.document.type | String | ** |
requireAuth | Boolean | Value is always false or must not be sent to maintain current functionality. |
Last updated