> For the complete documentation index, see [llms.txt](https://docs.qiro.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qiro.fi/developer-section/openapi-spec.md).

# OpenAPI Spec

- [Authentication](https://docs.qiro.fi/developer-section/openapi-spec/authentication.md)
- [Obtain an access token](https://docs.qiro.fi/developer-section/openapi-spec/authentication/obtain-an-access-token.md)
- [Facilities](https://docs.qiro.fi/developer-section/openapi-spec/facilities.md)
- [Retrieve an approved facility](https://docs.qiro.fi/developer-section/openapi-spec/facilities/retrieve-an-approved-facility.md)
- [Drawdowns](https://docs.qiro.fi/developer-section/openapi-spec/drawdowns.md)
- [Request a drawdown](https://docs.qiro.fi/developer-section/openapi-spec/drawdowns/request-a-drawdown.md)
- [Retrieve drawdown status](https://docs.qiro.fi/developer-section/openapi-spec/drawdowns/retrieve-drawdown-status.md)
- [Prepare the borrower transaction](https://docs.qiro.fi/developer-section/openapi-spec/drawdowns/prepare-the-borrower-transaction.md)
- [Repayments](https://docs.qiro.fi/developer-section/openapi-spec/repayments.md)
- [Preview full repayment of one drawdown](https://docs.qiro.fi/developer-section/openapi-spec/repayments/preview-full-repayment-of-one-drawdown.md)
- [Create a full-drawdown repayment](https://docs.qiro.fi/developer-section/openapi-spec/repayments/create-a-full-drawdown-repayment.md)
- [Retrieve repayment status](https://docs.qiro.fi/developer-section/openapi-spec/repayments/retrieve-repayment-status.md)
- [Prepare the next repayment transaction](https://docs.qiro.fi/developer-section/openapi-spec/repayments/prepare-the-next-repayment-transaction.md)
- [Facility Closures](https://docs.qiro.fi/developer-section/openapi-spec/facility-closures.md)
- [Preview repayment and closure of a facility](https://docs.qiro.fi/developer-section/openapi-spec/facility-closures/preview-repayment-and-closure-of-a-facility.md)
- [Create an atomic repay-and-close facility closure](https://docs.qiro.fi/developer-section/openapi-spec/facility-closures/create-an-atomic-repay-and-close-facility-closure.md)
- [Retrieve facility closure status](https://docs.qiro.fi/developer-section/openapi-spec/facility-closures/retrieve-facility-closure-status.md)
- [Prepare the next facility closure transaction](https://docs.qiro.fi/developer-section/openapi-spec/facility-closures/prepare-the-next-facility-closure-transaction.md)
- [Webhooks](https://docs.qiro.fi/developer-section/openapi-spec/webhooks.md)
- [Receive a partner lifecycle event](https://docs.qiro.fi/developer-section/openapi-spec/webhooks/receive-a-partner-lifecycle-event.md): Qiro sends this request to the partner's configured receiver. Delivery is at least once.
  The partner must durably accept the raw body before returning \`2xx\`, verify the signature,
  deduplicate by \`event\_id\`, and use \`resource\_version\` for per-resource ordering.

  Signature input is \`\<X-Qiro-Timestamp>.\<rawBody>\`. The signature is the lowercase
  hexadecimal HMAC-SHA256 digest prefixed with \`v1=\`.

- [Models](https://docs.qiro.fi/developer-section/openapi-spec/models.md)
