# Crypto payment

## Creating a payment from FormData

> Create a payment page  \
> This endpoint allows you to create a new payment page

```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/":{"post":{"tags":["API V 2.0"],"summary":"Creating a payment from FormData","description":"Create a payment page  \nThis endpoint allows you to create a new payment page","operationId":"cFormdata","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 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/" 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 %}

{% hint style="info" %}
You can use:\
BTC (BTC)\
DAI (ERC20)\
DASH (DASH)\
DOGE (DOGE)\
ETH (ERC20)\
LTC (LTC)\
TUSD (ERC20)\
USDC (ERC20)\
USDT (ERC20)\
XRP (Ripple)\
TRX (TRC20)\
USDT (TRC20)\
ETH (TRC20)\
BNB (BEP20)\
ETH (BEP20)\
DAI (BEP20)\
USDT (BEP20)\
ADA (BEP20)\
USDC (BEP20)\
AVAX (C-CHAIN)
{% endhint %}
