---
title: "GET /v2/public/currency/pairs/buy-crypto"
method: GET
path: "/v2/public/currency/pairs/buy-crypto"
tags: ["Currency Pairs"]
---

# GET /v2/public/currency/pairs/buy-crypto

`GET /v2/public/currency/pairs/buy-crypto`

## Request

- Base URL: `https://widget-api.sandbox.paybis.com`
- URL: `https://widget-api.sandbox.paybis.com/v2/public/currency/pairs/buy-crypto`
- Auth: API key in query parameter `apikey`

Getting the list of available currency pairs for buy crypto

## Headers

- `X-User-ID` string
- `X-User-IP` string

## Response `200`

Currency pairs for buy crypto

- object: Get currency pairs endpoint response
  - `data` object[]: Data array
    - `displayName` string: Display name of payment method
    - `name` string: Payment method name
    - `pairs` object[]: Available currency pairs array
      - `from` string: Fiat currency code in ISO alpha-3 format
      - `to` object[]: Supported cryptocurrencies for specific fiat currency
        - `currency` string: Cryptocurrency display name
        - `currencyCode` string: Cryptocurrency code
  - `meta` object: Meta info
    - `defaultCurrency` string: Customer's default fiat currency defined based on geolocation
    - `currencies` object[]: List of supported currencies (fiat and crypto) with meta data
      - `code` string: Currency code
      - `name` string: Currency display name
      - `image` string, url: Link to the currency icon image
      - `hasDestinationTag` boolean: Indicates whether the destination tag/memo is required for transactions with the given cryptocurrency

## Other responses

- `401`: Product Id is missing
- `403`: Invalid API key or access disabled
- `404`: Not found
- `503`: Maintenance status

---

[API](https://skmtc.dev/payb/apis/widget.md) - [All operations](https://skmtc.dev/payb/apis/widget/llms.txt) - [OpenAPI document](https://skmtc.dev/payb/apis/widget/revisions/2c2cf39656c5?raw)
