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:
| Guide | Why |
|---|---|
| Getting Started | Platform overview and setup |
| Api Basics | Required headers and request configuration |
| Authentication | How to obtain the corporation token |
| Activating Bank Account Details | Where account_id comes from |
| Capabilities | Each 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 transfer | v3 corridor transfer | |
|---|---|---|
| Rails | SEPA, ACH, Faster Payments | Those three plus PIX, SPEI, FEDWIRE, SWIFT, CIPS, CHATS, FPS-HK, IMPS, InstaPay, BI-FAST, NIP, IPP, PSE |
| Beneficiary | Inline in the request body | A stored recipient, by recipient_id |
| Steps | Estimate, execute | Estimate, initiate, sometimes confirm |
| Endpoint | POST /api/v1/bank/transfer | POST /api/v3/bank/initiate/{corridor} |
| Guide | This page | Corridor 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/estimate | POST /api/v2/bank/transfer/estimate | |
|---|---|---|
| Beneficiary in the request | Not accepted | recipient and recipient_account required on every rail |
| Beneficiary validation | None | The same format checks as Step 2 — a malformed beneficiary fails here, before anything is spent |
| Use when | You need a price before the beneficiary is known | The 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"
}
}| Field | Type | Required | Description |
|---|---|---|---|
account_id | string | Yes | The composite id from GET /api/v1/bank/accounts — <accountId>:<detailsId> |
amount | number | Yes | Amount 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 |
tokens | array of string | No | Token addresses to quote against. Every token in the company's list when omitted |
reference | string | No | Accepted and ignored by the estimate. Send it on Step 2 |
recipient | object | v2: Yes. v1: not accepted | Beneficiary identity — see Beneficiary Identity |
recipient_account | object | v2: Yes. v1: not accepted | Beneficiary 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"
}
]
}| Field | Description |
|---|---|
id | The estimation id. Pass it to the execute call as estimation_id |
expires_at | Unix timestamp after which the estimate is no longer valid — 20 minutes after the estimate |
amount / amount_precise / decimals | Amount the beneficiary receives, after truncation to 2 decimal places. amount_precise is scaled by decimals |
currency | Currency 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_amount | The 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_decimals | Units 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_currency | The 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 isestimation_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"
}
}| Field | Type | Required | Description |
|---|---|---|---|
account_id | string | Yes | The composite account identifier. Determines the rail |
estimation_id | string | Yes | The id from Step 1. See the callout below on amount |
token_address | string | Yes | Token to debit from the corporation wallet. Must be one quoted in the estimate |
recipient | object | Yes | Beneficiary identity |
recipient_account | object | Yes | Beneficiary bank details. Fields required depend on the rail |
reference | string | No | Comment attached to the transfer and returned as reference on the activity. At most 255 characters — a longer value fails with 500, see Server Errors |
amount | number | No | Accepted by validation in place of estimation_id, but a transfer without estimation_id is not executed — see below |
transaction_authorization | object | Conditional | Required when the company's mode is Signature; omit otherwise. See Transaction Authorization |
Response:
{
"id": "5e2a4c64-66f6-4ffc-a994-1b1736ab39e9"
}| Field | Description |
|---|---|
id | Identifier of the transfer. It is the activity feed item's id |
Always send
estimation_id. A request withamountand noestimation_idpasses validation and is
then refused with400 ErrorNotFoundEntity not found: there is no execution at the market rate.
Sending neither is rejected with400 ErrorMissingField.
How execution behaves:
- The debit is the quoted amount. The wallet is debited exactly
estimated_amounts[].precise_amountof
token_address, within seconds of the200. 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_idreturns400 ErrorExpiredEstimation expired or executed. This also applies after a
refusal from the bank side — for exampleSource token address not found in estimationwhen
token_addresswas 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
| Field | Required when | Format |
|---|---|---|
recipient.first_name, recipient.last_name | The 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_name | The 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:
| Rail | Required in recipient_account | Format |
|---|---|---|
| SEPA | iban, bic | iban ^[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})?$ |
| ACH | account_number, routing_number, legal_address; bank_name optional | account_number ^\d{8,18}$, routing_number ^\d{9}$ |
| Faster Payments | account_number, sort_code | account_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 with200and
debited, then refused before it is sent: the item moves throughawaiting_charge_reversaltoFailed/
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_addressis triggered by the ACH field pair, not by the rail. Any request carrying both
account_numberandrouting_numbermust also carrylegal_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, oraccount_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_idwhose details are not SEPA, ACH or Faster Payments is refused. TheFedwireand
FedNowentries of the USD account are refused by the estimate with400 ErrorNotSupported
Invalid account id, and by execute with400 ErrorInvalidFieldInvalid 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:
| Rail | Capability checked |
|---|---|
| SEPA | SepaOut1stParty |
| ACH | AchOut1stParty |
| Faster Payments | FasterPaymentsOut3rdParty |
The
1stPartycapabilities cover transfers to accounts the corporation owns. Faster Payments is
checked againstFasterPaymentsOut3rdPartyinstead. A corporation holding only
SepaOut3rdPartycannot send a SEPA transfer through this endpoint — it needsSepaOut1stParty.
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.
| Rail | type | destination.type |
|---|---|---|
| SEPA | Sepa | SepaBankAccount — bank_account carries iban, bic, owner_name, is_business |
| ACH | AchPush | AchBankAccount — account_number, routing_number, owner_name, is_business |
| Faster Payments | FasterPayment | FasterPaymentBankAccount — 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 Reason | Error Details | Description | Endpoint | Resolution |
|---|---|---|---|---|
ErrorMissingField | field: account_id | account id is required | All | Send the composite id |
ErrorInvalidField | issue: invalid_format | Invalid format for account id | All | The value must be two UUIDs joined by : |
ErrorNotFound | issue: not_found_or_not_owned | Invalid account id | All | The account does not belong to this corporation |
ErrorNotSupported | issue: unsupported_bank_account_type | Invalid account id | Estimate | The details are not SEPA, ACH or Faster Payments. Use a corridor transfer |
ErrorInvalidField | field: account_type | Invalid account type | Execute | As above, on execute |
ErrorInvalidField | field: amount | Invalid value for amount | Estimate | Send an amount greater than 0 |
ErrorGeneral | destination_amount: Invalid destination amount | Request failed validation | Estimate | The amount is below 0.01 after truncation |
ErrorNotFound | — | No estimates found | Estimate | No token in tokens could be quoted — every address is unknown or malformed. Send addresses from the company's token list, or omit tokens |
ErrorMissingField | field: recipient | recipient is required | v2 estimate, execute | Send recipient |
ErrorMissingField | field: recipient_account | recipient account is required | v2 estimate | Send recipient_account |
ErrorMissingField | field: recipient, issue: missing_name | Name is required | v2 estimate | Send first_name and last_name, or company_name |
ErrorMissingField | field: recipient.first_name, … | recipient.first name is required with recipient.last name | Execute | As above |
ErrorInvalidField | field: recipient.first_name, pattern | Invalid format for recipient.first name | v2 estimate, execute | See Beneficiary Identity |
ErrorMissingField | issue: insufficient_account_details | Insufficient account details | v2 estimate, execute | No complete pair in recipient_account. Send iban + bic, account_number + sort_code, or account_number + routing_number |
ErrorInvalidField | field: recipient_account.<field>, pattern | Invalid format for recipient account.<field> | v2 estimate, execute | Check the format table |
ErrorMissingField | field: recipient_account.iban / .bic / .account_number / .sort_code | recipient account.<field> is required | Execute | The pair sent belongs to another rail. Send the account's rail fields |
ErrorMissingField | issue: required_for_ach | recipient account.legal address is required for ACH | v2 estimate, execute | Send legal_address |
ErrorMissingField | field: legal_address.<field>, issue: missing | legal address.<field> is required | v2 estimate, execute | Send line1, city, zip_code, country |
ErrorMissingField | issue: required_for_us | legal address.state is required for US | v2 estimate, execute | Send state for a US address |
ErrorMissingField | field: amount, field: estimation_id | amount is required when estimation id missing | Execute | Send estimation_id |
ErrorInvalidField | field: estimation_id | estimation id must be a valid UUID | Execute | Send the estimate's id |
ErrorInvalidField | field: token_address | token address must be a valid address | Execute | Send a token address from the estimate |
ErrorNotFound | — | Entity not found | Execute | Unknown estimation_id, or amount sent without estimation_id. Estimate, then execute with its id |
ErrorExpired | — | Estimation expired or executed | Execute | The estimate passed expires_at, was executed, or was spent by a refused execute. Estimate again |
ErrorGeneral | source_token_address: Source token address not found in estimation | Request failed validation | Execute | token_address was not quoted. The estimate is now spent — estimate again with the token in tokens |
ErrorInsufficientFunds | availableBalance, requiredAmount | Insufficient funds | Execute | The 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 active | Execute | The 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 Reason | Description | Resolution |
|---|---|---|
ErrorPermissionDenied | User does not have required permissions | Transfers need TransactionCreate or TransactionSu |
Server Errors (500)
| Error Reason | Description | Resolution |
|---|---|---|
ErrorGeneral | Database error | reference is longer than 255 characters. No transfer is created. Shorten reference and estimate again |
ErrorGeneral | Failed to estimate bank transfer | The rate service or bank service was unavailable. Retry |
ErrorGeneral | Failed to initiate bank transfer | The transfer was not submitted. Check the activity feed, then estimate again before retrying |
Updated about 1 month ago

