Txn.pro - API Documentation
Sandbox LoginChangelogStatus Page
  • Getting setup
    • Environments
    • Creating a Sandbox account
    • Back office user roles
    • Creating your API keys
    • Postman collection
  • API Basics
    • API specification
    • API status
    • Supported currencies
    • Date and time format
    • Authenticating the API
    • Webhooks
      • Verifying webhooks
      • Source IP addresses
      • Retrying schedule
    • Rate limits
  • Hosted pages
  • Accounts
    • Accounts concept
    • Listing accounts
    • Reading account
    • Listing account addresses
    • Creating account address
    • Listing account transactions
    • Reading account transaction
  • Exchange
    • Exchange concept
    • Supported currency pairs
    • Reading exchange rates
    • Exchange webhooks
    • Creating quote
    • Confirming quote
  • Invoices
    • Invoices concept
    • Invoice status flow
    • Invoices in cashier
    • Invoice limitations
    • Listing invoice currency pairs
    • Invoice webhooks
    • Creating invoice
    • Reading invoice
    • Listing invoices
    • Invoice refunds
  • Payouts
    • Payouts concept
    • Payout status flow
    • Payout limitations
    • Listing payout currency pairs
    • Validating addresses
    • Payout webhooks
    • Creating payout
    • Reading payout
    • Listing payouts
  • Mass Payouts
  • PAYMENT LINKS
    • Payment links concept
    • Creating payment link
    • Expiring payment link
    • Reading payment link
    • Listing payment links
  • CHANNELS
    • Channels concept
    • Channels deposit flow
    • Listing channel currency pairs
    • Channel webhooks
    • Creating channel
    • Reading channel
    • Updating channel
    • Listing channels
    • Listing channel deposits
    • Reading channel deposit
  • (BETA) Fiat Settlements
    • Important information
    • Bank withdrawal webhooks
    • Bank deposit webhooks
    • Listing bank accounts
    • Reading bank account
    • Previewing bank withdrawal
    • Creating bank withdrawal
    • Listing bank withdrawals
    • Reading bank withdrawal
    • Listing bank deposits
    • Reading bank deposit
Powered by GitBook
On this page
  1. CHANNELS

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"
  }
}
PreviousChannels deposit flowNextChannel webhooks

Last updated 6 months ago