
Step 1: Generate your API Keys
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.
Step 2: Onboard a customer
Create a customer ID for each sender initiating a payment. 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.Request
Response
- Visiting the
tos_linkand accepting terms of service - Completing identity verification via the
kyc_link
Step 3: Create a wallet
Create a wallet for the recipient to receive funds from the sender. The below example explains how to create a Bridge wallet associated with a customer object.Request
Response
Use the
bridge_wallet_id when referencing the wallet in other Bridge APIs.Step 4: Create a virtual account
Create a USD or EUR account for the sender. Provide them with the bank instructions so they can deposit funds. Deposits are converted to stablecoins and sent to their wallet. Use the Virtual Accounts API to provision permanent fiat deposit addresses for your customers. You define thesource 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
- EUR Virtual IBAN
- MXN Virtual Account
- BRL Virtual Account
- GBP Virtual Account (Beta)
- Tab Title
- Tab Title
Request
Response
Sharing Deposit Instructions
Once a Virtual Account is created, use thesource_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.
Step 5: Explore Cards
Enable users to spend their stablecoin balances locally. The below API example provision a card tied to a Bridge wallet.Request
Retrieve card details
Access card metadata, expiration, and access a secure image of the card.Request
Response
You can now share these card details with your customer to start spending!
