Incoming Wire In Notification

Notify Localpayment of an incoming wire transfer using our API to settle your account balance. This guide walks you through initiating a notification, handling API responses, and tracking the transaction status.

For transactions in Fiat currency (e.g., USD, ARS, MXN), you are required to notify us of the incoming wire. This can be accomplished via:

⚠️

Important

The Wire In notification process is not used for Stablecoins. Instead, please follow the Stablecoin Wire In flow.

This guide covers the API workflow end to end, from notification to final settlement.


Before You Begin

Before notifying a Wire In, ensure you have:

  • Wire transfer receipt: Proof of the external transfer.
  • Valid API credentials: With proper authorization permissions.
  • Complete transaction details: All required transaction information.

API Endpoint

To notify a settlement, send a POST request to the Create Wire In endpoint.

Endpoint

POST https://api.stage.localpayment.com/api/account/wire-in

Authentication

Include your access token in the Authorization header:

Authorization: Bearer <your_access_token>

Key Request Parameters

The request requires several key parameters:

ParameterTypeDescriptionRequired
transactionTypestringMust be set to "WireIn"
currencystringCurrency code (e.g., "ARS", "USD")
countrystringCountry code (e.g., "ARG", "USA")
amountnumberTransfer amount
accountNumberstringYour Localpayment account number
toobjectRecipient bank details
fromobjectSender bank details

Example Request (Argentina)

curl --request POST \
  --url https://api.stage.localpayment.com/api/account/wire-in \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer 123' \
  --header 'Content-Type: multipart/form-data' \
  --form 'request={\"transactionType\":\"WireIn\",\"currency\":\"BOB\",\"country\":\"BOL\",\"amount\":100,\"comment\":\"Comment\",\"externalId\":\"a11h7890-78ju-098j-hu78-124ftn8lo0io\",\"accountNumber\":\"068.068.00000183\",\"to\":{\"name\":\"Bankname\",\"swift\":\"BCBHDOSD\",\"address\":\"BankAddress\",\"accountNumber\":\"1310825187\",\"accountName\":\"BeneficiaryBankName\",\"beneficiaryAddress\":\"BeneficiaryAddress\"},\"from\":{\"name\":\"OrderingBankName\",\"swift\":\"BICAARBS\",\"address\":\"OrderingBankAddress\",\"accountNumber\":\"123456789\",\"routingNumber\":null,\"accountName\":\"accountName\",\"beneficiaryAddress\":\"BeneficiaryAddress\",\"intermediaryBankName\":null,\"intermediaryBankSwift\":null,\"intermediaryAccountNumer\":null}}' \
  --form [email protected]

Response Handling

Success Response

When your Wire In request is accepted, you'll receive a detailed response:

{
    "transactionType": "WireIn",
    "transactionFlow": "wireInAutomatic",
    "externalId": "a11h7890-78ju-098j-hu78-124ftn8lo0io",
    "internalId": "b97fe1cd-50d3-4ee2-8a6e-34ee6d7e4f4e",
    "country": "BOL",
    "currency": "BOB",
    "clientCode": "0001",
    "creationDate": "2025-12-04T21:07:41.689+00:00",
    "errors": [],
    "status": {
        "code": "101",
        "description": "PENDING_AUTH",
        "detail": "Pending Auth"
    },
    "accountNumber": "068.068.00000183",
    "amount": 97.32,
    "fees": {
        "description": "Fee",
        "currency": "BOB",
        "amount": 0.5,
        "account": "068.068.00000183"
    },
    "localTaxes": [
        {
            "code": "0016",
            "percentage": 2.18,
            "description": "FNA",
            "currency": "BOB",
            "fxSource": 6.911493,
            "fxQuote": 0.0,
            "amount": 2.18,
            "account": "068.068.00000183"
        }
    ],
    "withHoldings": [],
    "comment": "Comment",
    "code": "101"
}

Key Response Fields

FieldTypeDescription
externalIdstringYour unique transaction identifier
internalIdstringLocalpayment's internal transaction ID
creationDatestringTransaction creation timestamp (ISO 8601)
amountnumberNet amount after fees
feesobjectApplied processing fees
statusobjectCurrent transaction status information

Error Response

Validation Error Example

{
  "externalId": "089c81c6-7be2-4798-8e53-d4bfff61f852",
  "errors": [
    {
      "code": "404",
      "detail": "This beneficiary account is invalid"
    }
  ],
  "status": {
    "code": "404", 
    "description": "REJECTED",
    "detail": "This beneficiary account is invalid"
  }
}

Track Transaction Status

After submitting a wire in, monitor its progress through these methods:

Common Status Codes

CodeStatusDescription
100PendingCreditPending Credit
200CompletedCompleted
717RejectedByBankRejected
🗒️

Complete Reference

View all status codes in our Transaction Status Documentation.

Security Recommendations

  • Always use HTTPS for API requests
  • Store access tokens securely (never in client-side code)
  • Implement proper error handling and logging
  • Validate all input data before sending requests

Resources & Next Steps

Maximize your integration success with these essential resources


Pro Tip

Always test your workflow in our sandbox environment before deploying to production. This ensures your error handling, webhook processing, and status tracking work correctly across all scenarios.


🎧

Need Help?

Contact our support team if you experience any issues or need assistance for integration.