Preview repayment and closure of a facility
Returns an optional, non-reserving preview of all facility and drawdown obligations required by repayDrawdownsAndClose. The preview is not required to create a closure and does not freeze the displayed amount. Qiro reads fresh obligations again when closure is created.
- : Read facility closure dues and closure resources.
Stable Qiro identifier for one approved LOC facility.
fac_01J5T4K8D7X2Pattern: ^fac_[A-Za-z0-9]+$Optional end-to-end request identifier. The SDK supplies one automatically; Qiro generates and echoes one when absent.
cor_repayment_123Current informational facility closure preview.
Invalid schema, field format, or correlation identifier.
The bearer token is missing, invalid, or expired.
The authenticated partner does not own the resource or lacks the required scope.
The facility was not found for the authenticated partner.
Idempotency, workflow state, or verified facility identity conflicts with the request.
Contract, RPC, subgraph, or reconciliation infrastructure is temporarily unavailable.
GET /v1/facilities/{facility_id}/closure-dues HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"facility_id": "text",
"repayment_asset": "USDC",
"loc_address": "text",
"token_address": "text",
"token_decimals": 1,
"active_drawdown_ids": [
"text"
],
"outstanding_drawdown_count": 1,
"designated_wallet": {
"wallet_id": "text",
"wallet_version": 1,
"address": "text",
"chain_id": 1
},
"facility": {
"interest": {
"amount": "text",
"amount_base_units": "text"
},
"late_fees": {
"amount": "text",
"amount_base_units": "text"
},
"total": {
"amount": "text",
"amount_base_units": "text"
}
},
"drawdowns": {
"principal": {
"amount": "text",
"amount_base_units": "text"
},
"interest": {
"amount": "text",
"amount_base_units": "text"
},
"late_fees": {
"amount": "text",
"amount_base_units": "text"
},
"total": {
"amount": "text",
"amount_base_units": "text"
}
},
"quoted_total": {
"amount": "text",
"amount_base_units": "text"
},
"maximum_closure": {
"amount": "text",
"amount_base_units": "text"
},
"calculated_at": "2026-01-01T00:00:00.000Z"
}Last updated