curl --request POST \
--url https://api.sandbox.iron.xyz/api/autoramps/{autoramp_id}/quotes \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'IDEMPOTENCY-KEY: <idempotency-key>' \
--header 'X-API-Key: <api-key>' \
--data '
{
"amount_in": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"amount_out": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"autoramp_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"destination_currency": {
"blockchain": "Solana",
"token": "USDC"
},
"fee": {
"banking_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"iron_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fees": [
{
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
],
"network_fees_with_settlement": [
{
"fee_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
}
],
"partner_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"partner_fees": [
{
"fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"label": "<string>"
}
],
"total_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"transaction_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"deducted_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
},
"quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rate": "<string>",
"rate_lock_valid_until": "2023-11-07T05:31:56Z",
"signature": "<string>",
"source_currency": {
"blockchain": "Solana",
"token": "USDC"
},
"valid_until": "2023-11-07T05:31:56Z",
"payment_reference": "<string>",
"slippage_tolerance_in_bips": "<string>"
}
'import requests
url = "https://api.sandbox.iron.xyz/api/autoramps/{autoramp_id}/quotes"
payload = {
"amount_in": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"amount_out": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"autoramp_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"destination_currency": {
"blockchain": "Solana",
"token": "USDC"
},
"fee": {
"banking_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"iron_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fees": [
{
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
],
"network_fees_with_settlement": [{ "fee_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
} }],
"partner_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"partner_fees": [
{
"fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"label": "<string>"
}
],
"total_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"transaction_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"deducted_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
},
"quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rate": "<string>",
"rate_lock_valid_until": "2023-11-07T05:31:56Z",
"signature": "<string>",
"source_currency": {
"blockchain": "Solana",
"token": "USDC"
},
"valid_until": "2023-11-07T05:31:56Z",
"payment_reference": "<string>",
"slippage_tolerance_in_bips": "<string>"
}
headers = {
"IDEMPOTENCY-KEY": "<idempotency-key>",
"X-API-Key": "<api-key>",
"Content-Type": "application/json; charset=utf-8"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'IDEMPOTENCY-KEY': '<idempotency-key>',
'X-API-Key': '<api-key>',
'Content-Type': 'application/json; charset=utf-8'
},
body: JSON.stringify({
amount_in: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
amount_out: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
autoramp_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
destination_currency: {blockchain: 'Solana', token: 'USDC'},
fee: {
banking_fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
iron_fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
network_fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
network_fees: [{amount: '100.5', currency: {code: 'USD', type: 'Fiat'}}],
network_fees_with_settlement: [{fee_amount: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}}}],
partner_fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
partner_fees: [
{
fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
label: '<string>'
}
],
total_fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
transaction_fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
deducted_fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}}
},
quote_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
rate: '<string>',
rate_lock_valid_until: '2023-11-07T05:31:56Z',
signature: '<string>',
source_currency: {blockchain: 'Solana', token: 'USDC'},
valid_until: '2023-11-07T05:31:56Z',
payment_reference: '<string>',
slippage_tolerance_in_bips: '<string>'
})
};
fetch('https://api.sandbox.iron.xyz/api/autoramps/{autoramp_id}/quotes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.iron.xyz/api/autoramps/{autoramp_id}/quotes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'amount_in' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'amount_out' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'autoramp_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'destination_currency' => [
'blockchain' => 'Solana',
'token' => 'USDC'
],
'fee' => [
'banking_fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'iron_fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'network_fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'network_fees' => [
[
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
]
],
'network_fees_with_settlement' => [
[
'fee_amount' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
]
]
],
'partner_fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'partner_fees' => [
[
'fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'label' => '<string>'
]
],
'total_fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'transaction_fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'deducted_fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
]
],
'quote_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'rate' => '<string>',
'rate_lock_valid_until' => '2023-11-07T05:31:56Z',
'signature' => '<string>',
'source_currency' => [
'blockchain' => 'Solana',
'token' => 'USDC'
],
'valid_until' => '2023-11-07T05:31:56Z',
'payment_reference' => '<string>',
'slippage_tolerance_in_bips' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json; charset=utf-8",
"IDEMPOTENCY-KEY: <idempotency-key>",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.iron.xyz/api/autoramps/{autoramp_id}/quotes"
payload := strings.NewReader("{\n \"amount_in\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"amount_out\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"autoramp_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"destination_currency\": {\n \"blockchain\": \"Solana\",\n \"token\": \"USDC\"\n },\n \"fee\": {\n \"banking_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"iron_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"network_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"network_fees\": [\n {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n ],\n \"network_fees_with_settlement\": [\n {\n \"fee_amount\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n }\n ],\n \"partner_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"partner_fees\": [\n {\n \"fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"label\": \"<string>\"\n }\n ],\n \"total_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"transaction_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"deducted_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n },\n \"quote_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"rate\": \"<string>\",\n \"rate_lock_valid_until\": \"2023-11-07T05:31:56Z\",\n \"signature\": \"<string>\",\n \"source_currency\": {\n \"blockchain\": \"Solana\",\n \"token\": \"USDC\"\n },\n \"valid_until\": \"2023-11-07T05:31:56Z\",\n \"payment_reference\": \"<string>\",\n \"slippage_tolerance_in_bips\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("IDEMPOTENCY-KEY", "<idempotency-key>")
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json; charset=utf-8")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sandbox.iron.xyz/api/autoramps/{autoramp_id}/quotes")
.header("IDEMPOTENCY-KEY", "<idempotency-key>")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json; charset=utf-8")
.body("{\n \"amount_in\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"amount_out\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"autoramp_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"destination_currency\": {\n \"blockchain\": \"Solana\",\n \"token\": \"USDC\"\n },\n \"fee\": {\n \"banking_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"iron_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"network_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"network_fees\": [\n {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n ],\n \"network_fees_with_settlement\": [\n {\n \"fee_amount\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n }\n ],\n \"partner_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"partner_fees\": [\n {\n \"fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"label\": \"<string>\"\n }\n ],\n \"total_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"transaction_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"deducted_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n },\n \"quote_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"rate\": \"<string>\",\n \"rate_lock_valid_until\": \"2023-11-07T05:31:56Z\",\n \"signature\": \"<string>\",\n \"source_currency\": {\n \"blockchain\": \"Solana\",\n \"token\": \"USDC\"\n },\n \"valid_until\": \"2023-11-07T05:31:56Z\",\n \"payment_reference\": \"<string>\",\n \"slippage_tolerance_in_bips\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.iron.xyz/api/autoramps/{autoramp_id}/quotes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["IDEMPOTENCY-KEY"] = '<idempotency-key>'
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json; charset=utf-8'
request.body = "{\n \"amount_in\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"amount_out\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"autoramp_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"destination_currency\": {\n \"blockchain\": \"Solana\",\n \"token\": \"USDC\"\n },\n \"fee\": {\n \"banking_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"iron_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"network_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"network_fees\": [\n {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n ],\n \"network_fees_with_settlement\": [\n {\n \"fee_amount\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n }\n ],\n \"partner_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"partner_fees\": [\n {\n \"fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"label\": \"<string>\"\n }\n ],\n \"total_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"transaction_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"deducted_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n },\n \"quote_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"rate\": \"<string>\",\n \"rate_lock_valid_until\": \"2023-11-07T05:31:56Z\",\n \"signature\": \"<string>\",\n \"source_currency\": {\n \"blockchain\": \"Solana\",\n \"token\": \"USDC\"\n },\n \"valid_until\": \"2023-11-07T05:31:56Z\",\n \"payment_reference\": \"<string>\",\n \"slippage_tolerance_in_bips\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"batch_payout": true,
"created_at": "2023-11-07T05:31:56Z",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deposit_rails": [
{
"address": "10 Downing Street, London, SW1A 2AA, GB",
"beneficiary_name": "Alan Turing",
"bic": "COBADEFFXXX",
"iban": "DE89370400440532013000",
"name": "Iron Bank",
"phone": "+44-20-1234-5678"
}
],
"destination_currency": {
"blockchain": "Solana",
"token": "USDC"
},
"fee_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_third_party": true,
"quotes": [
{
"amount_in": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"amount_out": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"fee": {
"banking_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"iron_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fees": [
{
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
],
"network_fees_with_settlement": [
{
"fee_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
}
],
"partner_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"partner_fees": [
{
"fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"label": "<string>"
}
],
"total_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"transaction_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"deducted_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
},
"quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rate": "<string>",
"rate_lock_valid_until": "2023-11-07T05:31:56Z",
"valid_until": "2023-11-07T05:31:56Z",
"slippage_tolerance_in_bips": "<string>"
}
],
"recipient": {
"account_identifier": {
"iban": "DE89370400440532013000",
"type": "SEPA"
},
"address": {
"city": "London",
"country": {
"code": "GB"
},
"postal_code": "SW1A 2AA",
"state": "England",
"street": "10 Downing Street"
},
"bank_address": null,
"email_address": {
"email": "john.doe@example.com"
},
"is_third_party": false,
"phone_number": "+49-30-12345678",
"provider_country": {
"code": "DE"
},
"provider_name": "Iron Bank",
"recipient": {
"name": "Aperture Science",
"type": "Business"
}
},
"source_currencies": [
{
"blockchain": "Solana",
"token": "USDC"
}
],
"additional_partner_fee_in_bips": "<string>",
"deposit_account": {
"address": "10 Downing Street, London, SW1A 2AA, GB",
"beneficiary_name": "Alan Turing",
"bic": "COBADEFFXXX",
"iban": "DE89370400440532013000",
"name": "Iron Bank",
"phone": "+44-20-1234-5678"
},
"external_id": "<string>",
"fps_payment_reference": "<string>",
"inbound_payment_reference": "<string>",
"name": "<string>",
"payment_reference": "<string>",
"quote": {
"amount_in": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"amount_out": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"fee": {
"banking_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"iron_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fees": [
{
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
],
"network_fees_with_settlement": [
{
"fee_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
}
],
"partner_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"partner_fees": [
{
"fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"label": "<string>"
}
],
"total_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"transaction_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"deducted_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
},
"quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rate": "<string>",
"rate_lock_valid_until": "2023-11-07T05:31:56Z",
"valid_until": "2023-11-07T05:31:56Z",
"slippage_tolerance_in_bips": "<string>"
},
"sepa_payment_reference": "<string>",
"swift_payment_reference": "<string>",
"travel_address": "<string>",
"wire_message": "<string>"
}"<string>""<string>""<string>""<string>""<string>"{
"message": "<string>",
"trace_id": "<string>"
}Attach a quote to an existing autoramp
Attaches a signed rate quote to an existing quote-type autoramp.
curl --request POST \
--url https://api.sandbox.iron.xyz/api/autoramps/{autoramp_id}/quotes \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'IDEMPOTENCY-KEY: <idempotency-key>' \
--header 'X-API-Key: <api-key>' \
--data '
{
"amount_in": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"amount_out": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"autoramp_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"destination_currency": {
"blockchain": "Solana",
"token": "USDC"
},
"fee": {
"banking_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"iron_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fees": [
{
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
],
"network_fees_with_settlement": [
{
"fee_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
}
],
"partner_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"partner_fees": [
{
"fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"label": "<string>"
}
],
"total_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"transaction_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"deducted_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
},
"quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rate": "<string>",
"rate_lock_valid_until": "2023-11-07T05:31:56Z",
"signature": "<string>",
"source_currency": {
"blockchain": "Solana",
"token": "USDC"
},
"valid_until": "2023-11-07T05:31:56Z",
"payment_reference": "<string>",
"slippage_tolerance_in_bips": "<string>"
}
'import requests
url = "https://api.sandbox.iron.xyz/api/autoramps/{autoramp_id}/quotes"
payload = {
"amount_in": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"amount_out": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"autoramp_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"destination_currency": {
"blockchain": "Solana",
"token": "USDC"
},
"fee": {
"banking_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"iron_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fees": [
{
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
],
"network_fees_with_settlement": [{ "fee_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
} }],
"partner_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"partner_fees": [
{
"fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"label": "<string>"
}
],
"total_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"transaction_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"deducted_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
},
"quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rate": "<string>",
"rate_lock_valid_until": "2023-11-07T05:31:56Z",
"signature": "<string>",
"source_currency": {
"blockchain": "Solana",
"token": "USDC"
},
"valid_until": "2023-11-07T05:31:56Z",
"payment_reference": "<string>",
"slippage_tolerance_in_bips": "<string>"
}
headers = {
"IDEMPOTENCY-KEY": "<idempotency-key>",
"X-API-Key": "<api-key>",
"Content-Type": "application/json; charset=utf-8"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'IDEMPOTENCY-KEY': '<idempotency-key>',
'X-API-Key': '<api-key>',
'Content-Type': 'application/json; charset=utf-8'
},
body: JSON.stringify({
amount_in: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
amount_out: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
autoramp_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
destination_currency: {blockchain: 'Solana', token: 'USDC'},
fee: {
banking_fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
iron_fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
network_fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
network_fees: [{amount: '100.5', currency: {code: 'USD', type: 'Fiat'}}],
network_fees_with_settlement: [{fee_amount: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}}}],
partner_fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
partner_fees: [
{
fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
label: '<string>'
}
],
total_fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
transaction_fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}},
deducted_fee: {amount: '100.5', currency: {code: 'USD', type: 'Fiat'}}
},
quote_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
rate: '<string>',
rate_lock_valid_until: '2023-11-07T05:31:56Z',
signature: '<string>',
source_currency: {blockchain: 'Solana', token: 'USDC'},
valid_until: '2023-11-07T05:31:56Z',
payment_reference: '<string>',
slippage_tolerance_in_bips: '<string>'
})
};
fetch('https://api.sandbox.iron.xyz/api/autoramps/{autoramp_id}/quotes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.iron.xyz/api/autoramps/{autoramp_id}/quotes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'amount_in' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'amount_out' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'autoramp_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'destination_currency' => [
'blockchain' => 'Solana',
'token' => 'USDC'
],
'fee' => [
'banking_fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'iron_fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'network_fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'network_fees' => [
[
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
]
],
'network_fees_with_settlement' => [
[
'fee_amount' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
]
]
],
'partner_fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'partner_fees' => [
[
'fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'label' => '<string>'
]
],
'total_fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'transaction_fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
],
'deducted_fee' => [
'amount' => '100.5',
'currency' => [
'code' => 'USD',
'type' => 'Fiat'
]
]
],
'quote_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'rate' => '<string>',
'rate_lock_valid_until' => '2023-11-07T05:31:56Z',
'signature' => '<string>',
'source_currency' => [
'blockchain' => 'Solana',
'token' => 'USDC'
],
'valid_until' => '2023-11-07T05:31:56Z',
'payment_reference' => '<string>',
'slippage_tolerance_in_bips' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json; charset=utf-8",
"IDEMPOTENCY-KEY: <idempotency-key>",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.iron.xyz/api/autoramps/{autoramp_id}/quotes"
payload := strings.NewReader("{\n \"amount_in\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"amount_out\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"autoramp_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"destination_currency\": {\n \"blockchain\": \"Solana\",\n \"token\": \"USDC\"\n },\n \"fee\": {\n \"banking_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"iron_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"network_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"network_fees\": [\n {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n ],\n \"network_fees_with_settlement\": [\n {\n \"fee_amount\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n }\n ],\n \"partner_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"partner_fees\": [\n {\n \"fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"label\": \"<string>\"\n }\n ],\n \"total_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"transaction_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"deducted_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n },\n \"quote_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"rate\": \"<string>\",\n \"rate_lock_valid_until\": \"2023-11-07T05:31:56Z\",\n \"signature\": \"<string>\",\n \"source_currency\": {\n \"blockchain\": \"Solana\",\n \"token\": \"USDC\"\n },\n \"valid_until\": \"2023-11-07T05:31:56Z\",\n \"payment_reference\": \"<string>\",\n \"slippage_tolerance_in_bips\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("IDEMPOTENCY-KEY", "<idempotency-key>")
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json; charset=utf-8")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sandbox.iron.xyz/api/autoramps/{autoramp_id}/quotes")
.header("IDEMPOTENCY-KEY", "<idempotency-key>")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json; charset=utf-8")
.body("{\n \"amount_in\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"amount_out\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"autoramp_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"destination_currency\": {\n \"blockchain\": \"Solana\",\n \"token\": \"USDC\"\n },\n \"fee\": {\n \"banking_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"iron_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"network_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"network_fees\": [\n {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n ],\n \"network_fees_with_settlement\": [\n {\n \"fee_amount\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n }\n ],\n \"partner_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"partner_fees\": [\n {\n \"fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"label\": \"<string>\"\n }\n ],\n \"total_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"transaction_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"deducted_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n },\n \"quote_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"rate\": \"<string>\",\n \"rate_lock_valid_until\": \"2023-11-07T05:31:56Z\",\n \"signature\": \"<string>\",\n \"source_currency\": {\n \"blockchain\": \"Solana\",\n \"token\": \"USDC\"\n },\n \"valid_until\": \"2023-11-07T05:31:56Z\",\n \"payment_reference\": \"<string>\",\n \"slippage_tolerance_in_bips\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.iron.xyz/api/autoramps/{autoramp_id}/quotes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["IDEMPOTENCY-KEY"] = '<idempotency-key>'
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json; charset=utf-8'
request.body = "{\n \"amount_in\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"amount_out\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"autoramp_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"destination_currency\": {\n \"blockchain\": \"Solana\",\n \"token\": \"USDC\"\n },\n \"fee\": {\n \"banking_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"iron_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"network_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"network_fees\": [\n {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n ],\n \"network_fees_with_settlement\": [\n {\n \"fee_amount\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n }\n ],\n \"partner_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"partner_fees\": [\n {\n \"fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"label\": \"<string>\"\n }\n ],\n \"total_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"transaction_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n },\n \"deducted_fee\": {\n \"amount\": \"100.5\",\n \"currency\": {\n \"code\": \"USD\",\n \"type\": \"Fiat\"\n }\n }\n },\n \"quote_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"rate\": \"<string>\",\n \"rate_lock_valid_until\": \"2023-11-07T05:31:56Z\",\n \"signature\": \"<string>\",\n \"source_currency\": {\n \"blockchain\": \"Solana\",\n \"token\": \"USDC\"\n },\n \"valid_until\": \"2023-11-07T05:31:56Z\",\n \"payment_reference\": \"<string>\",\n \"slippage_tolerance_in_bips\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"batch_payout": true,
"created_at": "2023-11-07T05:31:56Z",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deposit_rails": [
{
"address": "10 Downing Street, London, SW1A 2AA, GB",
"beneficiary_name": "Alan Turing",
"bic": "COBADEFFXXX",
"iban": "DE89370400440532013000",
"name": "Iron Bank",
"phone": "+44-20-1234-5678"
}
],
"destination_currency": {
"blockchain": "Solana",
"token": "USDC"
},
"fee_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_third_party": true,
"quotes": [
{
"amount_in": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"amount_out": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"fee": {
"banking_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"iron_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fees": [
{
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
],
"network_fees_with_settlement": [
{
"fee_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
}
],
"partner_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"partner_fees": [
{
"fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"label": "<string>"
}
],
"total_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"transaction_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"deducted_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
},
"quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rate": "<string>",
"rate_lock_valid_until": "2023-11-07T05:31:56Z",
"valid_until": "2023-11-07T05:31:56Z",
"slippage_tolerance_in_bips": "<string>"
}
],
"recipient": {
"account_identifier": {
"iban": "DE89370400440532013000",
"type": "SEPA"
},
"address": {
"city": "London",
"country": {
"code": "GB"
},
"postal_code": "SW1A 2AA",
"state": "England",
"street": "10 Downing Street"
},
"bank_address": null,
"email_address": {
"email": "john.doe@example.com"
},
"is_third_party": false,
"phone_number": "+49-30-12345678",
"provider_country": {
"code": "DE"
},
"provider_name": "Iron Bank",
"recipient": {
"name": "Aperture Science",
"type": "Business"
}
},
"source_currencies": [
{
"blockchain": "Solana",
"token": "USDC"
}
],
"additional_partner_fee_in_bips": "<string>",
"deposit_account": {
"address": "10 Downing Street, London, SW1A 2AA, GB",
"beneficiary_name": "Alan Turing",
"bic": "COBADEFFXXX",
"iban": "DE89370400440532013000",
"name": "Iron Bank",
"phone": "+44-20-1234-5678"
},
"external_id": "<string>",
"fps_payment_reference": "<string>",
"inbound_payment_reference": "<string>",
"name": "<string>",
"payment_reference": "<string>",
"quote": {
"amount_in": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"amount_out": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"fee": {
"banking_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"iron_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"network_fees": [
{
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
],
"network_fees_with_settlement": [
{
"fee_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
}
],
"partner_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"partner_fees": [
{
"fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"label": "<string>"
}
],
"total_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"transaction_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"deducted_fee": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
}
},
"quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rate": "<string>",
"rate_lock_valid_until": "2023-11-07T05:31:56Z",
"valid_until": "2023-11-07T05:31:56Z",
"slippage_tolerance_in_bips": "<string>"
},
"sepa_payment_reference": "<string>",
"swift_payment_reference": "<string>",
"travel_address": "<string>",
"wire_message": "<string>"
}"<string>""<string>""<string>""<string>""<string>"{
"message": "<string>",
"trace_id": "<string>"
}Authorizations
API Key
Headers
a UUID ensuring the operation is only processed once
Selects the API version for this request, as an ISO date (YYYY-MM-DD). Omit to use the default version (2025-03-13). Supported versions: 2025-03-13, 2026-07-01.
Path Parameters
Body
Signed rate quote for an existing autoramp.
Contains only pricing fields — the autoramp's currencies, recipient, etc. are already known.
Deposits are matched to the newest active quote whose amount_in value and
currency equal the deposit. Attaching a quote that overlaps an existing one
on those fields supersedes it for new deposits; all of the newer quote's
terms apply (rate lock, expiry policy, slippage tolerance, fees).
An amount of money
Show child attributes
Show child attributes
{
"amount": "100.5",
"currency": { "code": "USD", "type": "Fiat" }
}
An amount of money
Show child attributes
Show child attributes
{
"amount": "100.5",
"currency": { "code": "USD", "type": "Fiat" }
}
The autoramp this quote is for
Currency
Can be either crypto or fiat
- Crypto
- Fiat
Show child attributes
Show child attributes
{ "blockchain": "Solana", "token": "USDC" }
Fee
The fee for a given currency pair
Show child attributes
Show child attributes
Fee Settlement
The settlement type for the fee
deductedImmediately, settledLater The id of the quote
The rate
Rate Expiry Policy
The policy for the rate expiry
Return, Slippage The rate lock valid until
The signature
Currency
Can be either crypto or fiat
- Crypto
- Fiat
Show child attributes
Show child attributes
{ "blockchain": "Solana", "token": "USDC" }
The valid until
An optional payout reference used when paying out transactions matched to this quote. Overrides the autoramp's payment reference.
1 - 140^[A-Za-z0-9 /\-?:().+]*$The slippage tolerance in bips
Response
Attach quote successful
Autoramp
The autoramp response
A Autoramp response
Whether payouts for this autoramp are batched daily
The created at timestamp
The id of the customer that owns the autoramp
- IbanDepositInfo
- AfricanBankTransferDepositInfo
- PixDepositInfo
- SpeiDepositInfo
- MobileMoneyDepositInfo
- CryptoWallet
- FpsDepositInfo
- ChapsDepositInfo
- ACHDepositInfo
- WireDepositInfo
- RtpDepositInfo
- FedNowDepositInfo
- SwiftDepositInfo
Show child attributes
Show child attributes
{
"address": "10 Downing Street, London, SW1A 2AA, GB",
"beneficiary_name": "Alan Turing",
"bic": "COBADEFFXXX",
"iban": "DE89370400440532013000",
"name": "Iron Bank",
"phone": "+44-20-1234-5678"
}
Currency
Can be either crypto or fiat
- Crypto
- Fiat
Show child attributes
Show child attributes
{ "blockchain": "Solana", "token": "USDC" }
The fee profile id used for the autoramp
The id of the autoramp
Is this a third party payment (3pp) autoramp
Autoramp type
The type (onramp, offramp, swap) of an autoramp
Onramp, Offramp, Swap, Mint, Redeem Active (non-expired) quotes associated with this autoramp. Deposits are
matched to the newest active quote with matching amount_in value and
currency.
Show child attributes
Show child attributes
Recipient
The recipient of the payment
- RecipientBankAccount
- RecipientWallet
- RecipientPix
Show child attributes
Show child attributes
{
"account_identifier": {
"iban": "DE89370400440532013000",
"type": "SEPA"
},
"address": {
"city": "London",
"country": { "code": "GB" },
"postal_code": "SW1A 2AA",
"state": "England",
"street": "10 Downing Street"
},
"bank_address": null,
"email_address": { "email": "john.doe@example.com" },
"is_third_party": false,
"phone_number": "+49-30-12345678",
"provider_country": { "code": "DE" },
"provider_name": "Iron Bank",
"recipient": {
"name": "Aperture Science",
"type": "Business"
}
}
Autoramp Source
The source of the autoramp
Standalone, Quote The source currencies
Currency
Can be either crypto or fiat
- Crypto
- Fiat
Show child attributes
Show child attributes
{ "blockchain": "Solana", "token": "USDC" }
Created, EditPending, Authorized, DepositAccountAdded, Approved, Rejected, Cancelled The additional partner fee in bips
Deprecated, please use the information in the deposit_rails field instead
- IbanDepositInfo
- AchWireDepositInfo
- AfricanBankTransferDepositInfo
- PixDepositInfo
- SpeiDepositInfo
- MobileMoneyDepositInfo
- CryptoWallet
- ChapsFpsDepositInfo
Show child attributes
Show child attributes
{
"address": "10 Downing Street, London, SW1A 2AA, GB",
"beneficiary_name": "Alan Turing",
"bic": "COBADEFFXXX",
"iban": "DE89370400440532013000",
"name": "Iron Bank",
"phone": "+44-20-1234-5678"
}
External ID for the autoramp, provided by the partner
reference message for outgoing FPS transfers
System-generated inbound memo that senders must include on transfers
to the shared VA. None for autoramps that don't use pay-by-reference.
The name of the autoramp
The payment reference for the autoramp
Deprecated: use the quotes field instead. Returns the newest active (non-expired) quote if any.
Show child attributes
Show child attributes
reference message for outgoing SEPA transfers
reference message for outgoing SWIFT transfers
The travel rule address for compliance
reference message for outgoing wire transfers
Was this page helpful?

