⏺️Get Conversion Quotes (server-to-server)

Our Payment Gateway API provides a GET method to retrieve real-time conversion quotes for cryptocurrency prices. This endpoint is crucial for payment server-to-server flow.

Below you will find the details on how to use this endpoint.

Reminder The payment conversion rate is finalized during payment creation. This API returns just an informative status of the current rates.

Get Quotes

GET https://sandbox.coinbar.io/coinbar/api/v2/pay/gateway/quotes

This endpoint returns up-to-date conversion rates between specified cryptocurrencies and fiat currencies. By utilizing this API, payment systems can ensure that users receive the most current exchange rate information for their cryptocurrency transactions.

Query Parameters

Name
Type
Description

conversion_fiat

String

EUR,GBP Default (EUR)

Headers

Name
Type
Description

CBPAY-API-KEY*

String

{{SERVICE_CLIENT_ID}}

Content-Type

String

application/json

{
    "result": true,
    "data": [
        {
            "code": "BTC",
            "name": "Bitcoin",
            "conversion_fiat": "EUR",
            "conversion_rate": 52372.33459748911
        },
        {
            "code": "ETH",
            "name": "Ethereum",
            "conversion_fiat": "EUR",
            "conversion_rate": 2367.6994724246447
        },
        {
            "code": "USDT",
            "name": "Tether USD",
            "conversion_fiat": "EUR",
            "conversion_rate": 0.9173165543511799
        },
        {
            "code": "XDB",
            "name": "XDB Chain",
            "conversion_fiat": "EUR",
            "conversion_rate": 0.0005691800447701324
        },
        {
            "code": "XRP",
            "name": "Ripple",
            "conversion_fiat": "EUR",
            "conversion_rate": 0.5123986479693387
        }
    ]
}

Last updated