> ## Documentation Index
> Fetch the complete documentation index at: https://docs.money.orki.io/llms.txt
> Use this file to discover all available pages before exploring further.

# API Authentication

<Info>
  **Prerequisites**:

  * Setup a partner account
  * Obtain your API key
</Info>

Requests to our trade API endpoints require authentication via an API key.

## Base URLs

| Environment | Base URL                        |
| ----------- | ------------------------------- |
| Production  | `https://api.money.orki.io`     |
| Sandbox     | `https://sandbox.money.orki.io` |

Partner API endpoints use the `/api/v1/partner` base path in both environments. For example, the full production URL for the fiat currencies endpoint is `https://api.money.orki.io/api/v1/partner/fiat-currencies`.

<Info>
  Use LIVE API keys with the production base URL and TEST API keys with the sandbox base URL. The sandbox supports authenticated asset discovery, Transak staging quotes and checkout-session creation, and sandbox transaction creation and retrieval. Creating a sandbox transaction does not initiate a payment. Provider completion, status callbacks, and webhook delivery should be validated separately before going live.
</Info>

<Steps>
  <Step title="Create a Partner Account">
    To get started, you must first [create a partner account](/getting-started/guide) on our platform.
  </Step>

  <Step title="Obtain Your API Key">
    Navigate to API Management section and generate an API Key.
  </Step>

  <Step title="Use the API Key in requests to the trade API endpoints">
    ```bash theme={null}
    curl -X GET "https://api.money.orki.io/api/v1/partner/fiat-currencies" \
      -H "X-ORKI-API-KEY: your_api_key_here"
    ```

    Or when using our widget...

    ```bash theme={null}
    https://pay.demo.money.orki.io?apiKey=your_api_key_here
    ```
  </Step>
</Steps>
