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

Request a drawdown

Creates a durable drawdown resource and starts asynchronous eligibility validation. A 202 response does not mean the drawdown is approved or funded.

The high-level SDK continues by polling this resource, preparing the transaction, asking the partner's wallet to sign and broadcast, and verifying the confirmed request event. The SDK returns after borrower-request confirmation; admin approval and funding remain asynchronous.

The authenticated partner, facility ID, and idempotency key identify the operation. Repeating the same key with the same request returns the original resource. Reusing the key with a different request returns IDEMPOTENCY_CONFLICT.

The partner must not send a wallet, chain, contract, rate, fee, or limit. Qiro resolves those values from the approved facility.

post
Required scopes
This endpoint requires the following scopes:
  • : Create and prepare partner drawdowns.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
facility_idstringRequired

Stable Qiro identifier for one approved LOC facility.

Example: fac_01J5T4K8D7X2Pattern: ^fac_[A-Za-z0-9]+$
Header parameters
X-Correlation-IDstring · min: 1 · max: 128Required

End-to-end request identifier. When the body contains correlation_id, both values must match.

Example: cor_drawdown_123
X-Idempotency-Keystring · uuidRequired

UUID protecting a money-sensitive operation from duplicate execution. Qiro SDK methods generate and reuse it automatically.

Example: 4c61128a-25c1-4f5f-9490-65e09bc93633
Body
client_idstring · min: 1 · max: 128Required
client_namestring · min: 1 · max: 256Required

Descriptive only; Qiro's stored borrower name remains authoritative.

amountstringRequired

Positive decimal display-unit amount. JSON numbers are not accepted.

Pattern: ^(?:0\.(?:0*\d*[1-9]\d*)|[1-9]\d*(?:\.\d+)?)$
settlement_assetstring · enumRequiredPossible values:
use_casestring · enumRequiredPossible values:
requested_tenor_daysinteger · min: 1Required
correlation_idstring · min: 1 · max: 128Required
Responses
202

Drawdown accepted for asynchronous validation.

application/json
post/v1/facilities/{facility_id}/drawdowns
POST /v1/facilities/{facility_id}/drawdowns HTTP/1.1
Authorization: Bearer YOUR_OAUTH2_TOKEN
X-Correlation-ID: text
X-Idempotency-Key: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 469

{
  "client_id": "rem_123",
  "client_name": "ABC Remittance Company",
  "amount": "500000.00",
  "settlement_asset": "USDT",
  "use_case": "REMITTANCE_PREFUNDING",
  "business_transaction": {
    "type": "PAYOUT_BATCH",
    "industry_type": "REMITTANCE_AND_MONEY_TRANSFER",
    "settle_transaction_id": "txn_123",
    "external_reference": "batch_987",
    "source_currency": "USD",
    "source_country": "US",
    "destination_currency": "PHP",
    "destination_country": "PH"
  },
  "requested_tenor_days": 3,
  "correlation_id": "cor_drawdown_123"
}
{
  "drawdown_id": "drw_01J5T6CNR5ZE",
  "facility_id": "fac_01J5T4K8D7X2",
  "client": {
    "client_id": "rem_123",
    "client_name": "ABC Remittance Company",
    "client_type": "REMITTANCE_COMPANY"
  },
  "status": "VALIDATING",
  "amount": "500000.00",
  "amount_base_units": "500000000000000000000000",
  "settlement_asset": "USDT",
  "use_case": "REMITTANCE_PREFUNDING",
  "business_transaction": {
    "type": "PAYOUT_BATCH",
    "industry_type": "REMITTANCE_AND_MONEY_TRANSFER",
    "settle_transaction_id": "txn_123",
    "external_reference": "batch_987",
    "source_currency": "USD",
    "source_country": "US",
    "destination_currency": "PHP",
    "destination_country": "PH"
  },
  "designated_wallet": {
    "wallet_id": "wal_01J5T4M4C6H8",
    "wallet_version": 3
  },
  "requested_tenor_days": 3,
  "duration_seconds": "259200",
  "correlation_id": "cor_drawdown_123",
  "rejection": null,
  "failure": null,
  "blockchain_evidence": [],
  "funded_drawdown_id": null,
  "created_at": "2026-08-12T10:30:00Z",
  "updated_at": "2026-08-12T10:30:00Z",
  "resource_version": 1
}

Last updated