# Fiat payment

## Creating a fiat payment from FormData

> Create a payment page that supports fiat payment methods\
> \
> This endpoint allows you to create a new payment page with card payment

```json
{"openapi":"3.0.3","info":{"title":"Cryptadium","version":"1.0.0"},"tags":[{"name":"API V 2.0"}],"servers":[{"url":"https://dashboard.cryptadium.com"}],"paths":{"/api/v1/payment/pages/fiat":{"post":{"tags":["API V 2.0"],"summary":"Creating a fiat payment from FormData","description":"Create a payment page that supports fiat payment methods\n\nThis endpoint allows you to create a new payment page with card payment","operationId":"cFormdata1","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"Amount":{"type":"string"},"AmountFiat":{"type":"string"},"BillingId":{"type":"string"},"CheckBilling":{"type":"string"},"ClientId":{"type":"string"},"Currency":{"type":"string"},"Email":{"type":"string"},"FiatCurrency":{"type":"string"},"Lastname":{"type":"string"},"Name":{"type":"string"},"ShopId":{"type":"string"}}}}}},"responses":{"200":{"description":"Creating a fiat payment from a payment form","content":{"text/plain":{}}}}}}}}
```

{% openapi src="/files/v0XqKZJ8b8s8SJO6UDfp" path="/api/v1/payment/fiat/" method="post" %}
[cryptadium\_openapi\_ENG\_2 (3).yml](https://795073012-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAWqyEFylPpQUQsRqrZu6%2Fuploads%2F0cwZxd7AC8Irf99qgLn7%2Fcryptadium_openapi_ENG_2%20\(3\).yml?alt=media\&token=0e1efd4b-2c92-4a17-b0b6-bc85176f8f2e)
{% endopenapi %}

{% hint style="info" %}
CheckBilling - check that allows you to check billingId. If true, the check will be performed. 400 error will mean that such billingId exists. If false, the check will be ignored.
{% 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://cryptadium.gitbook.io/cryptadium-api/basics/editor/fiat-payment.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.
