Read one settlement

GET/settlements/{id}

Return one settlement whole: both legs, the fees taken between them, the route that carried it and the failure it holds if it has one. It is the same object the list answers with, so a detail view opened from a row renders without a second vocabulary.

  • A settlement belonging to another environment answers 404 resource_missing, identical to an identifier that exists nowhere. The scope is not a filter applied after the object was found: a settlement outside it does not exist for the request, and answering 403 would confirm that the identifier does.

  • A resetting sandbox.

    While a sandbox's reset runs it answers 409 environment_resetting: nothing is served for a sandbox until its reset finishes.

Parameters

Path

  • idstring <uuid>required

    The settlement being addressed. A value that is not a UUID answers 422 parameter_invalid naming id.

Headers

  • X-Stridge-Environmentstring <uuid>optional

    Which environment the request acts inside, on an operation a session and an API key both call. Learn more

    Show full description

    It is required under a person's session, exactly as EnvironmentHeader describes: a session request that omits it answers 400 with environment required, and one naming an environment the caller holds no membership of answers 404.

    An API key names its own environment, so a request made with one omits this header. A key request that sends it answers 400 with environment header not accepted, whatever it names, rather than having the header ignored: a header that is silently ignored hides the integration bug that sent it.

Responses

The settlement resolved.

  • idstring <uuid>required

    The settlement's opaque identifier.

  • objectstringrequired

    The object's type, always settlement.

  • environment_idstring <uuid>required

    The environment this settlement is scoped to. It is carried on the object rather than implied by the request, so the scope a client rendered is the scope the server answered in.

  • livemodebooleanrequired

    true when environment_id names a live environment and false in a sandbox. It is carried on the object itself, so a payload read on its own, a logged response or a webhook body, still says which side of the boundary it came from.

  • uda_idstring <uuid>required

    The unified deposit address the money arrived at, and what the settlement was raised from.

  • statusstringrequiredenum created · refill_pending · awaiting_credit · refill_confirmed · routing · completed · retrying · failed · refunded

    Where the settlement stands. It is raised in created and moves through refill_pending, refill_confirmed and routing to completed; retrying and failed are reachable from routing, and refunded is terminal beside completed.

    Show full description

    awaiting_credit is where a settlement the workspace's gas credit cannot pay for parks: it is reached from created or refill_pending, a top-up resumes it, and waiting to be paid for is not a failure, so it consumes no retry. A client reads this value and never sets it: there is no create and no refund on this family, and POST /settlements/{id}/retry is the one move a client can ask for.

