Skip to main content
POST
Step 2 Add bank account (passkey or wallet)

Authorizations

X-Pubkey, X-Timestamp, X-Signature
string
header
required

Headers

X-Pubkey
string
required

Integrator's ECDSA public key (P-256 curve, compressed SEC1 format). Example: 0x038fedef7c12f93bbf342ad8943b7a825a3b41f61c9dc118b2c718efebabbf62fd

X-Timestamp
string
required

Unix timestamp in seconds (UTC). Must be within tolerance window (1 minute) to prevent replay attacks. Example: 1760375826

X-Signature
string
required

ECDSA signature (DER-encoded, hex with 0x prefix). Signs the message: {timestamp}{METHOD}{path_and_query}{json_body}. Example: 0x3045022100...

Query Parameters

chain_id
integer<int32> | null

Chain ID the payload was requested for (1 for Ethereum, 8453 for Base). Defaults to 1

Required range: x >= 0

Body

application/json

Bank account details to associate with the Byzantine account, and the signature authorizing it

How the account owner authorized the bank account addition

accountId
string<uuid>
required

A UUID string

Example:

"550e8400-e29b-41d4-a716-446655440000"

currency
enum<string>
required
Available options:
usd,
eur,
usdc,
eurc
label
string
required
signedBody
object
required

The object that needs to be signed by the end user to make a transaction.

webAuthnStamp
string
required

Cryptographically passkey signed (stamped). For more info, see authentication methods.

achBankAccountDetails
object | null
ibanBankAccountDetails
object | null

Response

Bank account added successfully

bankAccountId
string<uuid>
required

A UUID string

Example:

"550e8400-e29b-41d4-a716-446655440000"

accountId
string<uuid>
required

A UUID string

Example:

"550e8400-e29b-41d4-a716-446655440000"

label
string
required

The label the customer gave this bank account at add-bank-account.

Example:

"Business account"

liquidationAddress
string
required
createdAt
string<date-time>
required
destinationCurrency
enum<string>
required
Available options:
usd,
eur,
usdc,
eurc
destinationRail
enum<string>
required
Available options:
ach,
sepa,
ethereum,
base
bankName
string | null

Name of the bank holding the account, as declared at add-bank-account (null when the IBAN payload did not declare it, or for bank accounts added before it was recorded).

Example:

"BNP Paribas"

last4
string | null

Last four characters of the account number (IBAN or ACH) declared at add-bank-account (null for bank accounts added before it was recorded). The full number is never stored.

Example:

"1234"