Originate a SWIFT wire transfer

Overview

Send USD over SWIFT through Modern Treasury. Each program must opt in. Contact Modern Treasury to enable international wires and confirm supported receiving countries. Sanctioned countries are always blocked.

The cutoff is 2:50 PM ET. Wires submitted after the cutoff have their effective date moved to the next business day.

Bring your own bank account

If your own bank account is at Cross River Bank, you can send international USD wires through Modern Treasury with the same API. Other banks aren't supported. Cross River must enable international wires on your account. If it hasn't, the payment order moves to failed. Contact Cross River to enable international wires. The 2:50 PM ET cutoff doesn't apply; cutoffs depend on your bank.

Required fields

Set up a counterparty and external account with:

  • The beneficiary's name and address.
  • The beneficiary bank's BIC, supplied as a routing detail with routing_number_type: "swift".
  • The beneficiary's account number or IBAN, with the corresponding account number type.

For the payment order, provide:

  • type: "wire" and direction: "credit".
  • currency: "USD" and the amount in cents.
  • The originating internal account ID and receiving external account ID.

1. Set up the counterparty

Create a Counterparty with the beneficiary's external account details. This example uses an IBAN.

curl --request POST \
  -u ORGANIZATION_ID:API_KEY \
  --url https://app.moderntreasury.com/api/counterparties \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Kenner, Bach and Ledeen",
    "accounts": [
      {
        "party_name": "Kenner, Bach and Ledeen Corp.",
        "party_type": "business",
        "routing_details": [
          {
            "routing_number_type": "swift",
            "routing_number": "DEUTDEBB"
          }
        ],
        "account_details": [
          {
            "account_number": "AT483200000012345864",
            "account_number_type": "iban"
          }
        ],
        "party_address": {
          "line1": "Genslerstrae 84",
          "locality": "Berlin",
          "region": "Berlin-Brandenburg",
          "postal_code": "33610",
          "country": "DEU"
        }
      }
    ]
  }'

Use the external account ID returned in the counterparty's accounts array as the payment order's receiving_account_id.

2. Create the USD payment order

Create a Payment Order. This example sends $10 in USD.

curl --request POST \
  -u ORGANIZATION_ID:API_KEY \
  --url https://app.moderntreasury.com/api/payment_orders \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "wire",
    "amount": 1000,
    "direction": "credit",
    "currency": "USD",
    "originating_account_id": "0f8e3719-3dfd-4613-9bbf-c0333781b59f",
    "receiving_account_id": "5acec2ef-987b-4260-aa97-b719eeb0a8d5"
  }'

Remittance information

You may include remittance_information of up to 140 characters. When a foreign correspondent bank is used, part of that space is used to route the payment, so recipients may see about 105 characters of your remittance information.

Errors

The following entitlement errors return HTTP 422:

  • "The program is not entitled to originate WIRE credit payments."
  • "The program is not entitled to originate wires to {country}."

{country} is the two-letter country code from the BIC. For example: "The program is not entitled to originate wires to GB."

Contact Modern Treasury to check your program's wire entitlements.

Tracking

IMAD and UETR appear as Payment References, with types fedwire_imad and swift_uetr, once the bank provides them. They may not be available immediately after creating the payment order.

For fees, supported countries, and returns, see SWIFT wires FAQs.