POST
/
api
/
v1
/
wallets
/
preview-withdraw
Preview crypto withdrawal
curl --request POST \
  --url https://secureapi.dyrectpay.com/api/v1/wallets/preview-withdraw \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-signature: <api-key>' \
  --header 'x-timestamp: <api-key>' \
  --data '
{
  "chain": "tron",
  "amount": 10,
  "coin": "usdt",
  "receiverAddress": "TExampleReceiverAddress",
  "remark": "Customer withdrawal"
}
'
{
  "status": "success",
  "message": "Success",
  "data": {
    "transactionId": "transaction_id",
    "amount": 10,
    "fee": 1,
    "coin": "usdt",
    "chain": "tron",
    "status": "pending"
  }
}

Authorizations

x-api-key
string
header
required

API key issued to your integration.

x-timestamp
string
header
required

Request timestamp used for signature verification.

x-signature
string
header
required

Request signature generated by your backend.

Body

application/json
chain
string
required
Example:

"tron"

amount
number
required
Example:

10

coin
string
required
Example:

"usdt"

receiverAddress
string
required
Example:

"TExampleReceiverAddress"

remark
string
Example:

"Customer withdrawal"

Response

Successful response.

status
string
Example:

"success"

message
string
Example:

"success"

data
any | null

Endpoint-specific response payload.