Listing channel currency pairs

GET /api/public/v1/channels/currency_pairs

This endpoint returns a list of available currency pairs and networks.

Headers

Name
Value

Content-Type

application/vnd.api+json

Authorization

Bearer <api_key>

Response

{
  "data": [
    {
      "id": "82756d59-a72f-499f-9657-edae023ac222",
      "type": "channelCurrencyPairs",
      "attributes": {
        "enabled": false
      },
      "relationships": {
        "targetCurrency": {
          "data": {
            "type": "currencies",
            "id": "USD"
          }
        },
        "payCurrency": {
          "data": {
            "type": "currencies",
            "id": "USDT"
          }
        }
      }
    },
    {
      "id": "0eb35771-0082-4ee0-b874-5d1b6028cefb",
      "type": "channelCurrencyPairs",
      "attributes": {
        "enabled": false
      },
      "relationships": {
        "targetCurrency": {
          "data": {
            "type": "currencies",
            "id": "USD"
          }
        },
        "payCurrency": {
          "data": {
            "type": "currencies",
            "id": "BTC"
          }
        }
      }
    },
    {
      "id": "4edc1cad-abf5-4227-b8e2-b0369c6151af",
      "type": "channelCurrencyPairs",
      "attributes": {
        "enabled": false
      },
      "relationships": {
        "targetCurrency": {
          "data": {
            "type": "currencies",
            "id": "USD"
          }
        },
        "payCurrency": {
          "data": {
            "type": "currencies",
            "id": "TRX"
          }
        }
      }
    },
    {
      "id": "aacdef29-b956-4e3b-ad4f-a4f930aa13d5",
      "type": "channelCurrencyPairs",
      "attributes": {
        "enabled": false
      },
      "relationships": {
        "targetCurrency": {
          "data": {
            "type": "currencies",
            "id": "EUR"
          }
        },
        "payCurrency": {
          "data": {
            "type": "currencies",
            "id": "USDT"
          }
        }
      }
    },
    {
      "id": "1bf7de3d-20c5-4467-a1fe-303fe4aa664a",
      "type": "channelCurrencyPairs",
      "attributes": {
        "enabled": false
      },
      "relationships": {
        "targetCurrency": {
          "data": {
            "type": "currencies",
            "id": "EUR"
          }
        },
        "payCurrency": {
          "data": {
            "type": "currencies",
            "id": "BTC"
          }
        }
      }
    },
    {
      "id": "db64658e-021f-45cb-9fff-3864d77ec87f",
      "type": "channelCurrencyPairs",
      "attributes": {
        "enabled": false
      },
      "relationships": {
        "targetCurrency": {
          "data": {
            "type": "currencies",
            "id": "EUR"
          }
        },
        "payCurrency": {
          "data": {
            "type": "currencies",
            "id": "TRX"
          }
        }
      }
    },
    {
      "id": "d559ad26-3bef-461f-a84e-cf155bee71e2",
      "type": "channelCurrencyPairs",
      "attributes": {
        "enabled": false
      },
      "relationships": {
        "targetCurrency": {
          "data": {
            "type": "currencies",
            "id": "TRY"
          }
        },
        "payCurrency": {
          "data": {
            "type": "currencies",
            "id": "USDT"
          }
        }
      }
    },
    {
      "id": "3459c743-9bff-4acb-82c5-2ad24405f13b",
      "type": "channelCurrencyPairs",
      "attributes": {
        "enabled": false
      },
      "relationships": {
        "targetCurrency": {
          "data": {
            "type": "currencies",
            "id": "TRY"
          }
        },
        "payCurrency": {
          "data": {
            "type": "currencies",
            "id": "BTC"
          }
        }
      }
    },
    {
      "id": "e61e7914-af51-4479-af13-990a14cd0710",
      "type": "channelCurrencyPairs",
      "attributes": {
        "enabled": false
      },
      "relationships": {
        "targetCurrency": {
          "data": {
            "type": "currencies",
            "id": "TRY"
          }
        },
        "payCurrency": {
          "data": {
            "type": "currencies",
            "id": "TRX"
          }
        }
      }
    },
    {
      "id": "863696ac-ca07-44db-8d0c-eb19e11bd623",
      "type": "channelCurrencyPairs",
      "attributes": {
        "enabled": false
      },
      "relationships": {
        "targetCurrency": {
          "data": {
            "type": "currencies",
            "id": "USDT"
          }
        },
        "payCurrency": {
          "data": {
            "type": "currencies",
            "id": "USDT"
          }
        }
      }
    },
    {
      "id": "d1fb7205-0396-4dfb-a476-a7b9207c812d",
      "type": "channelCurrencyPairs",
      "attributes": {
        "enabled": false
      },
      "relationships": {
        "targetCurrency": {
          "data": {
            "type": "currencies",
            "id": "BTC"
          }
        },
        "payCurrency": {
          "data": {
            "type": "currencies",
            "id": "BTC"
          }
        }
      }
    },
    {
      "id": "77a15352-b7e3-404a-ba4f-361a51161b52",
      "type": "channelCurrencyPairs",
      "attributes": {
        "enabled": false
      },
      "relationships": {
        "targetCurrency": {
          "data": {
            "type": "currencies",
            "id": "TRX"
          }
        },
        "payCurrency": {
          "data": {
            "type": "currencies",
            "id": "TRX"
          }
        }
      }
    }
  ],
  "included": [
    {
      "id": "USD",
      "type": "currencies",
      "attributes": {
        "code": "USD",
        "crypto": false,
        "symbol": "$",
        "subunitToUnit": 100
      },
      "relationships": {
        "networks": {
          "data": []
        }
      }
    },
    {
      "id": "USDT",
      "type": "currencies",
      "attributes": {
        "code": "USDT",
        "crypto": true,
        "symbol": "₮",
        "subunitToUnit": 1000000
      },
      "relationships": {
        "networks": {
          "data": [
            {
              "type": "network",
              "id": "8ededca3-a1cd-4b46-8c3a-14915f706ab2"
            }
          ]
        }
      }
    },
    {
      "id": "BTC",
      "type": "currencies",
      "attributes": {
        "code": "BTC",
        "crypto": true,
        "symbol": "฿",
        "subunitToUnit": 100000000
      },
      "relationships": {
        "networks": {
          "data": [
            {
              "type": "network",
              "id": "c0369c57-da08-4c60-b5ee-63e1e43d5ae4"
            }
          ]
        }
      }
    },
    {
      "id": "TRX",
      "type": "currencies",
      "attributes": {
        "code": "TRX",
        "crypto": true,
        "symbol": "TRX",
        "subunitToUnit": 1000000
      },
      "relationships": {
        "networks": {
          "data": [
            {
              "type": "network",
              "id": "dc5f15f5-176e-43b6-ab8d-239614a7961d"
            }
          ]
        }
      }
    },
    {
      "id": "EUR",
      "type": "currencies",
      "attributes": {
        "code": "EUR",
        "crypto": false,
        "symbol": "€",
        "subunitToUnit": 100
      },
      "relationships": {
        "networks": {
          "data": []
        }
      }
    },
    {
      "id": "TRY",
      "type": "currencies",
      "attributes": {
        "code": "TRY",
        "crypto": false,
        "symbol": "₺",
        "subunitToUnit": 100
      },
      "relationships": {
        "networks": {
          "data": []
        }
      }
    },
    {
      "id": "8ededca3-a1cd-4b46-8c3a-14915f706ab2",
      "type": "network",
      "attributes": {
        "currencyCode": "USDT",
        "name": "Tron (TRC20)",
        "code": "ttrx:usdt"
      }
    },
    {
      "id": "c0369c57-da08-4c60-b5ee-63e1e43d5ae4",
      "type": "network",
      "attributes": {
        "currencyCode": "BTC",
        "name": "Bitcoin",
        "code": "tbtc"
      }
    },
    {
      "id": "dc5f15f5-176e-43b6-ab8d-239614a7961d",
      "type": "network",
      "attributes": {
        "currencyCode": "TRX",
        "name": "Tron",
        "code": "ttrx"
      }
    }
  ],
  "meta": {},
  "jsonapi": {
    "version": "1.0"
  }
}

Last updated