# Simulate incoming Swift payment

Simulates an incoming Swift transfer into a profile's account details. This will create a payment into the user's account details and balance for the specified amount and currency. Using sandbox, you can test the initial tech build for webhook subscriptions, balance statements, and sweeping funds.

If the request is successful the transfer is logged in our back office, which triggers a swift-in#credit event and results in a balance update.

{% admonition type="info" %}
While most fields are optional, default values will be provided as needed.
{% /admonition %}

Endpoint: POST /v1/simulation/profiles/{profileId}/swift-in
Security: UserToken

## Path parameters:

  - `profileId` (integer, required)
    The profile ID.

## Header parameters:

  - `X-External-Correlation-Id` (string)
    Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.
    Example: "f47ac10b-58cc-4372-a567-0e02b2c3d479"

## Request fields (application/json):

  - `currencyCode` (string, required)
    Currency received by Wise. 3-letter ISO currency code.

  - `amount` (number, required)
    Amount received by Wise.

  - `instructedCurrencyCode` (string)
    Currency sent by the sender. 3-letter ISO currency code. If not provided, it is assumed to be the same as currencyCode.

  - `instructedAmount` (number)
    Amount sent by the sender. 
If not provided, it is assumed to be the same as amount plus same currency fees.
Any outstanding fees in other currencies are ignored.

Required if instructedCurrencyCode is provided.

  - `beneficiaryName` (string)
    Name of the ultimate beneficiary.

  - `beneficiaryAccount` (string)
    Account number of the ultimate beneficiary. It can be either an IBAN or local account number.

  - `beneficiaryAddress` (object)
    Address of the ultimate beneficiary.

  - `beneficiaryAddress.addressLine` (string)
    Address line: street, house, apartment.

  - `beneficiaryAddress.city` (string)
    City name.

  - `beneficiaryAddress.postalCode` (string)
    Postal code.

  - `beneficiaryAddress.country` (string)
    Country code (ISO 3166-1 alpha-2).

  - `senderName` (string)
    Name of the sender.

  - `senderBic` (string)
    BIC of the sender's bank.

  - `senderAccount` (string)
    Account number of the sender. It can be either an IBAN or local account number.

  - `senderAddress` (object)
    Address of the sender.

  - `senderAddress.addressLine` (string)
    Address line: street, house, apartment.

  - `senderAddress.city` (string)
    City name.

  - `senderAddress.postalCode` (string)
    Postal code.

  - `senderAddress.country` (string)
    Country code (ISO 3166-1 alpha-2).

  - `paymentReference` (string)
    Custom payment reference.

  - `charges` (array)
    List of fees declared by correspondents (e.g., handling fee).

  - `charges.amount` (number, required)
    Fee amount.

  - `charges.currency` (string, required)
    Fee currency. 3-letter ISO currency code.

  - `charges.agent` (string, required)
    BIC of the agent incurring the fee.

  - `previousInstructingAgents` (array)
    List of previous instructing agents. Maximum 3 items.


## Response 200 fields

## Response 400 fields
