Get a settlement
/ uda/ settlements/ {id}Fetch a single settlement by id. A settlement is created per confirmed deposit on a UDA address and carries the lifecycle state, scenario, and routing transaction ids.
Path parameters
- idstringrequired
Settlement id.
Responses
The settlement.
- livemodeboolean
truewhen the API key that made the request acts in a live environment,falsein a sandbox.Show full descriptionShow less
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/messageenvelope or on an object nested directly in another (such asdestination,feesorpagination), 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 descriptionShow less
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, fromretrying,awaiting_creditorfailed.completedandrefundedare final. - created_atstring <date-time>
- updated_atstring <date-time>
Show 5 more fieldsShow fewer fields
- errorstring
Why the last attempt failed or was refused, typically present while
statusisretrying,awaiting_creditorfailed. Cleared when the settlement is retried or resumes; omitted when empty. - addressstring
- amountstring
- asset_symbolstring
- asset_addressstring
- network_idinteger
- network_namestring
- tx_hashstring
- confirmed_atstring <date-time>
- addressstring
- amountstring
- asset_symbolstring
- asset_addressstring
- network_idinteger
- network_namestring
- tx_hashstring
- settled_atstring <date-time>
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).
- totalstring
- platformstring
- providerstring
- fee_amountstring
Equal to
total(back-compat field).
- providerstring
- typestring
- time_msinteger