Show 8 more fields
  • One leg of a settlement: where the money sat, on which network, in which asset, and the transaction that moved it. Both legs carry this one shape, the inbound deposit and the outbound settlement alike, so a client renders either with the same component and reads the same keys from each.

    Show full description

    A leg still in flight is described rather than omitted. completed_at is what says a leg has landed: it is null until then, while amount and tx_hash read what the carrier last reported, zero (amount: "0") and the empty string before it reported anything.

    • addressstringrequired

      The address this leg moved to or from: the deposit address the money arrived at on the inbound leg, and the destination it was sent to on the outbound one.

    • network_idinteger <int32>required

      The chain the leg sits on, as the chain's own numeric identifier (60 is Ethereum, 8453 is Base). It is not a UUID and it addresses nothing in this API: it names a network, and a client resolves it against the network catalogue.

    • network_namestringrequired

      The network's wire name, carried beside the identifier so a row renders without resolving the catalogue first.

    • How much moved on this leg, as a TokenAmount in the leg's own asset and its decimals on the leg's network (amount: "1500000000" and amount_decimal: "1500" is 1500 USDT at six decimals).

      Show full description

      On the outbound leg it is what the carrier last reported arriving, zero before it reported anything, and it can be set on a leg that is retrying.

    • asset_symbolstringrequired

      The asset's ticker, or the network's native symbol where the leg moved a native asset.

    • asset_addressstringrequired

      The asset's contract address on this network, and the zero address where the leg moved the network's native asset.

    • tx_hashstringrequired

      The transaction that moved the money on this leg, or the empty string before the carrier reported one, so the key is always readable.

      Show full description

      A transaction on the outbound leg does not mean it landed: a leg that sent one and is retrying carries it too, so a client reads completed_at to know.

    • completed_atstring | null <date-time>required

      When this leg finished: on the inbound leg, when the settlement was opened for the confirmed deposit; on the outbound one, when the settlement completed, and null until it has.

  • One leg of a settlement: where the money sat, on which network, in which asset, and the transaction that moved it. Both legs carry this one shape, the inbound deposit and the outbound settlement alike, so a client renders either with the same component and reads the same keys from each.

    Show full description

    A leg still in flight is described rather than omitted. completed_at is what says a leg has landed: it is null until then, while amount and tx_hash read what the carrier last reported, zero (amount: "0") and the empty string before it reported anything.

    • addressstringrequired

      The address this leg moved to or from: the deposit address the money arrived at on the inbound leg, and the destination it was sent to on the outbound one.

    • network_idinteger <int32>required

      The chain the leg sits on, as the chain's own numeric identifier (60 is Ethereum, 8453 is Base). It is not a UUID and it addresses nothing in this API: it names a network, and a client resolves it against the network catalogue.

    • network_namestringrequired

      The network's wire name, carried beside the identifier so a row renders without resolving the catalogue first.

    • How much moved on this leg, as a TokenAmount in the leg's own asset and its decimals on the leg's network (amount: "1500000000" and amount_decimal: "1500" is 1500 USDT at six decimals).

      Show full description

      On the outbound leg it is what the carrier last reported arriving, zero before it reported anything, and it can be set on a leg that is retrying.

    • asset_symbolstringrequired

      The asset's ticker, or the network's native symbol where the leg moved a native asset.

    • asset_addressstringrequired

      The asset's contract address on this network, and the zero address where the leg moved the network's native asset.

    • tx_hashstringrequired

      The transaction that moved the money on this leg, or the empty string before the carrier reported one, so the key is always readable.

      Show full description

      A transaction on the outbound leg does not mean it landed: a leg that sent one and is retrying carries it too, so a client reads completed_at to know.

    • completed_atstring | null <date-time>required

      When this leg finished: on the inbound leg, when the settlement was opened for the confirmed deposit; on the outbound one, when the settlement completed, and null until it has.

  • What was taken between the two legs, and how it divides. Every figure is a TokenAmount in the deposit leg's own asset and decimals, so the four always add up in one unit.

    • Everything taken between the legs. It is what the deposit's amount is reduced by before the outbound leg is sent.

    • The settlement fee itself, before it is divided between the carrier and Stridge.

    • The carrier's share of the fee. It is zero where no carrier routed the settlement.

    • Stridge's share of the fee.

  • How the money got from one leg to the other: the kind of move it was, who carried it, and how long it took.

    • typestringrequired

      The settlement's corridor: whether it stayed on one network or crossed networks, and whether it kept the deposited asset or changed it.

      Show full description

      It is one of same_chain_same_token, same_chain_diff_token, cross_chain_same_token and cross_chain_diff_token, the values the list's scenario filter accepts. The value set is open rather than a closed enum, so a new corridor is an additive contract change that adds the value here and to the scenario filter together: a client matches the corridors it knows and labels an unrecognised value as one it does not.

    • providerstring | nullrequired

      The carrier that routed the settlement, or null where none did (a move that stayed on one network needs no carrier). It is a name rather than an identifier, and the value set is open.

    • time_msinteger <int32>required

      How long the route took, in milliseconds, measured from the settlement being opened to its completion. It is 0 while the settlement is still in flight.

  • errorstring | nullrequired

    Why the settlement failed, or null on every settlement that has not. It is developer documentation rather than user copy: a surface that renders a specific failure maps the status and this value onto its own message.

  • Where a settlement stands on its retries, and whether a person may retry it by hand. It is carried on every settlement, retried or not, so a surface can say what a retry would do before anyone asks for one.

    Show full description

    Like any nested hash it has no identifier and no object of its own: it means nothing apart from the settlement that carries it.

    • attemptsinteger <int32>required

      How many attempts the settlement has had: the original dispatch and every retry since, by Stridge and by hand together. It is the count the attempts list numbers, so the latest attempt's attempt_number equals it.

    • max_retriesinteger <int32>required

      How many retries Stridge makes on its own before it fails the settlement. A retry by hand while the settlement is retrying spends one of them; one from failed is not held to it.

    • last_attempt_atstring <date-time>required

      When the latest attempt started; the original dispatch until the first retry.

    • next_automatic_attempt_atstring | null <date-time>required

      When Stridge retries next. It is set while the settlement is retrying, and null in every other state.

    • stopped_reasonstring | nullrequiredenum retry_limit_exceeded · tron_resources_exhausted · null

      Why a failed settlement's automatic retries ended, and null in every other state. retry_limit_exceeded is Stridge having made every attempt it makes on its own.

      Show full description

      tron_resources_exhausted is a TRON deposit address that no longer holds the TRX for its own network fee: an automatic retry does not refill it, and a retry by hand does.

    • retryablebooleanrequired

      true when a retry by hand is accepted from where the settlement stands: it is retrying or failed, and its deposit is not being refunded. It says nothing about who may; a role that may not still answers 403.

    • available_atstring | null <date-time>required

      The earliest a retry by hand is accepted, when the last one was less than five minutes ago. null when one is accepted now, and when none is (retryable is false).

  • created_atstring <date-time>required

    When the settlement was raised. RFC3339 UTC, Z suffixed.

  • updated_atstring <date-time>required

    When the settlement last moved. It equals created_at on one that has not moved since it was raised.

