Download OpenAPI specification:Download
{- "fiatCurrencyCapabilities": [
- {
- "fiat": "EUR"
}, - {
- "fiat": "USD"
}, - {
- "fiat": "GBP"
}
], - "cryptoCurrencyCapabilities": [
- {
- "id": "bitcoin",
- "minAmount": 0.01,
- "maxAmount": 0.5
}, - {
- "id": "ethereum",
- "minAmount": 0.001,
- "maxAmount": 10
}
], - "countriesCapabilities": [
- {
- "country": "FR",
- "paymentMethods": [
- {
- "name": "sepa",
- "minMaxRestrictions": [
- {
- "fiat": "EUR",
- "minAmount": 30,
- "maxAmount": 3000
}
]
}, - {
- "name": "card",
- "minMaxRestrictions": [
- {
- "fiat": "EUR",
- "minAmount": 10,
- "maxAmount": 1000
}
]
}
]
}, - {
- "country": "US",
- "paymentMethods": [
- {
- "name": "sepa",
- "minMaxRestrictions": [
- {
- "fiat": "USD",
- "minAmount": 30,
- "maxAmount": 3000
}
]
}, - {
- "name": "card",
- "minMaxRestrictions": [
- {
- "fiat": "USD",
- "minAmount": 10,
- "maxAmount": 1000
}
]
}
]
}, - {
- "country": "GB",
- "paymentMethods": [
- {
- "name": "sepa",
- "minMaxRestrictions": [
- {
- "fiat": "GBP",
- "minAmount": 10,
- "maxAmount": 3000
}
]
}, - {
- "name": "card",
- "minMaxRestrictions": [
- {
- "fiat": "GBP",
- "minAmount": 30,
- "maxAmount": 1000
}
]
}
]
}
]
}
OK
Invalid value for: query parameter from, Invalid value for:query parameter to, Invalid value for: query parameter paymentMethod...
Error sent by the provider
{- "quoteId": "CC14E626-CF1B-4EDA-AF5E-766FFD5A3457",
- "amountFrom": "1",
- "amountTo": "270.864632",
- "providerFees": "0.0001",
- "referralFees": "0.0001",
- "expiry": "2022-04-04T09:10:51+0000"
}
Returns the URL of the off-ramp widget, including the specified Sell parameters, to which the user will be redirected.
accountId required | string User’s selected account id, where the crypto he wants to sell is stored. Example: accountId=d7e79746-e40c-5fab-9012-3c0bc04e8a13 |
cryptoCurrency required | string The crypto currency that the user wants to sell. It will contain the LedgerID value to identify the crypto. Example: cryptoCurrency=bitcoin |
fiatCurrency required | string The FIAT currency that the user wants to be paid with. Example: fiatCurrency=EUR |
cryptoAmount required | string The crypto amount that the user wants to sell. Example: cryptoAmount=0.001 |
paymentMethod required | string The payment method selected by the user. Example: paymentMethod=card |
mode required | string In this case always Example: mode=sell |
bankResidency required | string User's Country Code (ALPHA-2). Example: bankResidency=FR |
customParameters | string Used to include additional URL-encoded key-value parameters in the widget URL. Example: customParameters=widgetid%3D247312%26ledgerlive%3Dtrue |
ledgerTransactionId | 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 |
OK
Bad Request
Generates a secure binary payload for the nano in order to authorize the transaction.
/quote
). The partner should retrieve the quote data (amounts…) from this id.Info for generating payload
OK
Deposit wallet not available.
Not found error.
When the user's IP address is in a restricted region.
{- "quoteId": "string",
- "amount": "string",
- "refundAddress": "string",
- "fromCryptoCurrency": "string",
- "toFiatCurrency": "string",
- "payloadCryptoCurrency": "string",
- "nonce": "string",
- "slippage": "string"
}
{- "sellId": "SELL-ID-165940",
- "amount": "1.337",
- "payinAddress": "0xa0b86991c627e936c1d19d4a2e90a2ce3606eb48",
- "createdAt": "2030-05-26T14:13:39",
- "providerFees": "0.0001",
- "referralFees": "0.0001",
- "providerSig": {
- "payload": "CgUweGZmZhoFMHhmZmYqBTB4ZmZmOgNCVENCA0JBVEoIMTIwMDAwMDBSCDExNTAwMDAwWhF2ZXJ5IGxvbmd1ZSBub25jZQ==",
- "signature": "MEUCIBRm4PrdgRw0aBwRepuOGGRmR/YPcCoyKNJ7UDjFO030AiEA/VT0anolum0a3X/9lGPeovZHqzeDG9brcUB4zhYmwbs="
}
}
Updates the status of a sell transaction.
Status update payload
OK
Sell transaction not found.
{- "status": "FINISHED",
- "amount": "string",
- "payinTransactionId": "string",
- "providerFees": "string",
- "referralFees": "string"
}
{- "messageKey": "SELL_TRANSACTION_NOT_FOUND_ERROR",
- "message": "Sell transaction not found. (you can add any useful field as you want)"
}