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

# List Currency Codes

> Get all supported currency codes

<span style={{display:"none"}}>For the complete documentation index, see [llms.txt](/llms.txt).</span>

Retrieve the list of supported currency codes for payment requests. Supports 300+ currencies.

## Response

<ResponseField name="id" type="integer">
  Request ID
</ResponseField>

<ResponseField name="currency_codes" type="array">
  Array of supported currency codes (USD, EUR, KES, BTC, ETH, etc.)
</ResponseField>

<RequestExample>
  ```javascript Node.js theme={null}
  const response = await fetch("https://payments.shakesco.com/codes", {
    method: "GET",
    headers: {
      Authorization: `Bearer ${API_KEY}`,
      "Content-Type": "application/json",
    },
  });

  const { currency_codes } = await response.json();
  console.log(currency_codes);
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://payments.shakesco.com/codes",
      headers={
          "Authorization": f"Bearer {API_KEY}",
          "Content-Type": "application/json"
      }
  )

  data = response.json()
  currency_codes = data["currency_codes"]
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "id": 1,
    "currency_codes": [
      "USD",
      "EUR",
      "GBP",
      "KES",
      "INR",
      "JPY",
      "BTC",
      "ETH",
      "MATIC",
      "USDT",
      "USDC",
      "DAI",
      "..."
    ]
  }
  ```
</ResponseExample>

<Info>
  Currency codes must be in **UPPERCASE** when making payment requests.
</Info>
