# 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="<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>" 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 %}
