Skip to main content
POST
/
api
/
v4
/
main-account
/
fiat-deposit-url
curl --request POST \
  --url https://whitebit.com/api/v4/main-account/fiat-deposit-url \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "ticker": "UAH",
  "provider": "VISAMASTER",
  "amount": "100",
  "uniqueId": "{{generateID}}",
  "request": "{{request}}",
  "nonce": "{{nonce}}"
}
'
{
  "url": "https://someaddress.com"
}

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
ticker
string
required

Currency's ticker (fiat). ⚠️ Currencies ticker should be fiat and has "can_deposit" status must be "true". Use https://whitebit.com/api/v4/public/assets to know more about currency.

Example:

"UAH"

provider
string
required

Fiat currency provider. ⚠️ Currency provider should be taken from https://whitebit.com/api/v4/public/assets response.

Example:

"VISAMASTER"

amount
string
required

Deposit amount

Example:

"100"

uniqueId
string
required

Unique transaction identifier on client's side

request
string
required

Request signature

nonce
string
required

Unique request identifier

customer
object

Customer information (required for USD/EUR with VISAMASTER provider)

Customer will be redirected to this URL by acquiring provider after success deposit. To activate this feature, please contact support

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

Response

Successful response

url
string

Address for deposit