Manage your customer’s treasury funds with USDB – a Bridge-issued stablecoin backed 1:1 by US dollars. USDB earns treasury yield, and that yield is shared with you. Create a virtual account and wallet to custody treasury funds. Fiat deposits into the virtual account are converted to stablecoins and held in the customer’s wallet. Use the Transfers API to enable customers to pay vendors.
Head over to dashboard.bridge.xyz. Once logged in, click on the “API Keys” tab on the top menu bar and generate a new API key.Bridge will make your API key available only once, so make sure to immediately copy and save the key safely and securely.
Your key is used to authenticate into our APIs and is highly sensitive. If it ever gets compromised, you can immediately revoke key access from our dashboard and generate a new key.
Create a customer ID for each business. Customers will need to accept our terms of service and complete KYC.Check out this guide for a full in depth explanation on onboarding customers. The below example walks you through using a KYC link to onboard your customer.
Create a wallet for your customer to hold treasury funds in USDB.The below example explains how to create a Bridge wallet associated with a customer object.
Create a USD or EUR account for the customer. Provide them with the bank instructions so they can receive payments. Deposits are converted to stablecoins and held in their wallet.Use the Virtual Accounts API to provision permanent fiat deposit addresses for your customers. You define the source currency for the account and configure the destination to specify where Bridge should deliver the converted funds.Bridge handles the fiat-to-crypto conversion and sends the funds on-chain automatically.
USD Virtual Account
SEPA Virtual IBAN
MXN Virtual Account
BRL Virtual Account (In Beta)
Request
Copy
Ask AI
curl --location --request POST 'https://api.bridge.xyz/v0/customers/<customer_id>/virtual_accounts' \--header 'Content-Type: application/json' \--header 'Api-Key: <Api-Key>' \--header 'Idempotency-Key: <Unique Idempotency Key>' \--data-raw '{ # The source object specifies a USD virtual account. "source": { "currency": "usd", }, # The destination object instructs Bridge where to send the USD deposits to. # Bridge will automatically handle converting and sending USD to the crypto destination. "destination": { "payment_rail": "ethereum", "currency": "usdc", "address": "0x3f5CE5FBFe3E9af3971dD833D26BA9b5C936f0bE" }, # You can specifcy an optional developer fee to monetize on transactions. "developer_fee_percent": "1.0" // 1%.}'
Once a Virtual Account is created, use the source_deposit_instructions object in the response to share the fiat deposit details with your customer. Funds sent to those details will be automatically converted and delivered to the crypto destination you specified.
Add and store a vendor’s bank account details to send payments from the customer.You can add external fiat accounts through our External account API using the following request.