Backend
You need to follow some steps so your LiveApp can communicate properly with our Backend.
In addition to the following steps, Ledger also needs to know:
- The base url of the API,
- Any backend authentication information to use the api (token in header…)
Endpoints needed for Buy
In order to communicate with Ledger’s backend, you must provide standardised APIs for Ledger’s BUY aggregator services to call.
đź”—
You will find all the information regarding the BUY endpoints here: https://exchange-integration-buy.redoc.ly/.
There are 3 main endpoints needed for the buy:
- To get the list of available fiat, country, payment, method and amount: /capabilities.
- To get the list of available crypto-currencies: /crypto-currencies.
- To get the crypto amount that the user should expect -after all fees are deducted - as a payment for the given fiat amount: /quotes.