Mexico

Localpayment's API works 24/7/365, the payments are processed during business hours from 9am to 15pm GMT -3 when we have our cut-off. Requests done after the cut-off will be executed next business day

Create Payout Mexico

POST https://sandbox.localpayment.com/api/v2/payouts/payout

Array () [

*Key required

Headers

Request Body

[
    {
        "beneficiary_document_id": "",
        "bank_code": "156",
        "authenticate": false,
        "transaction_id": 308058,
        "payout_id": 51633,
        "status": "Received",
        "Ticket": "16401883590000",
        "submerchant_code": "PRUEBA BBVA",
        "sender_taxid": null,
        "sender_name": "SENDER",
        "sender_address": "ADDRESS",
        "sender_state": "STATE",
        "sender_country": "ARGENTINA",
        "sender_birthdate": null,
        "sender_email": null,
        "sender_phone_number": null,
        "sender_zip_code": null,
        "beneficiary_name": "BENEFICIARY",
        "bank_account_type": "C",
        "beneficiary_account_number": "XXXXXXXXXXXXXXXXXX",
        "beneficiary_address": "",
        "beneficiary_state": null,
        "beneficiary_country": null,
        "beneficiary_birth_date": null,
        "beneficiary_email": null,
        "beneficiary_phone_number": "0",
        "beneficiary_zip_code": null,
        "merchant_id": "1a231",
        "concept_code": "0001",
        "currency": "MXN",
        "payout_date": "20211222",
        "amount": 1000,
        "exchange_rate": 20568557,
        "ErrorRow": {
            "Errors": [],
            "HasError": false
        }
    }
]

Example: PayOut request

curl --location --request POST {{Api_URL}} \
--header 'Authorization: {{Token_Generated}} \
--header 'customer_id: {{Your_CustomerID}}' \
--header 'countryCode: MEX' \
--header 'Content-Type: application/json' \
--data-raw '[
     {
        "amount": 5000,
        "bank_account_type": "A",
        "beneficiary_account_number": "002180700070799802",
        "beneficiary_document_id": "MAMA831224NA1",
        "beneficiary_name": "Beneficiary Name",
        "concept_code": "0001",
        "currency": "MXN",
        "merchant_id": {{$timestamp}},
        "submerchant_code": "Submerchant code"
    }   
]

Last updated