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

Preview full repayment of one drawdown

Returns an optional, non-reserving payoff preview. The preview is not required to create a repayment and does not freeze the displayed amount. It includes facility-level obligations because the contract pays those before the selected drawdown. Qiro reads fresh dues again when repayment is created.

get
Required scopes
This endpoint requires the following scopes:
  • : Read dues quotes and repayment resources.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
drawdown_idstringRequired

Stable Qiro identifier for one partner drawdown workflow.

Example: drw_01J5T6CNR5ZEPattern: ^drw_[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 informational full-payoff preview.

application/json
get/v1/drawdowns/{drawdown_id}/dues
GET /v1/drawdowns/{drawdown_id}/dues HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "drawdown_id": "drw_01J5T6CNR5ZE",
  "facility_id": "fac_01J5T4K8D7X2",
  "repayment_asset": "USDT",
  "funded_drawdown_id": "12",
  "loc_address": "0x57923bc2f063a06abc88a1a1c49109191034246e",
  "token_address": "0x4b5ad05a9e8c75536248c4fd917746605e31421e",
  "token_decimals": 18,
  "designated_wallet": {
    "wallet_id": "wal_01J5T4M4C6H8",
    "wallet_version": 3,
    "address": "0xa1f4b263fdf424a92806121652ab6656dc18c767",
    "chain_id": 421614
  },
  "facility": {
    "interest": {
      "amount": "140.41",
      "amount_base_units": "140410000000000000000"
    },
    "late_fees": {
      "amount": "0",
      "amount_base_units": "0"
    },
    "total": {
      "amount": "140.41",
      "amount_base_units": "140410000000000000000"
    }
  },
  "selected_drawdown": {
    "principal": {
      "amount": "500000",
      "amount_base_units": "500000000000000000000000"
    },
    "interest": {
      "amount": "250",
      "amount_base_units": "250000000000000000000"
    },
    "late_fees": {
      "amount": "0",
      "amount_base_units": "0"
    },
    "total": {
      "amount": "500250",
      "amount_base_units": "500250000000000000000000"
    }
  },
  "quoted_total": {
    "amount": "500390.41",
    "amount_base_units": "500390410000000000000000"
  },
  "maximum_repayment": {
    "amount": "500440.449041",
    "amount_base_units": "500440449041000000000000"
  },
  "calculated_at": "2026-08-12T11:00:00Z"
}

Last updated