Mexico
Example Billing Request and Response
Create a Billing request in Mexico
POST
https://api.stage.localpayment.com /api/billing
Create a payout order
Headers
Name | Type | Description |
---|---|---|
Authorization * | String | JWT token in format Bearer eyJ0... For more information about authentication, please refer to Authentication |
Request Body
Name | Type | Description |
---|---|---|
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. |
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) |
amount* | Number | For MXN transactions, the amount must be specified with 2 decimal places, separated by a dot. |
paymentMethod* | Object | Party Object |
paymentMethod.type* | String | Value "BankTransfer" |
paymentMethod.code* | String | Select among the codes available in each country for a payout 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 ( |
beneficiary* | Object | Party Object |
beneficiary.type* | String | Possible values: " |
beneficiary.name* | String |
|
beneficiary.lastName* | String | Only for |
beneficiary.document * | Object | Party Object |
beneficiary.document.type* | String | Document type (related to the beneficiary's residence). **Only optional for Mexico and Bolivia countries |
beneficiary.document.id* | String | Identity document id. Usually numbers or combination of numbers and letters (related to the beneficiary's residence). |
beneficiary.userReference | String | Username or id in your platform. |
beneficiary.email | String | Beneficiary's email address. |
beneficiary.phone | Object | Party Object |
beneficiary.phone.countryCode | String | Country code of the beneficiary's telephone number. |
beneficiary.phone.areaCo | String | Area code of the beneficiary's telephone number |
beneficiary.phone.number | String | Beneficiary's phone number |
beneficiary.birthdate | String | Individual birthdate / company incorporation date. ISO 8601 format (YYYY-MM-DD). |
beneficiary.nationality | String | Beneficiary's nationality |
beneficiary.address | Object | Party Object |
beneficiary.address.street | String | Beneficiary's street address |
beneficiary.address.number | String | Beneficiary's number address |
beneficiary.address.city | String | Beneficiary's city of residence |
beneficiary.address.state | String | Beneficiary's state of residence |
beneficiary.address.country | String | Beneficiary's country of residence |
beneficiary.address.zipCode | String | Beneficiary's Zip code / Postal code of residence. |
beneficiary.address.comment | String | Additional info, such as floor or apartment number. |
beneficiary.bank* | Object | Party Object |
beneficiary.bank.name | String | Account holder full name |
beneficiary.bank.code* | String | |
beneficiary.bank.account* | Object | Party Object |
sender.birthdate | String | Individual birthdate / company incorporation date. ISO 8601 format (YYYY-MM-DD). |
sender.phone.number | String | Sender's phone number |
sender.phone.area | String | Area code of the sender's telephone number |
sender.phone.country | String | Country code of the sender's telephone number. |
sender.phone | Object | |
sender.email | String | Sender's email address |
sender.userReference | String | Username or id in your platform. |
sender.document.id | String | Identity document Id. Usually numbers or combination of numbers and letters. |
sender.document.type | String | Document types. Can be an international document issued by the the sender's country. |
sender.document | Object | |
sender.lastName | String | Mandatory for individuals / Ignored for companies. |
sender.name | String | Individual first name / company name |
sender.type | String | Possible values: " |
sender | Object | Party Object |
beneficiary.bank.account.type* | String | |
beneficiary.bank.account.number* | String | Beneficiary's account number |
merchant.phone.area | String | Area code of the merchant's telephone number |
merchant.phone.country | String | Country code of the sender's telephone number. |
merchant.phone | Object | Party Object. |
merchant.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.type | String | Document type (related to the merchant's residence) |
merchant.document | Object | Party Object. |
merchant.lastName | String | Mandatory only for |
merchant.name* | String | Individual first name / company name |
merchant.type* | String | Possible values: " |
merchant* | Object | Party Object. |
sender.address.comment | String | Additional info, such as floor or apartment number. |
sender.address.zipcode | String | Sender's zip code of residence |
sender.address.city | String | Sender's city of residence |
sender.address.number | String | Sender's number address |
sender.address.street | String | Sender's street address |
sender.address | Object | Party Object. |
sender.nationality | string | Sender's nationality |
merchant.email | String | Merchant's email address |
merchant.address.comment | String | Additional info, such as floor or apartment number. |
merchant.phone.number | String | Merchant's phone number |
merchant.address.zipcode | String | Merchant's zip code of residence |
merchant.address.street | String | Merchant's street address |
merchant.address | Object | Party Object. |
merchant.nationality | String | Merchant's nationality |
merchant.birthdate | String | Individual birthdate / company incorporation date. ISO 8601 format (YYYY-MM-DD). |
beneficiary.document.type | String | Type of beneficiary document |
comment | String | Add any relevant informaction |
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). |
accountNumber* | String | Your Localpayment account number in which the amount will be debited. |
merchant.address.country | String | Merchant's country of residence |
merchant.address.state | String | Merchant's state of residence |
merchant.address.city | String | Merchant's city of residence |
merchant.address.number | String | Merchant's number address |
Last updated