Fiat payment

Creating a fiat payment from FormData

post

Create a payment page that supports fiat payment methods

This endpoint allows you to create a new payment page with card payment

Body
AmountstringOptionalExample: 0
AmountFiatstringOptionalExample: 999
BillingIdstringOptionalExample: 8e8d68ae-a6c6-4962-972d-42218726d737
CheckBillingstringOptionalExample: true
ClientIdstringOptionalExample: 201
CurrencystringOptionalExample: USDT
EmailstringOptionalExample: mail@hotmail.com
FiatCurrencystringOptionalExample: USD
LastnamestringOptionalExample: Ronaldo
NamestringOptionalExample: Cristiano
ShopIdstringOptionalExample: HeWmt2ZVmD
Responses
200

Creating a fiat payment from a payment form

text/plain
post
POST /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>

Creating a fiat payment from the request body

post

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: 0
AmountFiatnumberOptionalExample: 999
BillingIdstringOptional
CheckBillingbooleanOptionalExample: true
ClientIdstringOptional
CurrencystringOptionalExample: USDT
EmailstringOptional
FiatCurrencystringOptionalExample: USD
LastnamestringOptional
NamestringOptional
ShopIdstringOptional
Responses
200

Creating a fiat payment from the request body

application/json
post
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"
  }
}

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.

Last updated