# List all fiat currencies and payment methods

Retrieves all supported fiat currencies and its' payment methods. And returns a Map with a `data` property that contains an array of [`fiatCurrency`](#fiatcurrency) objects. Each entry in the array is a separate [`fiatCurrency`](#fiatcurrency) object. If no more fiat currencies are available, the resulting array `data` will be empty.

## query supported fiat currencies

<mark style="color:blue;">`GET`</mark> `https://api.ramp.fatpay.xyz/open/api/onramp/currency`

List all the fiat currencies supported by FaTPay

#### Headers

| Name                                              | Type    | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ------------------------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Content-Type<mark style="color:red;">\*</mark>    | String  | application/json                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| X-Fp-Version<mark style="color:red;">\*</mark>    | String  | <p>FaTPay API version<br>e.g. v1.0</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| X-Fp-Timestamp<mark style="color:red;">\*</mark>  | Integer | <p>Unix timestamp in second <br>e.g. 1661346861</p>                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| X-Fp-Nonce<mark style="color:red;">\*</mark>      | Integer | <p>Random integer <br>e.g. 868964</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| X-Fp-Partner-Id<mark style="color:red;">\*</mark> | String  | <p>Partner ID assigned by FaTPay as Premium Partner <br>e.g. 2yQrS9A0xmM8xpfa</p>                                                                                                                                                                                                                                                                                                                                                                                                             |
| X-Fp-Signature<mark style="color:red;">\*</mark>  | String  | <p><a href="/pages/rkLKL3eVbRwxBcXNKOIy#signature-for-api-request">Signature</a> generated by <code>APIPrivateKey</code><br>e.g. zbBQ+1nv/5up9riH1wbTSSMmkb26LQj3g1cNWsutOordOrtpk8agcA5D5bdYaGeVlHK0qZ2MlUV+ZfOK9cXMuficeIm5fnEjMEm7s1IZtSivMt5te7EFqe52dtVFafE4hUgwqH6QBZB0yZ1FSqHs2dOCI0e8RKJQBDitxtHkibStl1Jt5wulzzq96qWbbVnwoBqGDT52OtwwEcDqMI4SIAzUAdBhAuLqUig1U4Ne9ufT8B1aAohEk5fvn/Sbom21bEjLdgbt5PwH2wmmuBx4tq31IgcP4V+qEBILY2eMAFzkvxNXaX3PsLbj9NpgyIc3HQl0FtRq3gdN7FsSvyvcWA==</p> |

{% tabs %}
{% tab title="200: OK Successful response" %}

```javascript
{
    "code": 10000,
    "msg": "Success",
    "data": [
        {
            "fiatCurrency": "USD",
            "name": "USD",
            "paymentOptions": [
                {
                    "name": "CARD_PAYMENT",
                    "processingTime": "3 - 7Min",
                    "icon": "https://fatpay.xyz/img/1.png",
                    "maxAmount": 4000,
                    "minAmount": 1
                }
            ]
        },
        {
            "fiatCurrency": "THB",
            "name": "THB",
            "paymentOptions": [
                {
                    "name": "BANK_CARD_TRANSFER",
                    "processingTime": "3 - 7Min",
                    "icon": "https://fatpay.xyz/img/2.png",
                    "maxAmount": 1400000,
                    "minAmount": 1
                }
            ]
        }
    ]
}
```

{% endtab %}
{% endtabs %}

## Objects definition

### `fiatCurrency`

<table><thead><tr><th width="202">Key</th><th width="105">Format</th><th width="116">Required</th><th>Description</th></tr></thead><tbody><tr><td>fiatCurrency</td><td>String</td><td>Y</td><td>ISO code of fiat currency, e.g. USD, THB, etc.</td></tr><tr><td>name</td><td>String</td><td>Y</td><td>Fiat currency name, e.g. US Dollar</td></tr><tr><td>paymentOptions</td><td>Object</td><td>Y</td><td>Array of <a href="#paymentoption"><code>PaymentOption</code></a></td></tr></tbody></table>

### `paymentOption`

<table><thead><tr><th width="202">Key</th><th width="105">Format</th><th width="116">Required</th><th>Description</th></tr></thead><tbody><tr><td>name</td><td>String</td><td>Y</td><td>Name of payment option. e.g. CREDIT_DEBIT_CARD</td></tr><tr><td>processingTime</td><td>String</td><td>Y</td><td>Estimated processing time. e.g. 3 - 7Min</td></tr><tr><td>icon</td><td>String</td><td>Y</td><td>Icon of payment option. e.g. <a href="https://fatpay.xyz/img/1.png">https://fatpay.xyz/img/1.png</a></td></tr><tr><td>maxAmount</td><td>Decimal</td><td>Y</td><td>Maximum charge amount, up to two decimal places. e.g. 4000</td></tr><tr><td>minAmount</td><td>Decimal</td><td>Y</td><td>Minimum charge amount, up to two decimal places. e.g. 10</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.fatpay.org/reference/api-reference/apis/list-all-fiat-currencies-and-payment-methods.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
