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.
- : Create and prepare partner drawdowns.
Stable Qiro identifier for one approved LOC facility.
fac_01J5T4K8D7X2Pattern: ^fac_[A-Za-z0-9]+$End-to-end request identifier. When the body contains correlation_id, both values must match.
cor_drawdown_123UUID protecting a money-sensitive operation from duplicate execution. Qiro SDK methods generate and reuse it automatically.
4c61128a-25c1-4f5f-9490-65e09bc93633Descriptive only; Qiro's stored borrower name remains authoritative.
Positive decimal display-unit amount. JSON numbers are not accepted.
^(?:0\.(?:0*\d*[1-9]\d*)|[1-9]\d*(?:\.\d+)?)$Drawdown accepted for asynchronous validation.
Invalid schema, field format, or correlation identifier.
The bearer token is missing, invalid, or expired.
The authenticated partner does not own the resource or lacks the required scope.
The facility was not found for the authenticated partner.
Idempotency, workflow state, or verified facility identity conflicts with the request.
The request is valid but rejected by facility, policy, liquidity, or contract rules.
Contract, RPC, subgraph, or reconciliation infrastructure is temporarily unavailable.
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