Bank Transfers

Estimate and execute a SEPA, ACH or Faster Payments transfer from a corporate bank account.

Before You Start

Read the following guides before proceeding:

GuideWhy
Getting StartedPlatform overview and setup
Api BasicsRequired headers and request configuration
AuthenticationHow to obtain the corporation token
Activating Bank Account DetailsWhere account_id comes from
CapabilitiesEach rail is gated by its own capability

Overview

A bank transfer sends fiat from a corporate bank account to a beneficiary, debiting a token balance from
the corporation wallet to fund it. The rail is not chosen by a field — it is implied by the
account_id, whose details type determines both the rail and the beneficiary fields required.

Two flows exist for the same outcome.

v1 / v2 bank transferv3 corridor transfer
RailsSEPA, ACH, Faster PaymentsThose three plus PIX, SPEI, FEDWIRE, SWIFT, CIPS, CHATS, FPS-HK, IMPS, InstaPay, BI-FAST, NIP, IPP, PSE
BeneficiaryInline in the request bodyA stored recipient, by recipient_id
StepsEstimate, executeEstimate, initiate, sometimes confirm
EndpointPOST /api/v1/bank/transferPOST /api/v3/bank/initiate/{corridor}
GuideThis pageCorridor Transfers

Use v3 for anything beyond the three original rails, and whenever the beneficiary is already a stored
recipient. This page documents the v1 and v2 flow.


Step 1: Estimate the Transfer

Two estimate endpoints exist. Both work for SEPA, ACH and Faster Payments and return the same quote; the
beneficiary does not change the price. They differ in what they check:

POST /api/v1/bank/transfer/estimatePOST /api/v2/bank/transfer/estimate
Beneficiary in the requestNot acceptedrecipient and recipient_account required on every rail
Beneficiary validationNoneThe same format checks as Step 2 — a malformed beneficiary fails here, before anything is spent
Use whenYou need a price before the beneficiary is knownThe beneficiary is known — errors surface at the estimate rather than at execute

Both require TransactionSu or TransactionCreate.

POST /api/v2/bank/transfer/estimate

Request body:

{
  "account_id": "7739fd2e-fe62-4318-9cd0-88774ba4c0b6:534c290a-13c8-4931-9983-b24637a5e34c",
  "amount": 5.00,
  "reference": "Invoice 2024-0042",
  "tokens": [
    "0x5c55F314624718019A326F16a62A05D6C6d8C8A2",
    "0x0774164DC20524Bb239b39D1DC42573C3E4C6976"
  ],
  "recipient": {
    "first_name": "Alex",
    "last_name": "Grey"
  },
  "recipient_account": {
    "iban": "DE89370400440532013000",
    "bic": "COBADEFF"
  }
}
FieldTypeRequiredDescription
account_idstringYesThe composite id from GET /api/v1/bank/accounts — <accountId>:<detailsId>
amountnumberYesAmount the beneficiary receives, in the account's currency. Greater than 0. Truncated to 2 decimal places — 10.129 is quoted as 10.12, and an amount below 0.01 is rejected
tokensarray of stringNoToken addresses to quote against. Every token in the company's list when omitted
referencestringNoAccepted and ignored by the estimate. Send it on Step 2
recipientobjectv2: Yes. v1: not acceptedBeneficiary identity — see Beneficiary Identity
recipient_accountobjectv2: Yes. v1: not acceptedBeneficiary bank details — see Beneficiary Bank Details by Rail

The v1 estimate takes the same body without recipient and recipient_account.

Response:

