Retrieve facility closure status
Retrieve current facility closure state and independently verified chain evidence.
get
Required scopes
This endpoint requires the following scopes:
- : Read facility closure dues and closure resources.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
closure_idstringRequiredExample:
Stable Qiro identifier for one facility closure workflow.
fcl_01J5TD1C8Q4NPattern: ^fcl_[A-Za-z0-9]+$Header parameters
X-Correlation-IDstring · min: 1 · max: 128OptionalExample:
Optional end-to-end request identifier. The SDK supplies one automatically; Qiro generates and echoes one when absent.
cor_repayment_123Responses
200
Current facility closure state and verified evidence.
application/json
400
Invalid schema, field format, or correlation identifier.
application/json
401
The bearer token is missing, invalid, or expired.
application/json
403
The authenticated partner does not own the resource or lacks the required scope.
application/json
404
The requested workflow resource was not found for the authenticated partner.
application/json
get/v1/facility-closures/{closure_id}
GET /v1/facility-closures/{closure_id} HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"closure_id": "text",
"facility_id": "text",
"status": "READY_FOR_SUBMISSION",
"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
},
"latest_quoted_total": {
"amount": "text",
"amount_base_units": "text"
},
"latest_maximum_closure": {
"amount": "text",
"amount_base_units": "text"
},
"verified_allocation": {
"total_paid_base_units": "text",
"principal_paid_base_units": "text",
"interest_paid_base_units": "text",
"late_fees_paid_base_units": "text"
},
"correlation_id": "text",
"failure": {
"code": "text"
},
"blockchain_evidence": [
{
"event_name": "RepaymentMade",
"chain_id": 1,
"contract_address": "text",
"transaction_hash": "text",
"log_index": 1,
"block_number": "text",
"block_hash": "text",
"observed_at": "2026-01-01T00:00:00.000Z",
"total_amount_base_units": "text",
"principal_paid_base_units": "text",
"interest_paid_base_units": "text",
"late_fees_paid_base_units": "text"
}
],
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"resource_version": 1
}PreviousCreate an atomic repay-and-close facility closure
NextPrepare the next facility closure transaction
Last updated