destination_payment_rail
:
- Real-time rails (e.g. wire, sepa, blockchains): funds are sent instantly
- Batch rails (e.g. ach): funds are queued and processed daily
Routing crypto deposits to a fiat destination
You can create a liquidation address with a fiat destination (off ramp).
1
Step 1: Configure an external bank account
For fiat destinations, you need to first register your customer’s external bank account with us. The following example walks through the option to create external bank accounts via the Bridge API. You also have the option to use Plaid to let your customers link bank accounts, please refer External Accounts for more details.
Request
Response
2
Step 2: Create a liquidation address pointing to the external bank account
With the liquidation address, you can configureYou’ll get a response containing the blockchain address we’ve created.
- the chain and currency you want to receive funds on
- the destination chain, currency, and details you want to send funds to
- :exclamation:the
return_address
so we know where to send funds to if your customer’s transaction fails or is returned by the destination.
Request
Response
Routing crypto deposits to a crypto destination
You also have the option to create a liquidation address with a crypto destination (crypto to crypto)Request
Response
Monitoring liquidation address payments
Drain History
When funds are deposited to a Liquidation Address, Bridge automatically “drains” those funds—converting and forwarding them to the configured destination. Each drain operation creates a Drain Record, which reflects the lifecycle of that individual payment.- You can retrieve the full drain history for a given liquidation address using the Get drain history of a liquidation address) endpoint.
- Bridge will also send you a real time webhook for new drains and state changes.
Drain States
Thestate
field tracks the status of each drain through its lifecycle. Here are the possible values:
State | Description |
---|---|
in_review | The transaction is temporarily held for review. This usually clears automatically. If unresolved after 24 hours, Bridge will contact you. |
funds_received | Bridge has received crypto and is preparing the outgoing payment. |
payment_submitted | The outgoing payment has been sent. Confirmation pending (varies by payment rail). |
payment_processed | Payment successfully completed. Depending on the rail, metadata may include a tx_hash , imad , or trace_number . |
undeliverable | Bridge could not deliver the payment (e.g. invalid account or unsupported asset). |
returned | Payment was sent but later rejected and returned to Bridge. |
refunded | Funds that were returned have been re-sent to an alternative destination. |
error | A system or network issue prevented processing. Manual intervention may be required. |
canceled | The payment was canceled before submission—usually due to AML/EFE review or because it did not meet the minimum transfer threshold. |
Drains can only move forward (funds_received
→payment_submitted
→payment_processed
) and cannot go backward.
Fetching liquidation address drain history
Request
Response
Learn more
Learn more at at Liquidation AddressesConfigure fees via Developer Fees
View supported assets here