{
  "id": "09cba571-e11c-43d9-936d-3b7e9da83c43",
  "expires_at": 1793364943,
  "amount": 5,
  "amount_precise": "5000000000000000000",
  "decimals": 18,
  "currency": "EUR",
  "estimated_amounts": [
    {
      "amount": 5,
      "precise_amount": "5000000000000000000",
      "token_address": "0x5c55F314624718019A326F16a62A05D6C6d8C8A2",
      "token_symbol": "WEUR",
      "rate": 1,
      "rate_precise": "1000000000000000000",
      "rate_decimals": 18,
      "fee_precise_amount": "0",
      "fee_currency": "WEUR"
    },
    {
      "amount": 5.6,
      "precise_amount": "5600350350350350352",
      "token_address": "0x0774164DC20524Bb239b39D1DC42573C3E4C6976",
      "token_symbol": "WUSD",
      "rate": 0.892801,
      "rate_precise": "892801286920773939",
      "rate_decimals": 18,
      "fee_precise_amount": "0",
      "fee_currency": "WUSD"
    }
  ]
}
FieldDescription
idThe estimation id. Pass it to the execute call as estimation_id
expires_atUnix timestamp after which the estimate is no longer valid — 20 minutes after the estimate
amount / amount_precise / decimalsAmount the beneficiary receives, after truncation to 2 decimal places. amount_precise is scaled by decimals
currencyCurrency of the bank account
estimated_amounts[]One entry per token — what would be debited if that token is chosen. The order is not fixed
estimated_amounts[].amount / precise_amountThe debit, fee included. amount is cut to 2 decimal places for display; precise_amount is the exact debit in the token's smallest unit
estimated_amounts[].rate / rate_precise / rate_decimalsUnits of the account's currency per token — 0.892801 EUR per WUSD above. rate_precise is scaled by rate_decimals
estimated_amounts[].fee_amount / fee_precise_amount / fee_currencyThe fee inside the debit. fee_amount is omitted when the fee is 0; fee_precise_amount is then "0"

The estimate's field is id; the execute call's field is estimation_id. They are the same value
under two names.


Step 2: Execute the Transfer

POST /api/v1/bank/transfer

Requires TransactionSu or TransactionCreate.

Request body:

{
  "account_id": "7739fd2e-fe62-4318-9cd0-88774ba4c0b6:534c290a-13c8-4931-9983-b24637a5e34c",
  "token_address": "0x5c55F314624718019A326F16a62A05D6C6d8C8A2",
  "estimation_id": "09cba571-e11c-43d9-936d-3b7e9da83c43",
  "reference": "Invoice 2024-0042",
  "recipient": {
    "first_name": "Alex",
    "last_name": "Grey"
  },
  "recipient_account": {
    "iban": "DE89370400440532013000",
    "bic": "COBADEFF"
  }
}
FieldTypeRequiredDescription
account_idstringYesThe composite account identifier. Determines the rail
estimation_idstringYesThe id from Step 1. See the callout below on amount
token_addressstringYesToken to debit from the corporation wallet. Must be one quoted in the estimate
recipientobjectYesBeneficiary identity
recipient_accountobjectYesBeneficiary bank details. Fields required depend on the rail
referencestringNoComment attached to the transfer and returned as reference on the activity. At most 255 characters — a longer value fails with 500, see Server Errors
amountnumberNoAccepted by validation in place of estimation_id, but a transfer without estimation_id is not executed — see below
transaction_authorizationobjectConditionalRequired when the company's mode is Signature; omit otherwise. See Transaction Authorization

Response:

{
  "id": "5e2a4c64-66f6-4ffc-a994-1b1736ab39e9"
}
FieldDescription
idIdentifier of the transfer. It is the activity feed item's id

Always send estimation_id. A request with amount and no estimation_id passes validation and is
then refused with 400 ErrorNotFound Entity not found: there is no execution at the market rate.
Sending neither is rejected with 400 ErrorMissingField.

How execution behaves:

  • The debit is the quoted amount. The wallet is debited exactly estimated_amounts[].precise_amount of
    token_address, within seconds of the 200. This holds across currencies — a EUR transfer paid in WUSD
    debits the WUSD amount the estimate quoted.
  • An estimate is single-use, and a refused execute uses it up. A second execute with the same
    estimation_id returns 400 ErrorExpired Estimation expired or executed. This also applies after a
    refusal from the bank side — for example Source token address not found in estimation when
    token_address was not quoted: nothing is debited, but the estimate is spent. Estimate again before
    retrying.
  • The estimate is not tied to the beneficiary. The beneficiary sent on Step 2 is the one paid, whatever
    was sent to the v2 estimate.
  • There is no idempotency key. Every accepted execute is a new transfer. After a network timeout, check
    the activity feed before you estimate and execute again.

Beneficiary Identity

