Fiat payment
Create a payment page that supports fiat payment methods
This endpoint allows you to create a new payment page with card payment
Body
AmountstringOptionalExample:
0AmountFiatstringOptionalExample:
999BillingIdstringOptionalExample:
8e8d68ae-a6c6-4962-972d-42218726d737CheckBillingstringOptionalExample:
trueClientIdstringOptionalExample:
201CurrencystringOptionalExample:
USDTEmailstringOptionalExample:
mail@hotmail.comFiatCurrencystringOptionalExample:
USDLastnamestringOptionalExample:
RonaldoNamestringOptionalExample:
CristianoShopIdstringOptionalExample:
HeWmt2ZVmDResponses
200
Creating a fiat payment from a payment form
text/plain
post
/api/v1/payment/pages/fiatPOST /api/v1/payment/pages/fiat HTTP/1.1
Host: dashboard.cryptadium.com
Content-Type: multipart/form-data
Accept: */*
Content-Length: 251
{
"Amount": "0",
"AmountFiat": "999",
"BillingId": "8e8d68ae-a6c6-4962-972d-42218726d737",
"CheckBilling": "true",
"ClientId": "201",
"Currency": "USDT",
"Email": "mail@hotmail.com",
"FiatCurrency": "USD",
"Lastname": "Ronaldo",
"Name": "Cristiano",
"ShopId": "HeWmt2ZVmD"
}200
Creating a fiat payment from a payment form
<!DOCTYPE html>
<html lang="ru">
<head>
<title>Cryptadium</title>
</head>
<body></body>
</html>Create a payment that supports fiat payment methods
This enpoint allows you to make a POST request to create a payment, in response to this request a link to the fiat provider form will be sent in JSON format
Body
AmountnumberOptionalExample:
0AmountFiatnumberOptionalExample:
999BillingIdstringOptional
CheckBillingbooleanOptionalExample:
trueClientIdstringOptional
CurrencystringOptionalExample:
USDTEmailstringOptional
FiatCurrencystringOptionalExample:
USDLastnamestringOptional
NamestringOptional
ShopIdstringOptional
Responses
200
Creating a fiat payment from the request body
application/json
post
/api/v1/payment/fiat/POST /api/v1/payment/fiat/ HTTP/1.1
Host: dashboard.cryptadium.com
Content-Type: application/json
Accept: */*
Content-Length: 245
{
"Amount": 0,
"AmountFiat": 999,
"BillingId": "1cfca8f4-2370-4a58-a3e3-9cd22b9b31f8",
"CheckBilling": true,
"ClientId": "201",
"Currency": "USDT",
"Email": "mail@hotmail.com",
"FiatCurrency": "USD",
"Lastname": "Ronaldo",
"Name": "Cristiano",
"ShopId": "HeWmt2ZVmD"
}200
Creating a fiat payment from the request body
{
"exceptions": [],
"isSuccessful": true,
"message": {
"paymentLink": "https://web-api-v2.changelly.com/public/f2c/redirect/transactions/dd892a14-afeb-40db-b77b-d73ae1956f20/provider"
}
}Last updated