Skip to main content
POST
This endpoint initiates a Payin transaction, allowing you to collect payments from customers using various payment methods. You can specify details such as the payment method, amount, currency, and customer information. The response will include a transaction ID and status, which can be used to track the payment.
Want to lock an exchange rate before executing the transaction?Use the Currency Exchange Quote API to generate a rate quote for the currency pair. The response includes an exchangeRateToken pass it in your payin request to lock in that rate. The quoted rate is guaranteed until the token’s expirationDate, protecting both you and your user from market fluctuations.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer access token for authentication. This token is obtained from the Get Access Token or Refresh Access Token endpoints.

x-capture
boolean

Send true to generate an authorization.

Body

application/json
paymentMethod
object
required

Payment method details.

externalId
string
required

A unique identifier generated by your system to track the transaction (alphanumeric and hyphens). We recommend using UUID4 to ensure uniqueness.

country
string
required

Country. ISO 3166-1 alpha-3.

currency
enum<string>
required

Currency codes. The currency of the amount can be the local currency (charged directly) or the account's currency (triggering a Foreign Exchange operation), with paymentMethod.code resolving ambiguity in bimonetary countries.

Available options:
ARS,
BOB,
BRL,
CLP,
COP,
CRC,
DOP,
USD,
GTQ,
MXN,
PYG,
PEN
amount
number
required

Transaction amount.

Example:

2500.25

accountNumber
string
required

The LocalPayment account number where the specified amount will be credited.

conceptCode
string
required
Example:

"0001"

merchant
object
required

Information about the merchant initiating the transaction.

payer
object
required

Information about the payer making the transaction.

commercialData
object
required

Contains commercial details about the transaction.

card
object
required

Required for credit and debit card payment methods.

comment
string

Additional information to identify the transaction on your side.

intermediaries
object[]

Additional information from other parties involved in the payment process.

metaData
object

Contains additional information about the transaction.

transactionType
any

Transaction type.

clientCode
string

Client code.

userReference
string

Your client's username. For example, email or username on your platform.

requireAuth
boolean

Indicates whether the transaction requires authentication.

file
boolean

Indicates whether the transaction involves a file upload.

exchangeRateToken
string

Token provided by the Foreign Exchange service in order to use an upfront agreed exchange rate.

device
object

Contains information about the device used to initiate the transaction.

redirectUrl
object

Define URLs for authentication scenarios using 3DS.

Response

OK

transactionType
any

Transaction type.

externalId
string

A unique identifier generated by your system to track the transaction (alphanumeric and hyphens). We recommend using UUID4 to ensure uniqueness.

internalId
string

Localpayment transaction identifier.

paymentMethod
object

Payment methods for payin.

country
string

Country. ISO 3166-1 alpha-3.

currency
enum<string>
Available options:
ARS,
BOB,
BRL,
CLP,
COP,
CRC,
DOP,
USD,
GTQ,
MXN,
PYG,
PEN,
UYU
amount
number

Transaction amount.

accountNumber
string

Localpayment account number.

confirmed
object

Confirmed amount.

payment
object

Details about the payment made.

localTaxes
object[]

Local taxes information.

withHoldings
object[]

Withholdings information.

fees
object

Details about any fees charged.

status
status · object

Operation status.

merchant
object

Merchant information.

payer
object

Information about the payer who made the payment.

intermediaries
object[]

Information about any intermediaries involved in the transaction.

wireInstructions
object

Bank details for the wire transfer.

date
object

Dates associated with the transaction.

errors
object[]

List of errors that occurred during the transaction.

redirectUrl
string

If required, this property provides a URL where the user will be redirected to complete the payment process.

ticket
object | null

Information about a ticket associated with the transaction (if applicable).

qr
object | null

Information about a QR code associated with the transaction (if applicable).

card
string | null

Card details.

code
string

Status of the redirect.

transactionFlow
string

Flow of the transaction.

createdOn
string

Date and time when the transaction was created, in ISO 8601 format.

createdBy
string

The email address of the user who created the transaction.

executionData
object
Last modified on November 10, 2026