FieldRequired whenFormat
recipient.first_name, recipient.last_nameThe beneficiary is a person. Both or neither^[a-zA-Z][a-zA-Z\-' ]{0,49}$ — unaccented Latin letters, space, hyphen, apostrophe. José is rejected
recipient.company_nameThe beneficiary is a business^[A-Za-z0-9&.,'’\-/() :+#]{2,100}$

Beneficiary Bank Details by Rail

The rail comes from the details type behind account_id, and it decides which fields are mandatory:

RailRequired in recipient_accountFormat
SEPAiban, biciban ^[A-Z]{2}\d{2}[A-Z0-9]{11,30}$, bic ^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$
ACHaccount_number, routing_number, legal_address; bank_name optionalaccount_number ^\d{8,18}$, routing_number ^\d{9}$
Faster Paymentsaccount_number, sort_codeaccount_number ^\d{8,18}$, sort_code ^\d{6}$ — no dashes

Formats are the only check. The IBAN check digits are not verified, and neither is the ABA check
digit of a routing number. A transfer to an IBAN with wrong check digits is accepted with 200 and
debited, then refused before it is sent: the item moves through awaiting_charge_reversal to Failed /
payment_failed, and the debit is returned.

legal_address requires line1, city, zip_code and country; line2 is optional. state is
optional, except that it is required when country is US — a US address without it is rejected
with legal address.state is required for US. The field formats are those in
Creating a Recipient — Legal Address.

legal_address is triggered by the ACH field pair, not by the rail. Any request carrying both
account_number and routing_number must also carry legal_address, or it is rejected with
recipient account.legal address is required for ACH — on a Faster Payments account too. SEPA and
Faster Payments transfers need no address.

An incomplete pair is reported as Insufficient account details. The request must carry at least one
complete pair — iban + bic, account_number + sort_code, or account_number + routing_number.
An IBAN without a BIC, or an account number without a sort code, fails with this error rather than
naming the missing field. A complete pair that belongs to another rail — an IBAN on a Faster Payments
account — fails with the rail's own missing field, e.g. recipient account.account number is required.

An account_id whose details are not SEPA, ACH or Faster Payments is refused. The Fedwire and
FedNow entries of the USD account are refused by the estimate with 400 ErrorNotSupported
Invalid account id, and by execute with 400 ErrorInvalidField Invalid account type. Use
Corridor Transfers for those rails.

Capability per Rail

The capability checked by execute is the outbound one for the account's details type:

RailCapability checked
SEPASepaOut1stParty
ACHAchOut1stParty
Faster PaymentsFasterPaymentsOut3rdParty

The 1stParty capabilities cover transfers to accounts the corporation owns. Faster Payments is
checked against FasterPaymentsOut3rdParty instead. A corporation holding only
SepaOut3rdParty cannot send a SEPA transfer through this endpoint — it needs SepaOut1stParty.

Transaction Authorization

When the company's transactionAuthorizationMode is Signature, the request carries
transaction_authorization, signed by the employee_address wallet over:

I confirm that I'm executing BankTransfer according to estimation <estimation_id> at <nonce>

For estimation_id 550e8400-e29b-41d4-a716-446655440000 signed at 1760774400:

I confirm that I'm executing BankTransfer according to estimation 550e8400-e29b-41d4-a716-446655440000 at 1760774400
{
  "account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6:64120850-73a1-4df5-a074-d463258c9deb",
  "token_address": "0x0774164DC20524Bb239b39D1DC42573C3E4C6976",
  "estimation_id": "550e8400-e29b-41d4-a716-446655440000",
  "recipient": { },
  "recipient_account": { },
  "transaction_authorization": {
    "message_signature": "0x1c8aff950685c2ed4bc3174f3472287b56d9517b9c948127319a09a7a36deac81f0c5b0e4a7c1d2e3f405162738495a6b7c8d9e0f1a2b3c4d5e6f708192a3b4c1b",
    "nonce": 1760774400
  }
}

The object, the placeholder rules and the 401 errors are described in
Transaction Authorization.

Code

const beneficiary = {
  recipient: { first_name: 'Alex', last_name: 'Grey' },
  recipient_account: { iban: 'DE89370400440532013000', bic: 'COBADEFF' }
};

const estimateResponse = await fetch(`${baseUrl}/api/v2/bank/transfer/estimate`, {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${corporationToken}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ account_id: accountId, amount: 1000.00, tokens: [tokenAddress], ...beneficiary })
});
const estimate = await estimateResponse.json();

