POST
/
customers
/
{customerID}
/
virtual_accounts
curl --request POST \
--url https://api.bridge.xyz/v0/customers/{customerID}/virtual_accounts \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"developer_fee_percent": "0.1",
"source": {
"currency": "usd"
},
"destination": {
"currency": "usdc",
"payment_rail": "base",
"address": "0xdeadbeef"
}
}'
{
"id": "59waova4hbt1vhabj3jo7don6j1mj5peq8i8rhc5l1",
"status": "activated",
"developer_fee_percent": "0.1",
"source_deposit_instructions\"": {
"currency": "usd",
"payment_rails": [
"ach_push",
"wire"
],
"bank_name": "Lead Bank",
"bank_address": "1801 Main St., Kansas City, MO 64108",
"bank_beneficiary_name\"": "Customer Name",
"bank_beneficiary_address\"": "1234 Main St., Kansas City, MO 64108",
"bank_account_number\"": "123456789",
"bank_routing_number\"": "87654321"
},
"destination": {
"currency": "usdc",
"payment_rail": "polygon",
"address": "0xdeadbeef"
}
}

Authorizations

Api-Key
string
header
required

Headers

Idempotency-Key
string

Path Parameters

customerID
string
required

A UUID that uniquely identifies a resource

Required string length: 1 - 42

Body

application/json

Virtual Account object to be created

The body is of type object.

Response

200 - application/json

Virtual Account object created

The response is of type object.