The endpoint retrieves a deposit url of the fiat invoice.
The endpoint works on demand. Contact WhiteBIT support and provide the API key to get access to the functionality.
Errors
{
"code": 0,
"message": "Validation failed",
"errors": {
"amount": ["Amount is too little for deposit"]
}
}
{
"code": 0,
"message": "Validation failed",
"errors": {
"provider": ["Cannot find currency for specified provider"]
}
}
{
"code": 0,
"message": "Validation failed",
"errors": {
"uniqueId": ["The unique id has already been taken."]
}
}
{
"code": 0,
"message": "Validation failed",
"errors": {
"amount": ["The amount must be a number."],
"provider": ["The selected provider is invalid."],
"ticker": ["The selected ticker is invalid."]
}
}
{
"code": 10,
"message": "Failed to generate deposit url"
}
{
"code": 0,
"message": "Validation failed",
"errors": {
"amount": ["The amount field is required."],
"provider": ["The provider field is required."],
"ticker": ["The ticker field is required."],
"uniqueId": ["The unique id field is required."]
}
}
{
"code": 0,
"message": "Validation failed",
"errors": {
"successLink": [
"Your domain is incorrect. Please contact support for more details"
],
"failureLink": [
"Your domain is incorrect. Please contact support for more details"
]
}
}
{
"success": false,
"message": "You don't have permission to use this endpoint. Please contact support for more details",
"code": 0
}
{
"code": 0,
"message": "Validation failed",
"errors": {
"successLink": ["Uri domain must have only https scheme"],
"failureLink": ["Uri domain must have only https scheme"]
}
}
The API does not cache the response.
API key authentication using signed requests
Currency's ticker (fiat). ⚠️ Currencies ticker should be fiat and has "can_deposit" status must be "true". Use Asset Status endpoint to know more about currency.
"UAH"
Fiat currency provider. ⚠️ Currency provider should be taken from Asset Status endpoint response.
"VISAMASTER"
Deposit amount
"100"
Unique transaction identifier on client's side
Request signature
Unique request identifier
Customer will be redirected to this URL in case of fail or rejection on acquiring provider side. To activate this feature, please contact support
Customer will be redirected to the URL defined if selects 'back' option after from the payment success or failure page. To activate this feature, define desired link. If not populated, option 'back' won't be displayed
Successful response
Address for deposit