const response = await fetch(`${baseUrl}/api/v1/bank/transfer`, {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${corporationToken}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    account_id: accountId,
    token_address: tokenAddress,
    estimation_id: estimate.id,
    reference: 'Invoice 2024-0042',
    ...beneficiary
  })
});
const { id: transferId } = await response.json();
beneficiary = {
    "recipient": {"first_name": "Alex", "last_name": "Grey"},
    "recipient_account": {"iban": "DE89370400440532013000", "bic": "COBADEFF"},
}

estimate = requests.post(
    f"{base_url}/api/v2/bank/transfer/estimate",
    headers={
        "Authorization": f"Bearer {corporation_token}",
        "Content-Type": "application/json",
    },
    json={"account_id": account_id, "amount": 1000.00, "tokens": [token_address], **beneficiary},
).json()

response = requests.post(
    f"{base_url}/api/v1/bank/transfer",
    headers={
        "Authorization": f"Bearer {corporation_token}",
        "Content-Type": "application/json",
    },
    json={
        "account_id": account_id,
        "token_address": token_address,
        "estimation_id": estimate["id"],
        "reference": "Invoice 2024-0042",
        **beneficiary,
    },
)
transfer_id = response.json()["id"]
recipient := map[string]string{"first_name": "Alex", "last_name": "Grey"}
recipientAccount := map[string]string{
    "iban": "DE89370400440532013000",
    "bic":  "COBADEFF",
}

estimateBody, _ := json.Marshal(map[string]interface{}{
    "account_id":        accountID,
    "amount":            1000.00,
    "tokens":            []string{tokenAddress},
    "recipient":         recipient,
    "recipient_account": recipientAccount,
})

estimateReq, _ := http.NewRequest("POST", baseURL+"/api/v2/bank/transfer/estimate", bytes.NewBuffer(estimateBody))
estimateReq.Header.Set("Authorization", "Bearer "+corporationToken)
estimateReq.Header.Set("Content-Type", "application/json")

estimateResp, _ := http.DefaultClient.Do(estimateReq)
defer estimateResp.Body.Close()

var estimate BankTransferEstimateResponse
json.NewDecoder(estimateResp.Body).Decode(&estimate)

body, _ := json.Marshal(map[string]interface{}{
    "account_id":        accountID,
    "token_address":     tokenAddress,
    "estimation_id":     estimate.Id,
    "reference":         "Invoice 2024-0042",
    "recipient":         recipient,
    "recipient_account": recipientAccount,
})

req, _ := http.NewRequest("POST", baseURL+"/api/v1/bank/transfer", bytes.NewBuffer(body))
req.Header.Set("Authorization", "Bearer "+corporationToken)
req.Header.Set("Content-Type", "application/json")

resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()

What Happens Next

The transfer is an outbound item in the activity feed under the returned id, within seconds of the
200. Its lifecycle is the same as a corridor transfer on the same rail — see
Corridor Transfers — Tracking a Bank Transfer.

Railtypedestination.type
SEPASepaSepaBankAccount — bank_account carries iban, bic, owner_name, is_business
ACHAchPushAchBankAccount — account_number, routing_number, owner_name, is_business
Faster PaymentsFasterPaymentFasterPaymentBankAccount — account_number, sort_code, owner_name, is_business

owner_name is the beneficiary name sent in recipient. Progress is delivered to
POST {your_webhook_base_url}/v2/webhooks/activities.


Error Handling

{
  "error_reason": "ErrorMissingField",
  "error_description": "Insufficient account details",
  "error_category": {
    "category": "CategoryValidationFailure",
    "http_status_code": 400
  },
  "error_details": [
    { "key": "field", "details": "recipient_account" },
    { "key": "issue", "details": "insufficient_account_details" },
    { "key": "recipient_account", "details": "Insufficient account details" }
  ]
}

Validation Errors (400)

