Authenticate (2 step)

Change the status of your OnHold Transactions to received

Authenticate

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

Headers

Name
Type
Description

Content-Type*

String

Default: application/json

Content Type

Authorization*

String

Authorization

customer_id*

String

<= 12

Customer id

countryCode

String

Enum: "ARG" "COL" "URY" "BRA" "MEX" "CHL"

Country Code

Request Body

Name
Type
Description

Array ()

String

A merchants_id list of the transactions to authorize

[
    {
        "payout_id": 51642,
        "customer_name": "Customer Argentina",
        "transaction_type": "PAYOUT",
        "status": "Received",
        "lot_date": "20211222",
        "gross_amount": 990,
        "net_amount": 990,
        "transaction_list": [
            {
                "transaction_id": 308067,
                "type_of_id": "CUIT",
                "beneficiary_cuit": "xxxxxxxxx",
                "beneficiary_name": "beneficiaryname",
                "bank_account_type": "A",
                "bank_account": "190167665",
                "bank_cbu": "xxxxxxxxxxxxxxxxxxxx",
                "amount": 990,
                "transaction_date": "20211222",
                "merchant_id": "20253107763128177113",
                "concept_code": "0036",
                "currency": "ARS",
                "status": "Received",
                "status_detail": "The payout was received and will be processed",
                "withholding_tax_afip": 0,
                "withholding_tax_agip": 0,
                "withholding_tax_arba": 0,
                "exchange_rate": 101256309,
                "submerchant_code": "merchant_test",
                "sender_name": "sendername",
                "sender_address": "senderaddress",
                "sender_state": "senderstate",
                "sender_country": "sendercountry",
                "sender_taxid": "123456789",
                "sender_birthdate": null,
                "sender_email": null,
                "sender_phone_number": null,
                "beneficiary_phone_number": null
            }
        ]
    }
]

This function is OPTIONAL, only need for clients that would like to request payouts in 2 steps.

  1. Request first step the payout with Authenticate = true -> payout starts with status ONHOLD

  2. Request second step using this endpoint to change the status from ONHOLD to RECEIVED so the payout gets unlocked

Last updated