List settlements by reference

GET/uda/settlements/by-reference

Look up settlements by a reference you already know. The reference is currently the on-chain deposit transaction id that funded the settlement — useful when you know what you paid with but not the internal settlement id. A single deposit transaction can fund multiple settlements, so the response is always a list (empty when nothing matches).

Query parameters

  • referencestringrequired

    Lookup reference (on-chain deposit transaction id).

Responses

Matching settlements.

  • livemodeboolean

    true when the API key that made the request acts in a live environment, false in a sandbox.

    Show full description

    It is on every object a keyed request answers with — the resource itself, each item of a list, and each object inside a list a resource carries — but not on the success/message envelope or on an object nested directly in another (such as destination, fees or pagination), so a payload read on its own still says which side of the boundary it came from. The two public endpoints answer without it. It is derived from the key at the time of the response and is never stored.

  • referencestring

    The reference that was looked up.

  • countinteger
    • livemodeboolean

      true when the API key that made the request acts in a live environment, false in a sandbox.

      Show full description

      It is on every object a keyed request answers with — the resource itself, each item of a list, and each object inside a list a resource carries — but not on the success/message envelope or on an object nested directly in another (such as destination, fees or pagination), so a payload read on its own still says which side of the boundary it came from. The two public endpoints answer without it. It is derived from the key at the time of the response and is never stored.

    • idstring
    • uda_idstring
    • statusstringenum created · refill_pending · refill_confirmed · awaiting_credit · routing · retrying · completed · failed · refunded

      Where the settlement is in its lifecycle. created: the deposit was credited and a settlement opened. refill_pending / refill_confirmed: the deposit address is being funded with gas (TRON-origin deposits) before the funds move.

      Show full description

      awaiting_credit: parked until the workspace has gas credit to pay for it; it resumes on its own and uses no retry. routing: the funds are moving to the destination. retrying: an attempt failed and another is scheduled. completed: delivered. failed: retries ran out. refunded: Stridge returned the deposit instead of settling it, from retrying, awaiting_credit or failed. completed and refunded are final.

    • created_atstring <date-time>
    • updated_atstring <date-time>
    • errorstring

      Why the last attempt failed or was refused, typically present while status is retrying, awaiting_credit or failed. Cleared when the settlement is retried or resumes; omitted when empty.

    • What was taken between the deposit and the settlement, as integer strings in the base units of the deposit's asset (not the destination asset).

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

Set your api key as STRIDGE_API_KEY (sent as X-API-Key).

Response200
"livemode": true,
"reference": "0xab12cd34ef56...7890",
"count": 1,
"livemode": true,
"id": "stl_71829304a5b6c7d8",
"uda_id": "uda_2f8c1a9d4e5f6071",
"status": "completed",
"created_at": "2026-05-29T11:58:41Z",
"updated_at": "2026-05-29T11:59:25Z",
"error": "",
"address": "0x7c2d9a1b3e4f5061728394a5b6c7d8e9f0a1b2c3",
"amount": "1000000",
"asset_symbol": "USDC",
"asset_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"network_id": 1,
"network_name": "Ethereum",
"tx_hash": "0xab12cd34ef56...7890",
"confirmed_at": "2026-05-29T11:58:40Z"
},
"address": "0x3a1f8b2c9d4e5f60718293a4b5c6d7e8f9012345",
"amount": "998500",
"asset_symbol": "USDC",
"asset_address": "0x55d398326f99059fF775485246999027B3197955",
"network_id": 56,
"network_name": "BNB Smart Chain",
"tx_hash": "0xcd34ef5678...90ab",
"settled_at": "2026-05-29T11:59:25Z"
},
"total": "1500",
"platform": "1500",
"provider": "0",
"fee_amount": "1500"
},
"provider": "lifi",
"type": "cross_chain_swap",
"time_ms": 45000
}
}
]
}