Bitycle Business
English
  • English
  • Turkish
  1. Wallet as a Service(WaaS)
Bitycle Business
English
  • English
  • Turkish
  • Getting started
  • Bitycle Widget
    • introduction
    • demo
    • widgets
      • Advance Chart
      • Full Chart
      • Overview Chart
      • Fear & Greed
      • Technical Analysis
      • Mini Chart
      • Trends
      • Compare
      • Treemap
      • Ticker
      • Digest(AI)
      • News
      • Info
  • Bitycle Lab
    • introduction
    • Wallet as a Service(WaaS)
      • Introduction
      • Tokens List
        GET
      • Request Ramzlink
        POST
      • Get Ramzlink Status
        GET
      • Request Wallet (VIP)
        POST
      • Callback New Payment
        POST
      • Get Deposits
        GET
      • Request Withdrawal (VIP)
        POST
      • Get Withdrawals
        GET
      • Get single Withdrawal
        GET
      • Buy TRON Energy & Bandwidth
        POST
      • Inquiry payment with trxRefId
        POST
      • Inquiry payment without trxRefId
        POST
    • Blockchain Indexer
      • introduction
      • Blockchain List
      • Contract Info
      • Get Balances
    • Security&Privacy
      • introduction
      • Check Blocked Wallets
      • Add to watch list
      • Get watch list
      • Delete from watch list
      • Get address label
      • Get address information
    • Node as a Service(NaaS)
      • introduction
    • Tokenization
      • introduction
    • Decentralized Storage(IPFS)
      • introduction
    • Hyperledger Services
      • introduction
  • Bitycle Cap
    • introduction
    • Coins
      • introduction
      • Coin List
      • Coin Info
      • Coin Price
      • coin exchange listings
    • Markets
      • introduction
      • Market Price
      • Markets Price
      • Markets List
      • Market Info
      • market sparklines
    • exchanges
      • introduction
      • CEX Aggregator(Buy&Sell)
        • introduction
        • get tradable markets
        • get tradable markets price
        • send otc order
        • get orders
        • get balances
      • Exchanges List
      • Exchange Info
      • Exchange Coins Listing
      • Exchange Markets Listing
  1. Wallet as a Service(WaaS)

Request Withdrawal (VIP)

POST
/v1/webservice/withdraw
For using this service, first get apiKey and secreteKey from bityclepay support and then send the withdraw request as follow.

sample Node.js code:#

import axios from 'axios';
import crypto from "crypto"

const apiKey = 'b20c...b54a';
const merchantCode = 'e3aa...ba9a';
const secreteKey = 'c81a...44ed';

const amount = '100'
const token = 'USDT';
const walletAddress = '0xFB0F...2cAc';
const timestamp = Date.now();

const signature = crypto.createHmac("sha256",secreteKey).update(`${apiKey}${merchantCode}${timestamp}${amount}${token}${walletAddress}`).digest("hex");

const response = await axios.post('https://chainhub-devapi.bitycle.com/v1/webservice/withdraw',{
    amount: amount,
    description:"Widthraw fund from account description",
    token: token,
    walletAddress: walletAddress,
    chain:"Amoy",
},{
    headers:{
        'x-api-key': apiKey,
        'x-timestamp': timestamp,
        'x-signature': signature

    }
});

console.log("response: " ,response);

sample python code#

import requests
import hmac
import hashlib
import time

# API credentials
merchant_code = 'e3aa...ba9a'
api_key = 'b20c...b54a'
secret_key = 'c81a...44ed'

# Request parameters
amount = '200'
token = 'USDT'
wallet_address = '0xFB0F...2cAc'
timestamp = str(int(time.time() * 1000))  # Convert current time to milliseconds

# Creating the signature
message = f"{api_key}{merchant_code}{timestamp}{amount}{token}{wallet_address}"
signature = hmac.new(secret_key.encode(), message.encode(), hashlib.sha256).hexdigest()
# Sending the POST request
response = requests.post('https://chainhub-devapi.bitycle.com/v1/webservice/withdraw', json={
    'amount': amount,
    'description': "Withdraw fund from account description",
    'token': token,
    'walletAddress': wallet_address,
    'chain': "BSC",
}, headers={
    'x-api-key': api_key,
    'x-timestamp': timestamp,
    'x-signature': signature
})

# Output the response
print("Response: ", response.json())

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://chainhub.bitycle.com/v1/webservice/withdraw' \
--header 'x-api-key: apiKey' \
--header 'x-timestamp: timestamp' \
--header 'x-signature: signature' \
--header 'Content-Type: application/json' \
--data-raw '{
    amount: "100",
    description: "Widthraw fund user 1302.",
    token: "USDT",
    walletAddress: "0x0ad32...45a6",
    chain: "BSC"
}'
Response Response Example
{
    message: "Withdraw request registered successfully",
    data: { 
        withdrawId: 20
    }
}
Modified at 2025-11-25 11:26:09
Previous
Get Deposits
Next
Get Withdrawals
Built with