> ## Documentation Index
> Fetch the complete documentation index at: https://docs.localpayment.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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:

* **[API Integration](https://docs.localpayment.com/reference/wire-in.md)**: Recommended for automated, programmatic notification.
* **[Localpayment Business Portal](https://docs.localpayment.com/docs/dashboard-create-a-wire-in.md)**:  Use the web interface for manual notification of individual transactions.

> [!WARNING]
>
> **Important**
>
> The Wire In notification process is not used for **Stablecoins**. Instead, please follow the [Stablecoin Wire In flow](https://docs.localpayment.com/docs/wire-in-overview).

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](https://docs.localpayment.com/reference/wire-in.md) endpoint.

### Endpoint

```http theme={"theme":{"light":"github-light-high-contrast","dark":"github-dark-high-contrast"}}
POST https://api.stage.localpayment.com/api/account/wire-in
```

### Authentication

Include your access token in the Authorization header:

```http theme={"theme":{"light":"github-light-high-contrast","dark":"github-dark-high-contrast"}}
Authorization: Bearer <your_access_token>
```

### Key Request Parameters

The request requires several key parameters:

| Parameter | Type | Description | Required |
| - | - | - | - |
| `transactionType` | string | Must be set to "WireIn" | ✅ |
| `currency` | string | Currency code (e.g., "ARS", "USD") | ✅ |
| `country` | string | Country code (e.g., "ARG", "USA") | ✅ |
| `amount` | number | Transfer amount | ✅ |
| `accountNumber` | string | Your Localpayment account number | ✅ |
| `to` | object | Recipient bank details | ✅ |
| `from` | object | Sender bank details | ✅ |

### Example Request (Argentina)

```bash curl theme={"theme":{"light":"github-light-high-contrast","dark":"github-dark-high-contrast"}}
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\":\"{{accountNumber}}\",\"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 filecontent=@CO.png
```

***

## Response Handling

### Success Response

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

```json theme={"theme":{"light":"github-light-high-contrast","dark":"github-dark-high-contrast"}}
{
    "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": "{{accountNumber}}",
    "amount": 97.32,
    "fees": {
        "description": "Fee",
        "currency": "BOB",
        "amount": 0.5,
        "account": "{{accountNumber}}"
    },
    "localTaxes": [
        {
            "code": "0016",
            "percentage": 2.18,
            "description": "FNA",
            "currency": "BOB",
            "fxSource": 6.911493,
            "fxQuote": 0.0,
            "amount": 2.18,
            "account": "{{accountNumber}}"
        }
    ],
    "withHoldings": [],
    "comment": "Comment",
    "code": "101"
}
```

#### Key Response Fields

| Field | Type | Description |
| - | - | - |
| `externalId` | string | Your unique transaction identifier |
| `internalId` | string | Localpayment's internal transaction ID |
| `creationDate` | string | Transaction creation timestamp (ISO 8601) |
| `amount` | number | Net amount after fees |
| `fees` | object | Applied processing fees |
| `status` | object | Current transaction status information |

### Error Response

#### Validation Error Example

```json theme={"theme":{"light":"github-light-high-contrast","dark":"github-dark-high-contrast"}}
{
  "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:

> [card] [Webhooks (Recommended)](https://docs.localpayment.com/docs/webhooks.md)
>
> Receive real-time notifications when transaction status changes. Most efficient for production environments.

> [card] [Status API Endpoint](https://docs.localpayment.com/reference/get-transaction-status.md)
>
> Query transaction status programmatically. Useful for polling or recovering lost webhook notifications.

> [card] [Business Portal View](https://docs.localpayment.com/docs/dashboard-overview.md)
>
> Visual interface for monitoring transactions. Great for manual oversight and detailed transaction analysis.

### Common Status Codes

| Code | Status | Description |
| :- | :- | :- |
| `100` | `PendingCredit` | Pending Credit |
| `200` | `Completed` | Completed |
| `717` | `RejectedByBank` | Rejected |

> [!NOTE]
>
> **Complete Reference**
>
> View all status codes in our [Transaction Status Documentation](https://docs.localpayment.com/reference/transaction-status-error-codes).

### 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

> [card] [Webhook Integration](https://docs.localpayment.com/docs/webhooks.md)
>
> Set up real-time notifications for transaction status updates.

> [card] [Reporting Business Portal](https://docs.localpayment.com/docs/balance-report.md)
>
> Access detailed analytics, reporting tools, and reconciliation features.

> [card] [Transaction Monitoring](https://docs.localpayment.com/reference/transaction-status-error-codes)
>
> Learn to query transaction status and implement comprehensive tracking.

> [card] [API Reference](https://docs.localpayment.com/reference/exchange-bulk.md)
>
> Complete endpoint documentation with interactive examples.

> [!NOTE]
>
> **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.

***

> [!NOTE]
>
> **Need Help?**
>
> Contact our [support team](mailto:support@localpayment.com) if you experience any issues or need assistance for integration.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.