Errors

The error.code values this operation can return. Each one links to its entry in the error catalogue, which explains the cause and the fix.

Request
curl "https://api.stridge.com/v2/settlements/string" \
  -H "Authorization: Bearer $STRIDGE_SECRET_KEY"

Set your secret key as STRIDGE_SECRET_KEY (sent as Authorization: Bearer).

Response200
"id": "4c81d3f6-7a92-4b0e-9d1f-2e6a8c05b743",
"object": "settlement",
"environment_id": "3f2a6d7e-6b1c-4f2a-9a11-0b53f8d6b2c1",
"livemode": false,
"uda_id": "1d4b8e07-3c25-4f19-8a6d-5b7c9e0f2a34",
"status": "completed",
"address": "0x7a5f2c81b93e4d6a0c1f8b25e73d940ab6c5e812",
"network_id": 60,
"network_name": "ethereum",
"amount": "12500000",
"amount_decimal": "12.5",
"decimals": 6,
"asset": "USDC"
},
"asset_symbol": "USDT",
"asset_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"tx_hash": "0x9f3c1e7a45b2d80c6e91f4a3527d8bc0e1642f9d7a35c08b4e6d2170fa93c5b8",
"completed_at": "2026-01-14T09:33:52Z"
},
"address": "0x7a5f2c81b93e4d6a0c1f8b25e73d940ab6c5e812",
"network_id": 60,
"network_name": "ethereum",
"amount": "12500000",
"amount_decimal": "12.5",
"decimals": 6,
"asset": "USDC"
},
"asset_symbol": "USDT",
"asset_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"tx_hash": "0x9f3c1e7a45b2d80c6e91f4a3527d8bc0e1642f9d7a35c08b4e6d2170fa93c5b8",
"completed_at": "2026-01-14T09:33:52Z"
},
"amount": "12500000",
"amount_decimal": "12.5",
"decimals": 6,
"asset": "USDC"
},
"amount": "12500000",
"amount_decimal": "12.5",
"decimals": 6,
"asset": "USDC"
},
"amount": "12500000",
"amount_decimal": "12.5",
"decimals": 6,
"asset": "USDC"
},
"amount": "12500000",
"amount_decimal": "12.5",
"decimals": 6,
"asset": "USDC"
}
},
"type": "cross_chain_same_token",
"provider": "lifi",
"time_ms": 8420
},
"error": null,
"attempts": 4,
"max_retries": 3,
"last_attempt_at": "2026-01-14T10:02:11Z",
"next_automatic_attempt_at": null,
"stopped_reason": "retry_limit_exceeded",
"retryable": false,
"available_at": null
},
"created_at": "2026-01-14T09:33:47Z",
"updated_at": "2026-01-14T09:34:20Z"
}