Recurring payment
Create a recurring payment page
This endpoint allows you to create a new recurring payment page, the payment will be recreated after the number of days specified in Period
.
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
PeriodstringOptionalExample:
30
PercentstringOptionalExample:
2
PaymentsAmountstringOptionalExample:
0
Responses
200
Creating a recurring payment from a payment form
text/plain
post
POST /api/v1/payment/pages/recurrent HTTP/1.1
Host: dashboard.cryptadium.com
Content-Type: multipart/form-data
Accept: */*
Content-Length: 300
{
"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",
"Period": "30",
"Percent": "2",
"PaymentsAmount": "0"
}
200
Creating a recurring payment from a payment form
<!DOCTYPE html>
<html lang="ru">
<head>
<title>Cryptadium</title>
</head>
<body></body>
</html>
Create a payment page
This endpoint allows you to create a recurring payment, the payment will be recreated after the number of days specified in Period
.
Body
AmountnumberOptionalExample:
0
AmountFiatnumberOptionalExample:
999
BillingIdstringOptional
CheckBillingbooleanOptionalExample:
true
ClientIdstringOptional
CurrencystringOptionalExample:
USDT
EmailstringOptional
FiatCurrencystringOptionalExample:
USD
LastnamestringOptional
NamestringOptional
ShopIdstringOptional
PeriodnumberOptionalExample:
30
PercentnumberOptionalExample:
2
PaymentsAmountnumberOptionalExample:
0
Responses
200
Creating a recurring payment from the request body
application/json
400
Creating a recurring payment from the request body
application/json
post
POST /api/v1/payment/recurrent HTTP/1.1
Host: dashboard.cryptadium.com
Content-Type: application/json
Accept: */*
Content-Length: 288
{
"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",
"Period": 30,
"Percent": 2,
"PaymentsAmount": 0
}
{
"exceptions": [],
"isSuccessful": true,
"message": {
"amount": 1000.37,
"amountFiat": 999,
"cancelDate": "2024-08-14T09:54:30.4573531Z",
"creationDate": "2024-08-14T09:24:30.4573531Z",
"currency": "USDT",
"destinationTag": null,
"fiatCurrency": "USD",
"id": 1801,
"paymentLink": "https://dashboard.cryptadium.dev/Payment/Details/29e68243-f7f5-4da2-a021-825eabdf0aff",
"public": "0x9Ea217b43963Af1B0aba897739EFFB5B28A67BC7"
}
}
Last updated