ReDoc documentation

Buy Provider Server (1.0)

Download OpenAPI specification:Download

getCapabilities

Responses
200

OK

default

Error sent by the provider

get/capabilities
Response samples
application/json
{
  • "fiatCurrencyCapabilities": [
    ],
  • "countryCapabilities": [
    ]
}

getQuote

SecurityApiKeyAuth
Request
query Parameters
from
required
string

Fiat currency at the ISO-4217 standard.

Example: from=EUR
to
required
string

Crypto currency ID using the LedgerId format.

Example: to=bitcoin
payment-method
required
string

Payment method, valid values : card, googlepay, applepay, paypal, cryptocom, sepa, ach, instantach, fasterpayments, easybank, bank, cashapp, venmo, pix, mobikwik, easypay, astropay, upibanktransfer, sofort, bancontact, giropay, eps, ideal, other, revolut, p2p, interac, payid, spei, imps, gcash, ovo, shopeepay, grabpay, linkaja, maya, pse, dana, qris.

Example: payment-method=paypal
amount
required
integer

Fiat amount to buy.

Example: amount=50
country
required
string

Country of the user at the Alpha-2 standard (ISO3166).

Example: country=FR
dest
required
string

Destination address of the buy.

Example: dest=0x000000000000000000000000000000
Responses
200

OK

400

Invalid value for: query parameter from, Invalid value for: query parameter to, Invalid value for: query parameter payment-method, Invalid value for: query parameter amount, Invalid value for: query parameter country, Invalid value for: query parameter dest

default

Error sent by the provider

get/quote
Response samples
application/json
{
  • "from": "EUR",
  • "to": "bitcoin",
  • "fiatAmount": 50,
  • "cryptoAmount": 0.2
}

Retrieve a redirect URL

Returns the URL of the on-ramp widget, including the specified buy parameters, to which the user will be redirected.

SecurityApiKeyAuth
Request
query Parameters
from
required
string

Fiat currency at the ISO-4217 standard.

Example: from=EUR
to
required
string

Crypto currency ID using the LedgerId format.

Example: to=bitcoin
payment-method
required
string

Payment method, valid values: card, googlepay, applepay, paypal, cryptocom, sepa, ach, instantach, fasterpayments, easybank, bank, cashapp, venmo, pix, mobikwik, easypay, astropay, upibanktransfer, sofort, bancontact, giropay, eps, ideal, other, revolut, p2p, interac, payid, spei, imps, gcash, ovo, shopeepay, grabpay, linkaja, maya, pse, dana, qris

Example: payment-method=paypal
amount
required
integer

Fiat amount to buy.

Example: amount=50
country
required
string

Country of the user at the Alpha-2 standard (ISO3166).

Example: country=FR
dest
required
string

Destination address of the buy.

Example: dest=0x000000000000000000000000000000
ledgerTransactionId
required
string

Ledger Live transaction ID. Used by Ledger to track transactions and their completion statuses.

Example: ledgerTransactionId=9649d677-f201-45b2-8130-0317065743de
deeplinkUrl
string

Deeplink URL to Ledger Live.

Example: deeplinkUrl=ledgerlive://buy
Responses
200

OK

400

Bad Request

getCrypto-currencies

Responses
200

OK

default

Error sent by the provider

get/crypto-currencies
Response samples
application/json
[
  • "bitcoin",
  • "solana",
  • "ethereum",
  • "ethereum/erc20/aave",
  • "solana/spl/epjfwdd5aufqssqem2qn1xzybapc8g4weggkzwytdt1v"
]