> ## Documentation Index
> Fetch the complete documentation index at: https://exchanger-api.iexexchanger.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction to Exchanger API v3

> Connect your backend to an iEXExchanger installation. Get exchange quotes, create orders, check payment status, and receive webhooks.

Exchanger API lets a partner select an exchange route, calculate the amount, create an order, and track it to completion. Each exchanger applies its own rules for route availability, payment details, and verification.

Every exchanger has its own API address. The examples use `https://your-exchange/api/v3`. Replace `your-exchange` with the domain of the exchanger you connect to.

## Connect to the API

> [card] [Get API access](https://exchanger-api.iexexchanger.com/en/start/access.md)
>
> Create a token and a signing secret from your exchanger account.

> [card] [Sign a request](https://exchanger-api.iexexchanger.com/en/start/authentication.md)
>
> Build the HMAC v2 headers and verify the signature.

> [card] [Make your first request](https://exchanger-api.iexexchanger.com/en/start/quickstart.md)
>
> Check the API address and credentials without creating an order.

If you operate an exchanger, follow the [administrator guide](https://exchanger-api.iexexchanger.com/en/guides/admin/api-keys.md) to enable the public API and grant a customer access to issue a key.

## Make your first request with an SDK

The public `GET /api/v3/ping` checks whether the API is reachable and requires no key. Set `EXCHANGER_API_ORIGIN` to your exchanger's address, such as `https://your-exchange`, before running the example.

> [tab] Go
>
> [Install the Go SDK](https://exchanger-api.iexexchanger.com/en/sdks/go.md), copy the example into `main.go`, and run `go run .`.
>
> ```go main.go theme={null}
> package main
>
> import (
> 	"context"
> 	"log"
> 	"os"
>
> 	exchanger "github.com/iexexchanger/exchanger-sdk-go"
> )
>
> func main() {
> 	origin := os.Getenv("EXCHANGER_API_ORIGIN")
> 	if origin == "" {
> 		origin = "https://your-exchange"
> 	}
>
> 	client, err := exchanger.New(exchanger.Config{Origin: origin})
> 	if err != nil {
> 		log.Fatal(err)
> 	}
>
> 	ping, err := client.Platform().Ping(context.Background())
> 	if err != nil {
> 		log.Fatal(err)
> 	}
> 	log.Printf("status=%s site=%s", ping.Result.Status, ping.Result.SiteName)
> }
> ```

> [tab] PHP
>
> [Install the PHP SDK](https://exchanger-api.iexexchanger.com/en/sdks/php.md) with Composer, save the example as `public-ping.php` next to `composer.json`, and run `php public-ping.php`.
>
> ```php public-ping.php theme={null}
> <?php
>
> declare(strict_types=1);
>
> use IEXExchanger\Sdk\Client;
> use IEXExchanger\Sdk\Config;
>
> require __DIR__ . '/vendor/autoload.php';
>
> $origin = getenv('EXCHANGER_API_ORIGIN') ?: 'https://your-exchange';
> $client = new Client(new Config(origin: $origin));
>
> $response = $client->platform()->ping();
>
> printf("HTTP %d | %s\n", $response->metadata->httpStatus, $response->result->status);
> ```

For signed requests and error handling, see the [SDK guides](https://exchanger-api.iexexchanger.com/en/sdks.md).

## Orders and payments

> [card] [Select a route and get a quote](https://exchanger-api.iexexchanger.com/en/guides/exchange/quote-and-preflight.md)
>
> Get the terms, validate the order fields, and preserve the quote snapshot.

> [card] [Create an order](https://exchanger-api.iexexchanger.com/en/guides/exchange/create-order.md)
>
> Submit the agreed order details and record the order ID.

> [card] [Show payment details and check payment](https://exchanger-api.iexexchanger.com/en/guides/exchange/payment-and-status.md)
>
> Retrieve payment instructions and check if the provider confirmed receipt.

> [card] [Receive a webhook](https://exchanger-api.iexexchanger.com/en/guides/reliability/webhooks.md)
>
> Verify the event signature and handle repeat deliveries.

For a new integration, follow the [complete exchange workflow](https://exchanger-api.iexexchanger.com/en/guides/exchange/overview.md). Use the [order simulation](https://exchanger-api.iexexchanger.com/en/api-reference/sandbox/post-private-sandbox-exchange-orders-simulate.md) to test your form without creating a real order.

## Reference and operations

| Task | Guide |
| - | - |
| Look up an operation's fields and required scopes | [API reference](https://exchanger-api.iexexchanger.com/en/api.md) |
| Read a customer's order history or submit a review | [Order history and reviews](https://exchanger-api.iexexchanger.com/en/guides/account/history-and-reviews.md) |
| Read partner statistics and request a payout | [Partner programme](https://exchanger-api.iexexchanger.com/en/guides/account/partner.md) |
| Retry a request after losing its response | [Idempotency](https://exchanger-api.iexexchanger.com/en/guides/reliability/idempotency.md) |
| Diagnose a rejection or check limits | [Errors and limits](https://exchanger-api.iexexchanger.com/en/guides/reliability/errors.md) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.