Exchanges listing

RKFL supports 'N' numbers of crypto exchanges. A merchant can configure which exchanges will display on his payment page.

This API accepts the merchant access token and shopper access token in headers. It returns the merchant's enabled exchanges list and a key "connected: true" if the logged-in shopper is already connected with the exchange.

In the below screenshot, the merchant "Hush Puppies" has enabled three exchanges (Coinbase, BinanceUs, and Kraken) to display on his page, and the logged-in shopper is not connected with any exchange.

The screenshot below shows that the merchant "Woo Commerce Dev" has enabled four exchanges (OKcoin, Coinbase, Kraken, and Gemini) to display on his page, and the logged-in shopper is not connected with OKcoin.

Once the shopper is connected to any exchange and provides permission, the RKFL remembers the connection and keeps him connected until the connection string is invalid or the shopper closes the connection.

GET exchanges/my

Headers

NameTypeDescription

Authorization*

String

"Bearer" + merchant access token

Content-Type

String

application/json

X-Shopper-Key*

String

"Bearer" + shopper access token

{
  "ok": true,
  "result": {
    "exchanges": [
      {
        "name": "coinbase",
        "value": "coinbase",
        "stockId": "",
        "limit": 0,
        "supportedCurrencies": [
          
        ],
        "default": false,
        "priority": 1,
        "connected": false
      },
      {
        "name": "okcoin",
        "value": "okcoin",
        "stockId": "58b989dd-f1a2-4227-90cc-44c9dafb92a7",
        "limit": "1000",
        "supportedCurrencies": [
          "BTC",
          "LTC",
          "ETH",
          "XRP",
          "BCH",
          "USDC"
        ],
        "default": false,
        "priority": 0,
        "connected": true
      },
      {
        "name": "kraken",
        "value": "kraken",
        "stockId": "46f34b67-cdaa-4a21-8d77-3096105c54c8",
        "limit": "1000",
        "supportedCurrencies": [
          "BTC",
          "LTC",
          "ETH",
          "XRP",
          "BCH",
          "USDC"
        ],
        "default": false,
        "priority": 0,
        "connected": true
      },
      {
        "name": "gemini",
        "value": "gemini",
        "stockId": "",
        "limit": 0,
        "supportedCurrencies": [
          
        ],
        "default": false,
        "priority": 0,
        "connected": false
      }
    ],
    "defaultCurrency": "BTC"
  }
}

Last updated