Sell 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": [
    ],
  • "cryptoCurrencyCapabilities": [
    ],
  • "countriesCapabilities": [
    ]
}

getQuote

Request
query Parameters
from
required
string

Crypto currency at the ledgerId format.

Example: from=bitcoin
to
required
string

Fiat currency at the ISO-4217 standard.

Example: to=EUR
payment-method
required
string

Payment method, valid values : visa, mastercard, creditcard, pix, mobikwik, easypay, astropay, upibanktransfer, sofort, bancontact, giropay, maestro, googlepay, applepay, paypal, sepa, ach, fasterpayments, easybank, bank, gbpbank, eps, ideal, other.

Example: payment-method=paypal
amount
required
integer

CryptoCurrency amount to sell.

Example: amount=0.3
country
required
string

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

Example: country=FR
walletAddress
required
string

User's wallet address where he holds the cryptocurreny he wants to sell.

Example: walletAddress=0x000000000000000000000000000000
Responses
200

OK

400

Invalid value for: query parameter from, Invalid value for:query parameter to, Invalid value for: query parameter paymentMethod...

default

Error sent by the provider

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

getCrypto-currencies

Responses
200

OK

default

Error sent by the provider

get/crypto-currencies
Response samples
application/json
[
  • {
    },
  • {
    }
]