# Conversion of fiat currencies into cryptocurrency

Intended to display the equivalent currencies in the storefront interface. For example, if you need to show the client how much cryptocurrency to send in payment form to get a certain amount of fiat.

**Request**\
**Request Type: GET**

**Endpoint:**

```
https://app.0xprocessing.com/Api/ConvertToCrypto
```

**Parameters:**

<table><thead><tr><th width="142">Name</th><th width="523">Description</th><th>Type</th></tr></thead><tbody><tr><td>InCurrency</td><td><p>Source currency</p><p>List of supported currencies : AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BYR, BZD, CAD, CDF, CHF, CLF, CLP, CNY, CNH, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GGP, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, IMP, INR, IQD, IRR, ISK, JEP, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LTL, LVL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLE, SLL, SOS, SRD, STD, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VES, VND, VUV, WST, XAF, XAG, XAU, XCD, XCG, XDR, XOF, XPF, YER, ZAR, ZMK, ZMW, ZWL</p></td><td>String</td></tr><tr><td>OutCurrency</td><td><p>Cryptocurrency in which you want to convert the amount</p><p><a href="https://docs.0xprocessing.com/basic/general/available-assets#crypto-currencies">List of supported currencies</a></p></td><td>String</td></tr><tr><td>InAmount</td><td>Amount in source currency</td><td>Double</td></tr></tbody></table>

**Reply**

**Response Type:** JSON

**Parameters:**

<table><thead><tr><th width="154">Name</th><th width="304">Description</th><th>Type</th></tr></thead><tbody><tr><td>Result</td><td>Amount in OutCurrency</td><td>Double</td></tr></tbody></table>

{% hint style="info" %}
The rate limit is 500 ms/req, if you want to remove it, please contact support
{% endhint %}


---

# 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://docs.0xprocessing.com/0xprocessing-api/crypto-or-fiat-equivalent/conversion-of-fiat-currencies-into-cryptocurrency.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.
