List of payment gateways

Address https://api-qtreasure.qchain.space/v1/gates/"type"

GET request

The type parameter in the request address is responsible for the type of payment gateways:

1 - Gateways for purchase

2 - Gateways for sale

Example https://api-qtreasure.qchain.space/v1/gates/1

Response:

{
  "success": true,
  "gates": [
    {
      "title": "Tether Tron TRC-20",
      "currency": "USDT-TRC20",
      "rate": 1,
      "min_sum": 10,
      "max_sum": 100000,
      "fee": 1,
      "usdrate": 1,
      "icon": "https://api-qtreasure.qchain.space/storage/source/usdttrc20.png"
    }
  ]
}

Gateway fields:

title - gateway name

currency - gateway currency

rate - QSTN rate in relation to USDT-TRC20

min_sum - minimum amount

max_sum - maximum amount

fee - commission in USDT-TRC20

usdrate - the exchange rate of USDT-TRC20 against the dollar

icon - full address of the currency icon

Response with an error:

{
  "success": false,
  "error": "There are no payment gateways available"
}

Last updated