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

# Desteklenen Para Birimleri

> Bu API, desteklenen para birimlerinin bir listesini almak için kullanılır.

## Kimlik Doğrulama

<ParamField header="signatureToken" type="string" required>
  API kimlik doğrulaması için bir JWT token gereklidir.
  Boş bir dize kullanarak <a href="/tr/authentication/generate-jwt-token">JWT Token Oluşturma</a> bölümünde açıklandığı gibi bir JWT token oluşturun.
</ParamField>

## Başlıklar (Headers)

<ParamField header="Content-Type" type="string" required>
  `application/json` olarak ayarlanmalıdır.
</ParamField>

## Yanıt

Desteklenen para birimlerinin bir listesini döndürür.

<ResponseField name="name" type="string" required>
  Para biriminin adı.
</ResponseField>

<ResponseField name="symbol" type="string" required>
  Para biriminin simgesi.
</ResponseField>

<ResponseField name="decimal" type="integer" required>
  Desteklenen ondalık basamak sayısı.
</ResponseField>

<ResponseField name="usdPrice" type="string" required>
  USD cinsinden fiyat.
</ResponseField>

<ResponseField name="eurPrice" type="string" required>
  EUR cinsinden fiyat.
</ResponseField>

<ResponseField name="tryPrice" type="string" required>
  TRY cinsinden fiyat.
</ResponseField>

<ResponseField name="minPaymentAmount" type="string" required>
  Kabul edilen minimum ödeme miktarı.
</ResponseField>

<ResponseField name="id" type="string" required>
  Para birimi için benzersiz bir tanımlayıcı.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url https://doc-api.oppiwallet.com/api/v1/supportedCurrency \
    --header 'signatureToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...' \
    --header 'Content-Type: application/json'
  ```

  ```javascript JavaScript theme={null}
  const axios = require('axios');

  let config = {
    method: 'get',
    maxBodyLength: Infinity,
    url: 'https://doc-api.oppiwallet.com/api/v1/supportedCurrency',
    headers: { 
      'signatureToken': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...',
      'Content-Type': 'application/json'
    }
  };

  axios.request(config)
    .then((response) => {
      console.log(JSON.stringify(response.data));
    })
    .catch((error) => {
      console.log(error);
    });
  ```

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

  url = "https://doc-api.oppiwallet.com/api/v1/supportedCurrency"

  headers = {
      "signatureToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
      "Content-Type": "application/json"
  }

  response = requests.get(url, headers=headers)
  print(response.json())
  ```

  ```go Go theme={null}
  package main

  import (
      "fmt"
      "net/http"
      "io/ioutil"
  )

  func main() {
      url := "https://doc-api.oppiwallet.com/api/v1/supportedCurrency"
      
      req, _ := http.NewRequest("GET", url, nil)
      req.Header.Add("signatureToken", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...")
      req.Header.Add("Content-Type", "application/json")
      
      res, _ := http.DefaultClient.Do(req)
      defer res.Body.Close()
      body, _ := ioutil.ReadAll(res.Body)
      
      fmt.Println(string(body))
  }
  ```

  ```php PHP theme={null}
  <?php
  $curl = curl_init();

  curl_setopt_array($curl, [
    CURLOPT_URL => "https://doc-api.oppiwallet.com/api/v1/supportedCurrency",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => "",
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => "GET",
    CURLOPT_HTTPHEADER => [
      "signatureToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
      "Content-Type: application/json"
    ],
  ]);

  $response = curl_exec($curl);
  $err = curl_error($curl);

  curl_close($curl);

  if ($err) {
    echo "cURL Error #:" . $err;
  } else {
    echo $response;
  }
  ?>
  ```
</RequestExample>

<ResponseExample>
  ```json 200 OK theme={null}
  [
    {
      "name": "Bitcoin",
      "symbol": "BTC",
      "decimal": 18,
      "usdPrice": "0.4573",
      "eurPrice": "0.421934928",
      "tryPrice": "14.934817532999999",
      "minPaymentAmount": "1",
      "id": "6698aec7f188ae24c673da1c"
    }
  ]
  ```

  ```json 400 Bad Request theme={null}
  {
    "message": "Hata mesajı"
  }
  ```
</ResponseExample>
