©️
Cryptadium API
  • Basics
    • Payments
      • Crypto payment
      • Fiat payment
      • Recurring payment
      • Link for payers
      • Receiving payment
      • Integration Testing Flow
      • Redirect to your URL using an iframe
      • Balance request
    • Check wallet address
    • Withdrawal
    • Payments with static wallets for clients
  • Webhooks
  • Errors
  • Preparation for integration
Powered by GitBook
On this page
  1. Basics

Payments with static wallets for clients

PreviousWithdrawalNextWebhooks

Last updated 9 months ago

  • POSTStatic wallet for merchant's client (FormData)
  • POSTStatic wallet for merchant's client

Static wallet for merchant's client (FormData)

post

Create a payment with a static wallet
This endpoint allows you to create a new payment page, with a wallet which will be linked to the specified ClientId

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
200Success
post
POST /api/v1/payment/pages/static-wallet 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"
}
200Success

No content

Static wallet for merchant's client

post

Create a payment with a static wallet This enpoint allows you to make a POST request to create a payment, in the in response to this request will be sent payment information in JSON format, with a wallet that will be bound to the specified ClientId

Body
AmountnumberOptionalExample: 0
AmountFiatnumberOptionalExample: 999
BillingIdstringOptional
CheckBillingbooleanOptionalExample: true
ClientIdstringOptional
CurrencystringOptionalExample: USDT
EmailstringOptional
FiatCurrencystringOptionalExample: USD
LastnamestringOptional
NamestringOptional
ShopIdstringOptional
Responses
200
Static wallet for merchant's client
application/json
400
Static wallet for merchant's client
application/json
post
POST /api/v1/payment/static-wallet 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"
}
{
  "exceptions": [],
  "isSuccessful": true,
  "message": {
    "amount": 7355.16849678,
    "amountFiat": 777,
    "cancelDate": "2024-08-14T10:31:32.529805Z",
    "creationDate": "2024-08-14T10:01:32.529805Z",
    "currency": "DOGE",
    "destinationTag": null,
    "fiatCurrency": "USD",
    "id": 1809,
    "paymentLink": "https://dashboard.cryptadium.dev/Payment/Details/0f1c0eb3-1ae8-4a3b-8e7d-344ea02b3075",
    "public": "DAUYJtvaW438AuK99WFwRKzc4Qv6WebHTo"
  }
}