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

# Create a wire transfer

> Send USD to a saved US bank account by domestic wire.

<Note>
  Requires a source IP on the legal entity's enabled IP allowlist.
</Note>

Read [Sending wires](/docs/v2/money-movement/wires/sending) for setup,
examples, and lifecycle guidance.


## OpenAPI

````yaml /openapi-v2.json post /v2/transfers/wire
openapi: 3.1.0
info:
  title: Slash Public API V2
  description: >-
    Send money for a Slash legal entity. Every request uses an API key. Transfer
    creation returns a Transfer that links its resulting transactions.
  version: 0.0.1
servers:
  - url: https://api.slash.com
    description: production
security:
  - api_key: []
paths:
  /v2/transfers/wire:
    parameters:
      - name: x-legal-entity
        in: header
        required: true
        description: >-
          The legal entity to act on. Required on every request; a user API key
          can act on any legal entity its user has access to.
        schema:
          type: string
          pattern: ^le_[a-zA-Z0-9]+$
    post:
      summary: Create a wire transfer
      description: Send USD to a saved US bank account by domestic wire.
      parameters:
        - name: X-Idempotency-Key
          in: header
          required: true
          description: >-
            Unique caller-generated key for one create request. Once an
            authenticated, schema-valid request reaches the operation, the key
            is permanently consumed for that operation and legal entity whether
            the operation succeeds or fails. Reusing it in that scope returns
            `409` and never replays a response, unlike API v1, which replays the
            original response for a matching key.
          schema:
            type: string
            minLength: 1
            maxLength: 255
          example: invoice-1042-attempt-1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/transfer-create-wire'
            example:
              amount:
                amount: 1250
                currency: USD
              fromAccount: subaccount_source123
              destinationId: le_contact_destination_bank123
              description: Invoice 1042
      responses:
        '200':
          description: The created wire transfer.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/transfer-wire'
        '400':
          $ref: >-
            #/components/responses/PublicApiV2Error400InvalidRequestInvalidRequestShapeTransfersCreate
        '401':
          $ref: '#/components/responses/PublicApiV2Error401Unauthorized'
        '403':
          $ref: >-
            #/components/responses/PublicApiV2Error403ForbiddenTransferIpAllowlistRequiredForbiddenLegalEntityUserApiKeyRequired
        '404':
          $ref: '#/components/responses/PublicApiV2Error404NotFoundNotFoundNotEnabled'
        '409':
          $ref: >-
            #/components/responses/PublicApiV2Error409ConflictInsufficientFundsConflictIdempotencyKeyReused
        '429':
          $ref: '#/components/responses/PublicApiV2RateLimited'
        '500':
          $ref: '#/components/responses/PublicApiV2Error500Internal'
