Платежи

Адрес https://api-qtreasure.qchain.space/v1/payments

POST запрос

Дополнительные параметры:

page - Номер страницы для пагинации

count - Количество записей на странице

api_key

Пример:

{
  "api_key": "rTnbp54rIxfv2r5KdXRzHrJ6NIABMmvV",
  "page": 1,
  "count": 10
}

Ответ:

{
  "success": true,
  "transactions": [
    {
      "id": 338,
      "sum": 10,
      "sum_currency": 11,
      "type": 1,
      "status": 0,
      "gate": {
        "title": "Tether Tron TRC-20",
        "alias": "tether-tron-trc-20",
        "min_sum": 10,
        "max_sum": 100000,
        "rate": 1,
        "gateCurrency": {
          "code": "USDT-TRC20",
          "title": "Tether Tron TRC-20",
          "type": "crypto"
        },
        "data": {
          "send_paysys_identificator": "USDT-TRC20",
          "dec_digits": 4,
          "networks": [
            "TRC20"
          ],
          "icon": "https://api-qtreasure.qchain.space/storage/source/usdttrc20.png",
          "percent_fee": 0,
          "min_fee": 1
        }
      },
      "created_at": 1691143620,
      "icon": "https://api-qtreasure.qchain.space/storage/source/usdttrc20.png",
      "transaction_address": "TRTKfN5qxrnHrKan89i3opwgo3nqUnjAK6",
      "data": {
        "qchain": "qchain_address",
        "course": 1,
        "emailClient": "client@test.test",
        "percent_fee": 0,
        "min_fee": 1,
        "fee": 1
      }
    }
  ],
  "pagination": {
    "pages_count": 1,
    "total": 1
  }
}

Ответ с ошибкой:

{
  "success": false,
  "error": "Error message"
}

Last updated