Settlements

A settlement is the record of one UDA deposit moving from its source chain to your destination chain and token. One deposit produces one settlement, and you can fetch it at any time with GET /v1/uda/settlements/{id}.

Use this page to track a deposit, find its settlement, and reconcile.

Lifecycle

Settlement lifecycleA confirmed deposit opens a settlement that resolves to completed on success or failed when every provider attempt is exhausted.
deposit.confirmed
settlement.created
settlement.completed
settlement.failed
routing accepted
destination tx landed
on failure
A confirmed deposit opens a settlement that resolves to completed on success or failed when every provider attempt is exhausted.

A settlement starts as created and ends as completed, failed, or refunded. On the way, its status can pass through these values:

statusMeaningTerminal
createdThe deposit is confirmed and the settlement is open.No
refill_pending / refill_confirmedStridge is topping up network gas on the deposit address before routing.No
awaiting_creditYour workspace's gas credit can't cover the settlement. It resumes when credit is topped up and spends no retry.No
routingThe swap or bridge is executing.No
retryingAn attempt failed and Stridge is trying again.No
completedFunds are in the destination token on the destination chain.Yes
failedEvery attempt is exhausted. error says why.Yes
refundedStridge returned the deposit instead of settling it.Yes

Each change you need to act on also sends an endpoint created now a webhook event that names the settlement: uda.settlement.created, .retrying, .awaiting_credit, .completed, .failed and .refunded. Read the settlement it names and act on its status. See Webhooks.

The settlement record

GET /v1/uda/settlements/{id}
{
  "id": "bcc2b0c1-f75c-43b2-b1bc-c44437d775f4",
  "status": "completed",
  "uda_id": "31d32b68-e455-42b7-9d39-d2904adbe1b8",
  "created_at": "2026-04-24T06:56:06Z",
  "updated_at": "2026-04-24T06:56:17Z",
  "deposit": {
    "network_id": 9006,
    "network_name": "bsc",
    "address": "0x3b7e9d1a5c2f4b8e6d0c9f3a2b1e4d5c7a9b8e0f",
    "asset_address": "",
    "asset_symbol": "BNB",
    "amount": "5000000000000000",
    "tx_hash": "0xb7b493e68121ce6c7c39b6e0dce56fd45899277a8a85e5c524a718a00837355c",
    "confirmed_at": "2026-04-24T06:55:59Z"
  },
  "route": {
    "provider": "lifi",
    "type": "cross_chain_diff_token",
    "time_ms": 11000
  },
  "fees": {
    "fee_amount": "18485000000000",
    "platform": "0",
    "provider": "18485000000000",
    "total": "18485000000000"
  },
  "settlement": {
    "network_id": 9001,
    "network_name": "arbitrum",
    "address": "0x8f4a2c9e1b3d7f5a6c8e0d9b2a4c6e8f0a2c4d6e",
    "asset_address": "0xaf88d065e77c8cc2239327c5edb3a432268e5831",
    "asset_symbol": "USDC",
    "amount": "3140",
    "tx_hash": "0x158ffc8b098ae63d697485a75666a337eaab18a2167ff417861f3209dffce29b",
    "settled_at": "2026-04-24T06:56:17Z"
  }
}
FieldNotes
deposit.*The source-chain deposit: network, deposit address, asset, amount in base units, and tx_hash. asset_address is empty for a native coin.
settlement.*The delivery on the destination chain, with the same fields.
route.providerWho executed the route: lifi, relay, or stridge for a same-chain transfer.
route.typeThe route: same_chain_same_token, same_chain_diff_token, cross_chain_same_token, or cross_chain_diff_token. See Routes.
route.time_msTime from created_at to updated_at, in milliseconds.
fees.totalThe total fee, in the deposit asset's base units. fee_amount repeats it.
fees.platform / fees.providerThe split: Stridge's platform fee and the routing provider's cost.
errorPresent only when status is failed: the failure reason.

Routes other than a same-chain transfer are quoted across LI.FI and Relay, and the best executable quote wins. The dashboard shows the same record under Settlements.

Find settlements

To findCallNotes
One settlementGET /v1/uda/settlements/{id}404 if it doesn't exist.
A UDA's settlementsGET /v1/uda/{uda_id}/settlementsPaginated with limit (default 50, max 200) and offset. Returns data plus pagination (limit, offset, count).
What a deposit fundedGET /v1/uda/settlements/by-reference?reference={deposit_tx_hash}reference is required (400 without it). Returns reference, count, and a data list, empty when nothing matches.

List entries have the same shape as the single record. Look up by reference when you know the transaction your user paid with but not the settlement id; one transaction can carry several deposits, so the answer is always a list:

curl 'https://api.stridge.com/v1/uda/settlements/by-reference?reference=0xb7b493e68121ce6c7c39b6e0dce56fd45899277a8a85e5c524a718a00837355c' \
  -H "X-API-Key: $STRIDGE_API_KEY"
Tip

The reference is the deposit transaction hash: deposit.tx_hash on the settlement record, and tx_id on the deposit a deposit.confirmed event names. Read it from the object, store it next to your order, and you can resolve a settlement without storing Stridge's settlement id.

Quote before a deposit

Call GET /v1/uda/quote, which needs no API key, to show the expected fee and settlement time before your user sends. Pass a Stridge network_id or EIP-155 chain id for each side, token addresses (the zero address for a native coin), and amount in base units; from_address makes the quote executable. Quote again once expires_at passes. Try it in the live quote.

curl 'https://api.stridge.com/v1/uda/quote?from_network_id=9006&from_asset=0x0000000000000000000000000000000000000000&to_network_id=9001&to_asset=0xaf88d065e77c8cC2239327C5EDb3A432268e5831&amount=5000000000000000&from_address=0x3b7e9d1a5c2f4b8e6d0c9f3a2b1e4d5c7a9b8e0f'

When a deposit doesn't settle

CaseWhat happensWhat to do
An attempt failsThe settlement moves to retrying and Stridge retries automatically, up to a limit.Nothing. Wait for completed or failed.
Every attempt failsuda.settlement.failed, with an error. There is no further automatic retry, and the deposit isn't lost.Contact Stridge support, who can retry or refund it.
A very small depositIt settles but delivers very little, or fails if it can't cover the fees.Enforce a minimum deposit in your UI.
An asset outside accepted_assetsThe deposit is recorded but not settled. The funds stay at the deposit address and aren't sent back automatically.Contact Stridge support to recover them.

Reconcile

  • On every uda.settlement.* event, read the settlement it names and store its id, its status, the deposit's tx_hash, and, once completed, the delivering transaction. If your queue falls behind, replay from GET /v1/uda/{uda_id}/settlements.
  • Join a deposit to its settlements on the deposit transaction: GET /v1/uda/settlements/by-reference returns the settlements a deposit transaction funded.
  • Book fees from fees.total, which is always in the deposit asset's base units.

Next steps

Was this page helpful?