For the complete documentation index, see llms.txt. This page is also available as Markdown.

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_idstringRequired

Stable Qiro identifier for one facility closure workflow.

Example: fcl_01J5TD1C8Q4NPattern: ^fcl_[A-Za-z0-9]+$
Header parameters
X-Correlation-IDstring · min: 1 · max: 128Optional

Optional end-to-end request identifier. The SDK supplies one automatically; Qiro generates and echoes one when absent.

Example: cor_repayment_123
Responses
200

Current facility closure state and verified evidence.

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
}

Last updated