components:
  schemas:
    transfer-create-wire:
      title: TransferCreateWire
      description: Send USD to a saved US bank-account destination by domestic wire.
      type: object
      properties:
        amount:
          $ref: '#/components/schemas/UsdMoney'
        fromAccount:
          type: string
          description: Source virtual-account id with the `subaccount_` prefix.
          example: subaccount_source123
        destinationId:
          type: string
          description: Saved US bank-account destination.
          example: le_contact_destination_bank123
        description:
          type: string
          description: Human-readable private transfer memo.
          example: Invoice 1042
        statementDescriptor:
          type: string
          description: Optional statement text.
      required:
        - amount
        - fromAccount
        - destinationId
      additionalProperties: false
    transfer-wire:
      title: TransferWire
      description: A domestic wire transfer.
      allOf:
        - $ref: '#/components/schemas/transfer-base'
        - type: object
          properties:
            contactId:
              type: string
              description: Contact receiving the transfer.
              example: le_c_vendor123
            destinationId:
              type: string
              description: Saved destination used for the transfer.
              example: le_contact_destination_bank123
            type:
              type: string
              enum:
                - wire
            status:
              $ref: >-
                #/components/schemas/slashfi.models.entity.Transfer.WireStatus.yaml
            wire:
              type: object
              properties:
                imad:
                  type: string
                omad:
                  type: string
                returnReason:
                  type: string
              additionalProperties: false
          required:
            - type
            - status
            - wire
    UsdMoney:
      type: object
      description: A positive USD amount expressed in cents.
      properties:
        amount:
          type: integer
          minimum: 1
          description: Amount in cents. For example, `1250` represents USD 12.50.
          example: 1250
        currency:
          type: string
          enum:
            - USD
      required:
        - amount
        - currency
      additionalProperties: false
      title: UsdMoney
    transfer-base:
      title: TransferBase
      type: object
      properties:
        id:
          type: string
          description: Transfer id with the `transfer_intent_` prefix.
          example: transfer_intent_2rj4l7hmrrrcv
        accountId:
          type: string
          description: Account containing the source balance.
          example: sa_group_primary123
        fromAccount:
          type: string
          description: Source virtual-account id, when the transfer is scoped to one.
          example: subaccount_operations123
        amount:
          $ref: '#/components/schemas/Money'
        description:
          type: string
          description: Human-readable private transfer memo.
          example: Invoice 1042
        statementDescriptor:
          type: string
          description: >-
            Statement or network descriptor supplied when the transfer was
            created.
          example: VENDOR PAYMENT
        transactionIds:
          type: array
          description: Transaction ids produced by this transfer.
          items:
            type: string
            description: Transaction id with the `agg_tx_` prefix.
            example: agg_tx_2rj4l7hmrrrcv
        createdAt:
          type: string
          format: date-time
          description: Time the transfer was created.
        submittedAt:
          type: string
          format: date-time
          description: Time the transfer was submitted for processing.
        settledAt:
          type: string
          format: date-time
          description: Time the transfer settled.
        failedAt:
          type: string
          format: date-time
          description: Time the transfer failed.
        canceledAt:
          type: string
          format: date-time
          description: Time the transfer was canceled.
      required:
        - id
        - accountId
        - amount
        - transactionIds
        - createdAt
    slashfi.models.entity.Transfer.WireStatus.yaml:
      type: string
      description: Lifecycle state of a domestic or international wire transfer.
      enum:
        - pending
        - pending_approval
        - in_review
        - scheduled
        - canceled
        - failed
        - settled
        - returned
      title: WireStatus
    PublicApiV2ErrorInvalidRequest:
      title: PublicApiV2ErrorInvalidRequest
      description: >-
        The input is well-formed but cannot be acted on; `message` says which
        field or combination is the problem, and `details.field` names the field
        when one is at fault.
      allOf:
        - $ref: '#/components/schemas/Error'
        - type: object
          properties:
            code:
              type: string
              enum:
                - invalid_request
            details:
              type: object
              properties:
                field:
                  type: string
                  description: Dot path of the request field at fault.
                  example: internationalWire.fxQuoteId
                id:
                  type: string
                  description: The identifier that field carried, when it is one.
                  example: fx_quote_2rj4l7hmrrrcv
              additionalProperties: false
          required:
            - code
            - details
    PublicApiV2ErrorInvalidRequestShape:
      title: PublicApiV2ErrorInvalidRequestShape
      description: >-
        The body, query, or headers failed validation, or a required header is
        missing. `details` has one entry per failing location, keyed by JSON
        pointer or header name.
      allOf:
        - $ref: '#/components/schemas/Error'
        - type: object
          properties:
            code:
              type: string
              enum:
                - invalid_request
            details:
              type: object
              properties: {}
              additionalProperties:
                type: string
          required:
            - code
            - details
    PublicApiV2ErrorUnauthorized:
      title: PublicApiV2ErrorUnauthorized
      description: API key authentication is missing or invalid.
      allOf:
        - $ref: '#/components/schemas/Error'
        - type: object
          properties:
            code:
              type: string
              enum:
                - unauthorized
            details:
              type: object
              properties: {}
              additionalProperties: false
          required:
            - code
            - details
    PublicApiV2ErrorForbidden:
      title: PublicApiV2ErrorForbidden
      description: >-
        The credential can see the resource but is not permitted to perform this
        action on it; the missing permission is not disclosed. When the resource
        is a field of the request, `details` names that `field` and the `id` it
        received.
      allOf:
        - $ref: '#/components/schemas/Error'
        - type: object
          properties:
            code:
              type: string
              enum:
                - forbidden
            details:
              type: object
              properties:
                field:
                  type: string
                  description: Dot path of the request field at fault.
                  example: fromAccount
                id:
                  type: string
                  description: The identifier that field carried, when it is one.
                  example: subaccount_source123
              additionalProperties: false
          required:
            - code
            - details
    PublicApiV2ErrorTransferIpAllowlistRequired:
      title: PublicApiV2ErrorTransferIpAllowlistRequired
      description: >-
        The legal entity does not enforce an IP allowlist. Creating or
        cancelling transfers requires one, and the request must come from an
        allowlisted IP.
      allOf:
        - $ref: '#/components/schemas/Error'
        - type: object
          properties:
            code:
              type: string
              enum:
                - ip_allowlist_required
            details:
              type: object
              properties: {}
              additionalProperties: false
          required:
            - code
            - details
    PublicApiV2ErrorForbiddenLegalEntity:
      title: PublicApiV2ErrorForbiddenLegalEntity
      description: The credential is not permitted to act for the selected legal entity.
      allOf:
        - $ref: '#/components/schemas/Error'
        - type: object
          properties:
            code:
              type: string
              enum:
                - forbidden
            details:
              type: object
              properties: {}
              additionalProperties: false
          required:
            - code
            - details
    PublicApiV2ErrorUserApiKeyRequired:
      title: PublicApiV2ErrorUserApiKeyRequired
      description: >-
        The API key is scoped to a legal entity rather than a user. Every v2
        request needs a user API key, created under Settings → API keys in the
        Slash dashboard, together with the `x-legal-entity` header.
      allOf:
        - $ref: '#/components/schemas/Error'
        - type: object
          properties:
            code:
              type: string
              enum:
                - user_api_key_required
            details:
              type: object
              properties: {}
              additionalProperties: false
          required:
            - code
            - details
    PublicApiV2ErrorNotFound:
      title: PublicApiV2ErrorNotFound
      description: >-
        No resource matches the identifier, it belongs to another legal entity,
        or the credential cannot view it. When the identifier is a field of the
        request, `details` names that `field` and the `id` it received.
      allOf:
        - $ref: '#/components/schemas/Error'
        - type: object
          properties:
            code:
              type: string
              enum:
                - not_found
            details:
              type: object
              properties:
                field:
                  type: string
                  description: Dot path of the request field at fault.
                  example: destinationId
                id:
                  type: string
                  description: The identifier that field carried, when it is one.
                  example: le_contact_destination_bank123
              additionalProperties: false
          required:
            - code
            - details
    PublicApiV2ErrorNotFoundNotEnabled:
      title: PublicApiV2ErrorNotFoundNotEnabled
      description: Public API v2 is not enabled for the selected legal entity.
      allOf:
        - $ref: '#/components/schemas/Error'
        - type: object
          properties:
            code:
              type: string
              enum:
                - not_found
            details:
              type: object
              properties: {}
              additionalProperties: false
          required:
            - code
            - details
    PublicApiV2ErrorConflict:
      title: PublicApiV2ErrorConflict
      description: >-
        The resource is not in a state that allows this action; `message` says
        which state blocks it, and `details.field` names the field that
        referenced it when one did.
      allOf:
        - $ref: '#/components/schemas/Error'
        - type: object
          properties:
            code:
              type: string
              enum:
                - conflict
            details:
              type: object
              properties:
                field:
                  type: string
                  description: Dot path of the request field at fault.
                  example: internationalWire.fxQuoteId
                id:
                  type: string
                  description: The identifier that field carried, when it is one.
                  example: fx_quote_2rj4l7hmrrrcv
              additionalProperties: false
          required:
            - code
            - details
    PublicApiV2ErrorInsufficientFunds:
      title: PublicApiV2ErrorInsufficientFunds
      description: >-
        The source account does not hold enough to cover this transfer. Nothing
        was moved; fund the account or lower the amount and retry.
      allOf:
        - $ref: '#/components/schemas/Error'
        - type: object
          properties:
            code:
              type: string
              enum:
                - insufficient_funds
            details:
              type: object
              properties:
                available:
                  type: string
                  description: Balance available to spend from the source account.
                  example: $120.00
                requested:
                  type: string
                  description: Amount this transfer would have moved, fees included.
                  example: $500.00
              required:
                - available
                - requested
              additionalProperties: false
          required:
            - code
            - details
    PublicApiV2ErrorConflictIdempotencyKeyReused:
      title: PublicApiV2ErrorConflictIdempotencyKeyReused
      description: >-
        A consumed `X-Idempotency-Key` was reused; the original response is not
        replayed.
      allOf:
        - $ref: '#/components/schemas/Error'
        - type: object
          properties:
            code:
              type: string
              enum:
                - conflict
            details:
              type: object
              properties: {}
              additionalProperties: false
          required:
            - code
            - details
    PublicApiV2ErrorInternal:
      title: PublicApiV2ErrorInternal
      description: >-
        Slash could not complete the request. Quote `referenceId` when
        contacting Slash support.
      allOf:
        - $ref: '#/components/schemas/Error'
        - type: object
          properties:
            code:
              type: string
              enum:
                - internal
            details:
              type: object
              properties: {}
              additionalProperties: false
          required:
            - code
            - details
    Money:
      type: object
      description: A signed monetary amount expressed in minor units.
      properties:
        amount:
          type: integer
          description: Amount in the currency's minor units.
        currency:
          type: string
          pattern: ^[A-Z]{3}$
          description: Uppercase ISO 4217 currency code.
      required:
        - amount
        - currency
      additionalProperties: false
      title: Money
    Error:
      type: object
      properties:
        code:
          type: string
          description: >-
            Machine-readable reason; branch on this, not on `message`. Every
            code an endpoint can return is listed on its reference page; the
            ones shared by all endpoints are explained in the Errors guide.
          example: invalid_request
        message:
          type: string
          description: >-
            Human-readable explanation, safe to show to an operator. Wording may
            change; use `code` and `details` programmatically.
        details:
          type: object
          description: >-
            The values behind `message`, keyed per `code`. For example
            `insufficient_funds` carries `available` and `requested`;
            `invalid_request` from contract validation carries one entry per
            failing field, keyed by JSON pointer. Empty when the code has no
            variable data.
          additionalProperties:
            type: string
          example:
            available: $120.00
            requested: $500.00
        referenceId:
          type: string
          description: Unique id of this failure. Quote it when contacting Slash support.
          example: 4001-2alj5if
      required:
        - code
        - message
        - details
        - referenceId
      additionalProperties: false
      title: Error
  responses:
    PublicApiV2Error400InvalidRequestInvalidRequestShapeTransfersCreate:
      description: >-
        - `invalid_request` — The input is well-formed but cannot be acted on;
        `message` says which field or combination is the problem, and
        `details.field` names the field when one is at fault.

        - `invalid_request (request shape)` — The body, query, or headers failed
        validation, or a required header is missing. `details` has one entry per
        failing location, keyed by JSON pointer or header name.
      content:
        application/json:
          schema:
            anyOf:
              - title: invalid_request
                allOf:
                  - $ref: '#/components/schemas/PublicApiV2ErrorInvalidRequest'
              - title: invalid_request (request shape)
                allOf:
                  - $ref: '#/components/schemas/PublicApiV2ErrorInvalidRequestShape'
          examples:
            invalid_request:
              summary: invalid_request
              value:
                code: invalid_request
                message: toAccount must differ from fromAccount.
                details:
                  field: toAccount
                referenceId: 4001-2alj5if
            invalid_request_request_shape:
              summary: invalid_request (request shape)
              value:
                code: invalid_request
                message: 'Invalid `X-Idempotency-Key`: This header is required.'
                details:
                  X-Idempotency-Key: This header is required.
                referenceId: 4001-2alj5if
    PublicApiV2Error401Unauthorized:
      description: '- `unauthorized` — API key authentication is missing or invalid.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiV2ErrorUnauthorized'
          examples:
            unauthorized:
              summary: unauthorized
              value:
                code: unauthorized
                message: API key authentication is missing or invalid.
                details: {}
                referenceId: 4011-2alj5if
    PublicApiV2Error403ForbiddenTransferIpAllowlistRequiredForbiddenLegalEntityUserApiKeyRequired:
      description: >-
        - `forbidden` — The credential can see the resource but is not permitted
        to perform this action on it; the missing permission is not disclosed.
        When the resource is a field of the request, `details` names that
        `field` and the `id` it received.

        - `ip_allowlist_required` — The legal entity does not enforce an IP
        allowlist. Creating or cancelling transfers requires one, and the
        request must come from an allowlisted IP.

        - `forbidden (legal entity)` — The credential is not permitted to act
        for the selected legal entity.

        - `user_api_key_required` — The API key is scoped to a legal entity
        rather than a user. Every v2 request needs a user API key, created under
        Settings → API keys in the Slash dashboard, together with the
        `x-legal-entity` header.
      content:
        application/json:
          schema:
            anyOf:
              - title: forbidden
                allOf:
                  - $ref: '#/components/schemas/PublicApiV2ErrorForbidden'
              - title: ip_allowlist_required
                allOf:
                  - $ref: >-
                      #/components/schemas/PublicApiV2ErrorTransferIpAllowlistRequired
              - title: forbidden (legal entity)
                allOf:
                  - $ref: '#/components/schemas/PublicApiV2ErrorForbiddenLegalEntity'
              - title: user_api_key_required
                allOf:
                  - $ref: '#/components/schemas/PublicApiV2ErrorUserApiKeyRequired'
          examples:
            forbidden:
              summary: forbidden
              value:
                code: forbidden
                message: >-
                  This credential is not permitted to do that on `fromAccount`
                  subaccount_source123.
                details:
                  field: fromAccount
                  id: subaccount_source123
                referenceId: 4031-2alj5if
            ip_allowlist_required:
              summary: ip_allowlist_required
              value:
                code: ip_allowlist_required
                message: >-
                  Transfer mutations require a user-scoped API key used from an
                  IP on the legal entity’s allowlist.
                details: {}
                referenceId: 4031-2alj5if
            forbidden_legal_entity:
              summary: forbidden (legal entity)
              value:
                code: forbidden
                message: This credential is not permitted to do that.
                details: {}
                referenceId: 4031-2alj5if
            user_api_key_required:
              summary: user_api_key_required
              value:
                code: user_api_key_required
                message: >-
                  Public API v2 requires a user API key. Create one under
                  Settings → API keys in the Slash dashboard.
                details: {}
                referenceId: 4031-2alj5if
    PublicApiV2Error404NotFoundNotFoundNotEnabled:
      description: >-
        - `not_found` — No resource matches the identifier, it belongs to
        another legal entity, or the credential cannot view it. When the
        identifier is a field of the request, `details` names that `field` and
        the `id` it received.

        - `not_found (API not enabled)` — Public API v2 is not enabled for the
        selected legal entity.
      content:
        application/json:
          schema:
            anyOf:
              - title: not_found
                allOf:
                  - $ref: '#/components/schemas/PublicApiV2ErrorNotFound'
              - title: not_found (API not enabled)
                allOf:
                  - $ref: '#/components/schemas/PublicApiV2ErrorNotFoundNotEnabled'
          examples:
            not_found:
              summary: not_found
              value:
                code: not_found
                message: '`destinationId` le_contact_destination_bank123 was not found.'
                details:
                  field: destinationId
                  id: le_contact_destination_bank123
                referenceId: 4041-2alj5if
            not_found_not_enabled:
              summary: not_found (API not enabled)
              value:
                code: not_found
                message: The requested resource was not found.
                details: {}
                referenceId: 4041-2alj5if
    PublicApiV2Error409ConflictInsufficientFundsConflictIdempotencyKeyReused:
      description: >-
        - `conflict` — The resource is not in a state that allows this action;
        `message` says which state blocks it, and `details.field` names the
        field that referenced it when one did.

        - `insufficient_funds` — The source account does not hold enough to
        cover this transfer. Nothing was moved; fund the account or lower the
        amount and retry.

        - `conflict (idempotency key reused)` — A consumed `X-Idempotency-Key`
        was reused; the original response is not replayed.
      content:
        application/json:
          schema:
            anyOf:
              - title: conflict
                allOf:
                  - $ref: '#/components/schemas/PublicApiV2ErrorConflict'
              - title: insufficient_funds
                allOf:
                  - $ref: '#/components/schemas/PublicApiV2ErrorInsufficientFunds'
              - title: conflict (idempotency key reused)
                allOf:
                  - $ref: >-
                      #/components/schemas/PublicApiV2ErrorConflictIdempotencyKeyReused
          examples:
            conflict:
              summary: conflict
              value:
                code: conflict
                message: The FX quote has already been used.
                details:
                  field: internationalWire.fxQuoteId
                  id: fx_quote_2rj4l7hmrrrcv
                referenceId: 4091-2alj5if
            insufficient_funds:
              summary: insufficient_funds
              value:
                code: insufficient_funds
                message: >-
                  The source account has $120.00 available but this transfer
                  needs $500.00.
                details:
                  available: $120.00
                  requested: $500.00
                referenceId: 4091-2alj5if
            conflict_idempotency_key_reused:
              summary: conflict (idempotency key reused)
              value:
                code: conflict
                message: >-
                  This request has already been submitted (duplicate idempotency
                  key).
                details: {}
                referenceId: 4091-2alj5if
    PublicApiV2RateLimited:
      description: >-
        The request exceeded the applicable rate limit. The response body is
        plain text; clients must not depend on a response-body schema for this
        status.
    PublicApiV2Error500Internal:
      description: >-
        - `internal` — Slash could not complete the request. Quote `referenceId`
        when contacting Slash support.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiV2ErrorInternal'
          examples:
            internal:
              summary: internal
              value:
                code: internal
                message: >-
                  An unexpected error occurred. If this keeps happening, contact
                  Slash support with the reference id below.
                details: {}
                referenceId: 5001-2alj5if
  securitySchemes:
    api_key:
      type: apiKey
      name: X-API-Key
      in: header
      description: >-
        User API key authentication. Create a key under Settings → API keys in
        the Slash dashboard (https://app.slash.com/global-settings/api-keys) and
        send the `x-legal-entity` header naming the legal entity to act on with
        every request. Keys scoped to a legal entity are rejected with `403
        user_api_key_required`.

````