Fetching drain history
Example request to fetch the drain history of your liquidation address. Check out the API reference.Request
Response
Additional Fields
Destination
Thedestination field will also return additional information when available. This information will be available when the transaction has been fully processed. The information available depends on the destination configuration of the Liquidation Address.
For wires:
Drain States
The drain state refers to the current state of a drain.| State | Description |
|---|---|
in_review | A temporary state that is rarely triggered. Typically resolves automatically within seconds. If unconfirmed after 24 hours, Bridge will contact the developer with next steps. |
funds_received | Acknowledges that Bridge has received your funds and is now processing them on your customer’s behalf. |
payment_submitted | Bridge submitted the crypto payment. Important: the transaction hash provided at this stage may be preliminary and is not guaranteed to be final. Please use the transaction hash returned in the payment_processed state as the finalized transaction hash. |
payment_processed | The payment has been successfully completed. Funds have reached the destination. Depending on configuration, metadata such as destination_tx_hash (on-chain), imad (wires), or trace_number (ACH) may be included. |
undeliverable | Bridge was unable to send the funds. Common reasons include invalid routing/account numbers or unsupported asset types at the destination. |
returned | The payment was sent but failed, and the funds have been returned to Bridge. |
missing_return_policy | In order for us to return the crypto deposit, we need you to configure a crypto return policy with us. Please refer here. |
refunded | Funds that were returned have been delivered to the configured crypto return address destination (learn more here). |
refund_in_flight | A refund has been initiated and is in progress. |
refund_failed | A refund attempt failed. |
error | A problem prevented Bridge from processing the transaction. Manual intervention may be required. Contact Bridge if you haven’t already been notified. |
canceled | The transaction has been canceled and queued for return. Reasons may include falling below the minimum route threshold or AML/EFE rejection. |
Please note that a drain will always progress from
funds_received → payment_submitted → payment_processed. It can never go backwards.