Skip to main content
GET
/
autoramps
List Autoramps for a Customer
curl --request GET \
  --url https://api.sandbox.iron.xyz/api/autoramps \
  --header 'X-API-Key: <api-key>' \
  --header 'X-SUB-PARTNER-ID: <x-sub-partner-id>'
{
  "items": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "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"
      },
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "is_third_party": true,
      "recipient": {
        "account_identifier": {
          "iban": "DE89370400440532013000",
          "type": "SEPA"
        },
        "address": {
          "city": "London",
          "country": {
            "code": "GB"
          },
          "postal_code": "SW1A 2AA",
          "state": "England",
          "street": "10 Downing Street"
        },
        "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": "Standalone",
      "source_currencies": [
        {
          "blockchain": "Solana",
          "token": "USDC"
        }
      ],
      "status": "Created",
      "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>",
      "name": "<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"
                }
              },
              "fee_type": "SepaIn",
              "settlement": "deductedImmediately"
            }
          ],
          "partner_fee": {
            "amount": "100.5",
            "currency": {
              "code": "USD",
              "type": "Fiat"
            }
          },
          "partner_fees": [
            {
              "fee": {
                "amount": "100.5",
                "currency": {
                  "code": "USD",
                  "type": "Fiat"
                }
              },
              "label": "<string>",
              "settlement": "deductedImmediately"
            }
          ],
          "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"
            }
          },
          "iron_fee_settlement": "deductedImmediately"
        },
        "fee_settlement": "deductedImmediately",
        "partner_fee_settlement": "deductedImmediately",
        "quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "rate": "<string>",
        "rate_expiry_policy": "Return",
        "rate_lock_valid_until": "2023-11-07T05:31:56Z",
        "valid_until": "2023-11-07T05:31:56Z",
        "slippage_tolerance_in_bips": "<string>"
      },
      "travel_address": "<string>",
      "wire_message": "<string>"
    }
  ],
  "cursor": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "prev_cursor": null
}

Authorizations

X-API-Key
string
header
required

API Key

Headers

X-SUB-PARTNER-ID
string
required

Optional sub-partner UUID, if provided, the autoramps will be filtered for the sub-partner

Query Parameters

customer_id
string<uuid>

The optional Customer ID to filter autoramps by. If not provided, returns autoramps for all customers

status
enum<string>

The status of the autoramps to get. If not provided, returns all autoramps

Available options:
Created,
EditPending,
Authorized,
DepositAccountAdded,
Approved,
Rejected,
Cancelled
autoramp_type
enum<string>

autoramp type filter Autoramp type

The type (onramp, offramp, swap) of an autoramp

Available options:
Onramp,
Offramp,
Swap
cursor
string<uuid>

Paging: the cursor field from previous page

prev_cursor
string<uuid>

Paging: the cursor field for backward pagination

page_size
integer<uint32>
default:10

Paging: the requested page size

Required range: x <= 100

Response

Get autoramps successful

PagedList

A list of items with cursors used to fetch the next or previous page

items
Autoramp · object[]
required

The list of items

cursor
string<uuid>

The cursor used to fetch the next page

prev_cursor
string<uuid>

The cursor used to fetch the previous page