Currency Pairs
GET /v2/currency/pairs/swap-crypto
Getting the list of available currency pairs for swap crypto
Request
- Base URLhttps://widget-api.sandbox.paybis.com
- URLhttps://widget-api.sandbox.paybis.com/v2/currency/pairs/swap-crypto
- Auth
- API key in header Authorization
- or API key in header Authorization and API key in header x-request-signature
Headers
X-User-IDstring
User ID detected by a public endpoint that uses the current one
X-User-IPstring
User IP detected by a public endpoint that uses the current one
Response
Currency pairs for swap crypto
Example response
{
"data": [
{
"displayName": "Bitcoin",
"name": "partner-btc",
"pairs": [
{
"fromAssetId": "BTC-TESTNET",
"to": [
"USDT-TRC20"
]
},
{
"fromAssetId": "USDT-TRC20",
"to": [
"BTC-TESTNET"
]
}
]
}
],
"meta": {
"currencies": [
{
"code": "BTC-TESTNET",
"name": "Bitcoin (Testnet)",
"image": "https://google.lv/image/btc.png",
"hasDestinationTag": false
},
{
"code": "USDT-TRC20",
"name": "Tether USD (TRC20)",
"image": "https://google.lv/image/usdt.png",
"hasDestinationTag": false
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.