Error ReasonError DetailsDescriptionEndpointResolution
ErrorMissingFieldfield: account_idaccount id is requiredAllSend the composite id
ErrorInvalidFieldissue: invalid_formatInvalid format for account idAllThe value must be two UUIDs joined by :
ErrorNotFoundissue: not_found_or_not_ownedInvalid account idAllThe account does not belong to this corporation
ErrorNotSupportedissue: unsupported_bank_account_typeInvalid account idEstimateThe details are not SEPA, ACH or Faster Payments. Use a corridor transfer
ErrorInvalidFieldfield: account_typeInvalid account typeExecuteAs above, on execute
ErrorInvalidFieldfield: amountInvalid value for amountEstimateSend an amount greater than 0
ErrorGeneraldestination_amount: Invalid destination amountRequest failed validationEstimateThe amount is below 0.01 after truncation
ErrorNotFound—No estimates foundEstimateNo token in tokens could be quoted — every address is unknown or malformed. Send addresses from the company's token list, or omit tokens
ErrorMissingFieldfield: recipientrecipient is requiredv2 estimate, executeSend recipient
ErrorMissingFieldfield: recipient_accountrecipient account is requiredv2 estimateSend recipient_account
ErrorMissingFieldfield: recipient, issue: missing_nameName is requiredv2 estimateSend first_name and last_name, or company_name
ErrorMissingFieldfield: recipient.first_name, …recipient.first name is required with recipient.last nameExecuteAs above
ErrorInvalidFieldfield: recipient.first_name, patternInvalid format for recipient.first namev2 estimate, executeSee Beneficiary Identity
ErrorMissingFieldissue: insufficient_account_detailsInsufficient account detailsv2 estimate, executeNo complete pair in recipient_account. Send iban + bic, account_number + sort_code, or account_number + routing_number
ErrorInvalidFieldfield: recipient_account.<field>, patternInvalid format for recipient account.<field>v2 estimate, executeCheck the format table
ErrorMissingFieldfield: recipient_account.iban / .bic / .account_number / .sort_coderecipient account.<field> is requiredExecuteThe pair sent belongs to another rail. Send the account's rail fields
ErrorMissingFieldissue: required_for_achrecipient account.legal address is required for ACHv2 estimate, executeSend legal_address
ErrorMissingFieldfield: legal_address.<field>, issue: missinglegal address.<field> is requiredv2 estimate, executeSend line1, city, zip_code, country
ErrorMissingFieldissue: required_for_uslegal address.state is required for USv2 estimate, executeSend state for a US address
ErrorMissingFieldfield: amount, field: estimation_idamount is required when estimation id missingExecuteSend estimation_id
ErrorInvalidFieldfield: estimation_idestimation id must be a valid UUIDExecuteSend the estimate's id
ErrorInvalidFieldfield: token_addresstoken address must be a valid addressExecuteSend a token address from the estimate
ErrorNotFound—Entity not foundExecuteUnknown estimation_id, or amount sent without estimation_id. Estimate, then execute with its id
ErrorExpired—Estimation expired or executedExecuteThe estimate passed expires_at, was executed, or was spent by a refused execute. Estimate again
ErrorGeneralsource_token_address: Source token address not found in estimationRequest failed validationExecutetoken_address was not quoted. The estimate is now spent — estimate again with the token in tokens
ErrorInsufficientFundsavailableBalance, requiredAmountInsufficient fundsExecuteThe wallet holds less of token_address than the quoted debit. Nothing is debited, but a Failed / insufficient_funds item is still added to the activity feed. Fund the wallet or choose another quoted token, then estimate again
ErrorGeneral—Capability is not activeExecuteThe outbound capability for this rail is not Active

Authorization Errors (401)

In Signature mode a missing, expired, reused or non-matching transaction_authorization returns 401. See
Transaction Authorization — Error Handling.

Permission Errors (403)

Error ReasonDescriptionResolution
ErrorPermissionDeniedUser does not have required permissionsTransfers need TransactionCreate or TransactionSu

Server Errors (500)

Error ReasonDescriptionResolution
ErrorGeneralDatabase errorreference is longer than 255 characters. No transfer is created. Shorten reference and estimate again
ErrorGeneralFailed to estimate bank transferThe rate service or bank service was unavailable. Retry
ErrorGeneralFailed to initiate bank transferThe transfer was not submitted. Check the activity feed, then estimate again before retrying

Did this page help you?