How It Works
A quote binds a conversion rate between two currencies for a limited window. You request a quote withGET /autoramps/quote, then pass the signed result to POST /autoramps to create an Autoramp that executes at the locked rate.
Once the Autoramp exists, you can keep attaching new quotes to it via POST /autoramps/{autoramp_id}/quotes. Each attached quote stays active until its own valid_until timestamp passes.
When a deposit arrives, Iron picks the newest active quote whose amount_in value and source currency match the deposit. Deposits that don’t match any quote, or only match an expired quote, are returned to sender. When a deposit matches an active quote whose rate-lock has expired (but the quote itself is still within valid_until), behavior depends on the quote’s rate_expiry_policy (see Expiry policies).
Without a quote, conversions execute at the current mid-market rate. With one or more active quotes, the deposit executes at the locked rate of the matching quote.
Key parameters
Rate lock duration: time window where the quoted rate and fee are fully guaranteed. Deposits that match within this window execute at the quoted price. Validity period: total time the quote remains usable. Deposits arriving aftervalid_until will not match this quote.
Rate lock duration caps
Therate_lock_duration_minutes parameter is optional. If omitted, the quote uses the maximum allowed for the pair. Larger values are silently clamped to the cap.
| Currency pair | Max rate lock |
|---|---|
| Pegged pair (EUR ↔ EUR-stablecoin, USD ↔ USD-stablecoin) | 2 days |
| Other fiat ↔ stablecoin (e.g. EUR ↔ USDC) | 10 minutes |
| Stablecoin ↔ stablecoin (e.g. USDC ↔ USDT) | 10 minutes |
| Other crypto pairs (e.g. BTC ↔ USDC) | 1 minute |
Expiry policies
What happens when funds arrive after the rate lock expires depends on therate_expiry_policy you set.
- Return
- Slippage
Validity period equals rate lock duration. Funds arriving after the lock expires are refunded.Example:
- Quote: 100 USD for 0.0025 BTC
- Rate lock: 10 minutes, validity: 10 minutes
- Funds arrive at 12 minutes
- Result: refunded (both windows expired)
Prerequisites
Complete these before requesting a quote:Create and verify a customer
Register a customer via
POST /customers and complete identity verification. The customer must reach Active status before they can transact.See Onboarding Lifecycle for the full flow.Register a recipient address
The
recipient_account_id in your quote request must reference a registered and verified address.- Fiat offramps: register a bank account (SEPA, ACH, Wire, or SWIFT) via
POST /addresses/fiat. The address must be verified before use. See Fiat Addresses. - Crypto swaps: register the destination wallet via
POST /addresses/crypto. Self-hosted wallets require a signed proof-of-ownership message; hosted wallets require the custodian’s DID. See Crypto Addresses.
Authenticate your requests
Include your API key in the
X-API-Key header on every request. See Authentication.Create an Autoramp with a quote
Create a quote
GET /autoramps/quoteRequest a signed quote that defines the conversion rate, lock duration, validity period, and fees. The quote must be passed unchanged when creating an Autoramp.API Example
API Example
Create an Autoramp with the quote
POST /autorampsSubmit the signed quote payload to create an Autoramp. The Autoramp matches inbound deposits against the active quotes attached to it.API Example
API Example
quotes array lists every currently-active quote on the Autoramp. The legacy quote field is deprecated; read quotes instead.Attach a new quote to an existing Autoramp
After the Autoramp exists, you can attach further quotes to keep it executing at locked rates over time. This works only on quote-source Autoramps (source = "Quote").
Get a signed rate quote
GET /autoramps/{autoramp_id}/quoteReturns a SignedAutorampRateQuote. The Autoramp’s recipient, fee profile, and destination currency are reused automatically, so this endpoint has a smaller parameter surface than the initial quote endpoint.The source_currency_code must be one of the Autoramp’s allowed input currencies (the original source_currency plus any entries you registered in additional_in_currencies at creation time).API Example
API Example
Attaching a new quote that shares
amount_in value and source currency with an existing active quote supersedes the older one for incoming deposits. The older quote stays in quotes until its own valid_until passes; nothing is deleted retroactively.Multi-currency input
By default, an Autoramp only accepts deposits in its originalsource_currency. To let it accept additional input currencies (and request quotes for them later), pass additional_in_currency_codes and additional_in_currency_chains when you call GET /autoramps/quote.
The two parameters are index-aligned arrays of up to 16 entries each. The chain at position i describes the code at position i. The list must not include the source_currency itself and must not contain duplicates.
After Autoramp creation, request a quote for any of the additional currencies via GET /autoramps/{autoramp_id}/quote and attach it via POST /autoramps/{autoramp_id}/quotes.
API Example
API Example
Query parameters: GET /autoramps/quote
| Parameter | Type | Required | Description |
|---|---|---|---|
customer_id | string (UUID) | Yes | Unique identifier for the customer. |
source_currency_code | string | Yes | Currency or token being sent (e.g. USDC, USD). |
source_currency_chain | string | Conditional | Blockchain for the source currency. Required for crypto source currencies. |
destination_currency_code | string | Yes | Currency or token being received (e.g. EUR, GBP). |
destination_currency_chain | string | Conditional | Blockchain for the destination currency. Required for crypto destination currencies. |
recipient_account_id | string (UUID) | Yes | UUID of a registered recipient account (fiat_address or verified_crypto_address). |
recipient_account | string | No | Deprecated. Use recipient_account_id instead. Ignored when recipient_account_id is provided. |
amount_out | string | Conditional | Desired output amount in the destination currency. Set either amount_out or amount_in, not both. |
amount_in | string | Conditional | Desired input amount in the source currency. Set either amount_in or amount_out, not both. |
rate_lock_duration_minutes | integer | No | Duration the rate is locked. Defaults to the pair’s maximum; values above the cap are clamped. See the rate-lock cap table above. |
rate_expiry_policy | string | Yes | What happens when the rate lock expires. One of Return, Slippage. |
slippage_tolerance_in_bips | string | Conditional | Allowable deviation from quoted rate (1 bip = 0.01%). Required when rate_expiry_policy is Slippage. |
is_third_party | boolean | Yes | Whether this is a third-party payment Autoramp. Set to false for standard customer-owned accounts. |
expiry_in_hours | integer | Yes | Duration the quote is valid. Max 24. Capped at rate_lock_duration_minutes when rate_expiry_policy is Return. |
additional_in_currency_codes | string array | No | Additional input currencies to allow on the Autoramp beyond source_currency. Up to 16, must not duplicate or include source_currency. Index-aligned with additional_in_currency_chains. |
additional_in_currency_chains | string array | No | Chains for each entry in additional_in_currency_codes. Same length, index-aligned. |
pay_by_reference | boolean | No | If true, the Autoramp uses pay-by-reference. See Autoramp → pay by reference for eligibility rules and the inbound_payment_reference response field. Defaults to false. |
Query parameters: GET /autoramps/{autoramp_id}/quote
The Autoramp’s recipient, destination currency, and fee profile are reused, so only pricing-related parameters are needed.
| Parameter | Type | Required | Description |
|---|---|---|---|
source_currency_code | string | Yes | Currency or token being sent. Must be one of the Autoramp’s allowed input currencies. |
source_currency_chain | string | Conditional | Blockchain for the source currency. Required for crypto source currencies. |
amount_out | string | Conditional | Desired output amount. Set either amount_out or amount_in, not both. |
amount_in | string | Conditional | Desired input amount. Set either amount_in or amount_out, not both. |
rate_lock_duration_minutes | integer | No | Optional. Defaults and clamps as on the initial endpoint. |
rate_expiry_policy | string | Yes | One of Return, Slippage. |
slippage_tolerance_in_bips | string | Conditional | Required when rate_expiry_policy is Slippage. |
expiry_in_hours | integer | Yes | Max 24. |
This endpoint returns
400 Bad Request if called on a standalone (non-quote-source) Autoramp, and 400 if source_currency_code is not one of the Autoramp’s allowed input currencies.Error Handling
| Status | Cause |
|---|---|
400 Bad Request | Quote expired (valid_until passed), signed payload modified, source currency not allowed on the Autoramp, or GET /autoramps/{id}/quote called on a standalone Autoramp. |
401 Unauthorized | Missing or invalid API key. |
404 Not Found | recipient_account_id does not reference a registered address, or autoramp_id not found. |
409 Conflict | Quote already attached (only on POST /autoramps/{autoramp_id}/quotes). |
422 Unprocessable Entity | Required parameter missing or invalid value. |
Autoramp
Create and manage Autoramps.
Autoramp Status
Interpret Autoramp statuses.

