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

# Create Wire In

Receive funds from an external bank account directly into your Localpayment account via wire transfer. This endpoint is ideal for accepting payments from customers or partners using traditional banking.

Upon submission, you will receive a unique `internalId` to track the transaction. Use this identifier to monitor the transfer until the funds are successfully credited to your account.


## OpenAPI

````yaml openapi/localpayment.json POST /api/account/wire-in
openapi: 3.1.0
info:
  version: '1.0'
  title: Localpayment
  contact:
    name: Support
    url: mailto:support@localpayment.com
servers:
  - url: https://api.stage.localpayment.com
    description: Stage
security:
  - token: []
paths:
  /api/account/wire-in:
    post:
      summary: Create Wire In
      operationId: wire-in
      parameters:
        - name: Authorization
          in: header
          description: >-
            Bearer access token for authentication. This token is obtained from
            the [Get Access Token](/reference/get-token) or [Refresh Access
            Token](/reference/refresh-token) endpoints.
          required: true
          schema:
            type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                request:
                  type: string
                  description: "| Name                      | Type   | Required  | Description                                                                                                                                      |\r\n| ------------------------- | ------ | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |\r\n| transactionType           | String | Mandatory | Transaction Type (WireIn).                                                                                                                       |\r\n| currency                  | String | Mandatory | [Currency codes.](https://docs.localpayment.com/docs/global-coverage)                                                  |\r\n| country                   | String | Mandatory | [Document country.](https://docs.localpayment.com/docs/global-coverage) ISO 3166-1 alpha-3.                            |\r\n| amount                    | String | Mandatory | Transaction amount.                                                                                                                              |\r\n| comment                   | String | Optional  | An additional comment or description associated with the transaction.                                                                            |\r\n| externalId                | String | Mandatory | A unique identifier generated by your system to track the transaction (alphanumeric and hyphens). We recommend using UUID4 to ensure uniqueness. |\r\n| accountNumber             | String | Mandatory | Localpayment account number.                                                                                                                     |\r\n| to                        | Object | Mandatory | Beneficiary data.                                                                                                                                |\r\n| to.name                   | String | Mandatory | Beneficiary name.                                                                                                                                |\r\n| to.swift                  | String | Mandatory | Bank identification code most used to make international money transfers.                                                                        |\r\n| to.address                | String | Mandatory | Bank address.                                                                                                                                    |\r\n| to.accountNumber          | String | Mandatory | Localpayment account number.                                                                                                                     |\r\n| to.accountName            | String | Mandatory | Beneficiary owner name.                                                                                                                          |\r\n| to.beneficiaryAddress     | String | Mandatory | Account holder's address.                                                                                                                        |\r\n| from                      | Object | Mandatory | Details of the ordering bank.                                                                                                                    |\r\n| from.name                 | String | Mandatory | Ordering bank name.                                                                                                                              |\r\n| from.swift                | String | Mandatory | Ordering bank identification code to make international money transfers.                                                                         |\r\n| from.address              | String | Mandatory | Ordering bank address.                                                                                                                           |\r\n| from.accountNumber        | String | Mandatory | Localpayment account number.                                                                                                                     |\r\n| from.routingNumber        | String | Optional  | Transaction identifier code to indicate the banking entities of origin and destination of transfers in the United States.                        |\r\n| from.accountName          | String | Mandatory | The name associated with the ordering bank account.                                                                                              |\r\n| from.beneficiaryAddress   | String | Mandatory | The address of the ordering party.                                                                                                               |\r\n| intermediaryAccountNumber | String | Optional  | The account number at the intermediary bank (if any)                                                                                             |\r\n| intermediaryBankSwift     | String | Optional  | The SWIFT code of the intermediary bank (if any).                                                                                                |\r\n| intermediaryBankName      | String | Optional  | The name of the intermediary bank (if any).                                                                                                      |\r\n\r\n"
                  examples:
                    - >-
                      {"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}}
                filecontent:
                  type: string
                  description: "Transaction receipt\r\n"
                  contentMediaType: application/octet-stream
              required:
                - request
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  transactionType:
                    type: string
                    description: The type of transaction being processed.
                  externalId:
                    type: string
                    description: >-
                      A unique identifier generated by your system to track the
                      transaction (alphanumeric and hyphens). We recommend using
                      UUID4 to ensure uniqueness.
                  internalId:
                    type: string
                    description: Localpayment transaction identifier.
                  country:
                    type: string
                    enum:
                      - ARG
                      - BOL
                      - BRA
                      - CHL
                      - COL
                      - CRI
                      - DOM
                      - ECU
                      - SLV
                      - GTM
                      - HND
                      - MEX
                      - PAN
                      - PRY
                      - PER
                      - URY
                    description: >-
                      [Document country](/reference/country-codes). ISO 3166-1
                      alpha-3.
                  currency:
                    type: string
                    enum:
                      - ARS
                      - BOB
                      - BRL
                      - CLP
                      - COP
                      - CRC
                      - DOP
                      - USD
                      - GTQ
                      - MXN
                      - PYG
                      - PEN
                      - UYU
                    description: '[Currency codes](/reference/currency-codes).'
                  clientCode:
                    type: string
                    description: >-
                      A unique identifier assigned to the client within the
                      LocalPayment system.
                  creationDate:
                    type: string
                    description: >-
                      The date and time when the transaction was created, in ISO
                      8601 format.
                  errors:
                    type: array
                    description: >-
                      An array of error objects, if any errors occurred during
                      the transaction.
                    items:
                      type: object
                  status:
                    type: object
                    description: >-
                      Object that provides the current status of the
                      transaction.
                    properties:
                      code:
                        type: string
                        description: >-
                          A code representing the current [status of the
                          transaction](/reference/transaction-status-error-codes).
                      description:
                        type: string
                        description: >-
                          A brief description of the [Transaction
                          status](/reference/transaction-status-error-codes).
                      detail:
                        type: string
                        description: Additional details about the transaction status.
                  accountNumber:
                    type: string
                    description: Localpayment account number.
                  amount:
                    type: number
                    description: Transaction amount.
                  fees:
                    type: object
                    description: Details about any fees charged.
                    properties:
                      description:
                        type: string
                        description: A description of the fee applied to the transaction.
                      currency:
                        type: string
                        description: '[Currency codes](/reference/currency-codes).'
                      amount:
                        type: number
                        description: The amount of the fee applied to the transaction.
                      account:
                        type: string
                        description: The account number to which the fee is applied.
                  localTaxes:
                    type: array
                    description: >-
                      A list of local taxes applied to the transaction. If
                      empty, no taxes were applied.
                    items:
                      type: object
                  withHoldings:
                    type: array
                    description: >-
                      A list of withholdings applied to the transaction. If
                      empty, no withholdings were applied.
                    items:
                      type: object
                  comment:
                    type: string
                    description: A comment or note associated with the transaction.
                x-examples:
                  Example 1:
                    transactionType: WireIn
                    externalId: External15
                    internalId: 0f1d47dc-e9c6-4fdf-8ba1-c9b29916574d
                    country: ARG
                    currency: ARS
                    clientCode: '0001'
                    creationDate: '2024-02-28T13:47:58.808+00:00'
                    errors: []
                    status:
                      code: '100'
                      description: PENDING_CREDIT
                      detail: WIRE IN
                    accountNumber: '{{accountNumber}}'
                    amount: 49500
                    fees:
                      description: Fee
                      currency: ARS
                      amount: 500
                      account: '{{accountNumber}}'
                    localTaxes: []
                    withHoldings: []
                    comment: Ducupublica
              examples:
                101 - Wire In Example Response:
                  value:
                    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
                        amount: 2.18
                        account: '{{accountNumber}}'
                    withHoldings: []
                    comment: Comment
                    code: '101'
        '400':
          description: Bad Request.
          content:
            application/json:
              schema:
                type: object
                properties:
                  externalId:
                    type: string
                    description: >-
                      A unique identifier generated by your system to track the
                      transaction (alphanumeric and hyphens). We recommend using
                      UUID4 to ensure uniqueness.
                  errors:
                    type: array
                    description: >-
                      An array of error objects, if any errors occurred during
                      the transaction.
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          description: Error code.
                        detail:
                          type: string
                          description: Error details.
                  status:
                    type: object
                    description: >-
                      Object that provides the current status of the
                      transaction.
                    properties:
                      code:
                        type: string
                        description: >-
                          A code representing the current [status of the
                          transaction.](/reference/transaction-status-error-codes)
                      description:
                        type: string
                        description: >-
                          A brief description of the [Transaction
                          status](/reference/transaction-status-error-codes).
                      detail:
                        type: string
                        description: Additional details about the transaction status.
                x-examples:
                  Example 1:
                    externalId: e84657e9-65d8-4de5-afbb-f62cc14f30b7
                    errors:
                      - code: '812'
                        detail: External Id already used - duplication
                    status:
                      code: '812'
                      description: REJECTED
                      detail: External Id already used - duplication
              examples:
                500 - Error master service.:
                  value:
                    status:
                      code: '500'
                    timestamp: '2025-01-10 16:22:20.569138644'
                    code: '500'
                    description: Error master service
                812 - External Id already used - duplication.:
                  value:
                    externalId: e84657e9-65d8-4de5-afbb-f62cc14f30b7
                    errors:
                      - code: '812'
                        detail: External Id already used - duplication
                    status:
                      code: '812'
                      description: REJECTED
                      detail: External Id already used - duplication
                404 - This beneficiary account is invalid.:
                  value:
                    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
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                    description: Additional information of the response.
                  code:
                    type: string
                    description: Status code.
                  messages:
                    type: array
                    description: Message list.
                    items:
                      type: object
                      properties:
                        token_class:
                          type: string
                          description: Token class.
                        token_type:
                          type: string
                          description: Token type.
                        message:
                          type: string
                          description: Message with additional information.
                x-examples:
                  Example 1:
                    detail: Given token not valid for any token type
                    code: token_not_valid
                    messages:
                      - token_class: AccessToken
                        token_type: access
                        message: Token is invalid or expired
              examples:
                401 - Token is invalid or expired:
                  value:
                    detail: Given token not valid for any token type
                    code: token_not_valid
                    messages:
                      - token_class: AccessToken
                        token_type: access
                        message: Token is invalid or expired
      security:
        - token: []
      servers:
        - url: https://api.stage.localpayment.com
          description: Stage
components:
  securitySchemes:
    token:
      type: http
      scheme: bearer

````

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