Guides

Getting Started

This guide walks you through setting up your Stablegate API access and making your first API call.

In a hurry? Quickstart is the whole path on one page: key, customer, verification, order, webhook.

Prerequisites

To get started, you need a Stablegate account with Partner API access enabled. Sign in with your usual Stablegate credentials and open Developers. The menu entry appears only once access is granted, so use the link until then.

Without access the page shows a Developer API card with a Request API access button; submit the request from there. If you do not see the button, contact your account manager. Once access is granted, the page opens on three tabs: API keys, Webhooks and Your clients.

Partner API access can be requested by business accounts after completing business verification (KYB), at the Standard or Advanced level permitted for their legal entity. Individual accounts and Instant (Light) accounts cannot request access. Approval of the request does not enable the API automatically: access is granted separately by the Stablegate team.

There is no sandbox: test access is arranged individually. For test access, contact your account manager or our support team.

Step 1: Open the Developers Section

Open Developers. The section opens on the API keys tab.

Step 2: Create an API Key

  1. Once signed in, open the API keys tab.
  2. Click Create key.
  3. Give your key a descriptive name (e.g., "Production Backend" or "Staging Environment").
  4. Copy and store both the key and the secret. The secret is shown once, at creation.

The key is what you send in X-Api-Key. The secret is only needed if you sign your requests, which the Partner API does not currently require.

Treat your API key as a secret. Do not expose it in client-side code, public repositories, or logs.

Step 3: Make Your First API Call

Let's verify your setup by fetching the list of supported exchange routes.

Request:

curl https://api.stablegate.com/v1/exchange-routes/ \
  --header 'X-Api-Key: YOUR_API_KEY'

Response:

[
  {
    "source": {
      "rail": "sepa",
      "asset": {
        "code": "EUR",
        "fraction_digits": 2
      }
    },
    "destination": {
      "rail": "ethereum",
      "asset": {
        "code": "USDC",
        "fraction_digits": 6
      }
    }
  },
  {
    "source": {
      "rail": "ethereum",
      "asset": {
        "code": "USDT",
        "fraction_digits": 6
      }
    },
    "destination": {
      "rail": "sepa",
      "asset": {
        "code": "EUR",
        "fraction_digits": 2
      }
    }
  }
]

If you receive a 200 response with exchange route data, your API key is working correctly.

Request Format

The API ignores unknown fields in a JSON request body instead of rejecting them. A misspelled or misplaced optional field is silently skipped, and the API uses its default value instead. To catch such mistakes before you send a request, generate your client from the OpenAPI specification, which defines every field of every endpoint.

Integration Flow Overview

A typical integration follows this sequence. See the Customers, External Accounts, Fees & Limits, and Orders sections for details on each step.

  1. Create a customer — register your end-user in the Stablegate system.
  2. Register external accounts — bank accounts and/or crypto wallets.
  3. Check exchange route — verify the conversion path is available.
  4. Browse bank providers — discover banks, rails and exchange routes.
  5. Check fees — calculate the fees and exchange rate.
  6. Check limits — verify the customer's transaction limits.
  7. Create order — submit the exchange order.
  8. Set up webhooks (optional) — receive real-time notifications on status changes.
  9. Monitor order status — via webhooks or by polling the order endpoint.

Ready to integrate?

Tell us about your use case and we will enable Partner API access for your account.
Copyright © 2026