Callback Responses

Below given are the sample responses of Deposit and Withdraw.

💰 Deposit Callback

{
  "event": "deposit.completed",
  "module": "deposit",
  "status": "SUCCESS",
  "data": {
    "orderId": "ORDER123",
    "asset": "BTC",
    "amount": "0.5",
    "network": "BTC",
    "confirmations": 6,
    "txHash": "abc123"
  }
  "message": "Deposit completed successfully",
  "timestamp": "2026-02-16T08:00:01Z",
}
{
  "event": "deposit.failed",
  "module": "deposit",
  "status": "FAILED",
  "data": {
    "orderId": "ORDER123",
    "asset": "BTC",
    "amount": "0.5",
    "network": "BTC",
    "confirmations": 6,
    "txHash": "abc123"
  }
  "message": "Deposit transaction failed",
  "timestamp": "2026-02-16T08:00:01Z",
}

💸 Withdraw Callback

{
  "event": "withdraw.completed",
  "module": "withdraw",
  "status": "SUCCESS",
  "data": {
    "orderId": "ORDER123",
    "asset": "ETH",
    "amount": "2.0",
    "network": "ERC20",
    "fee": "0.01",
    "txHash": "0xwithdrawhash"
  }
  "message": "Withdraw completed successfully",
  "timestamp": "2026-02-16T08:00:01Z",
}
{
  "event": "withdraw.failed",
  "module": "withdraw",
  "status": "FAILED",
  "data": {
    "orderId": "ORDER123",
    "asset": "ETH",
    "amount": "2.0",
    "network": "ERC20",
    "fee": "0.01",
    "txHash": "0xwithdrawhash"
  }
  "message": "Withdraw transaction failed",
  "timestamp": "2026-02-16T08:00:01Z",
}

📈 Buy Order Callback

{
  "event": "order.buy.completed",
  "module": "buy",
  "status": "SUCCESS",
  "data": {
    "orderId": "ORDER123",
    "pair": "BTC/USDT",
    "price": "45000",
    "filledQuantity": "0.1",
    "total": "4500"
  }
  "message": "Buy completed successfully",
  "timestamp": "2026-02-16T08:00:01Z",
}
{
  "event": "order.buy.failed",
  "module": "buy",
  "status": "FAILED",
  "data": {
    "orderId": "ORDER123",
    "pair": "BTC/USDT",
    "price": "45000",
    "filledQuantity": "0.1",
    "total": "4500"
  }
  "message": "Buy transaction failed",
  "timestamp": "2026-02-16T08:00:01Z",
}

📉 Sell Order Callback

{
  "event": "order.sell.completed",
  "module": "sell",
  "status": "SUCCESS",
  "data": {
    "orderId": "ORDER124",
    "pair": "ETH/USDT",
    "price": "2500",
    "filledQuantity": "1",
    "total": "2500"
  }
  "message": "Sell completed successfully",
  "timestamp": "2026-02-16T08:00:01Z",
}
{
  "event": "order.sell.failed",
  "module": "sell",
  "status": "Failed",
  "data": {
    "orderId": "ORDER124",
    "pair": "ETH/USDT",
    "price": "2500",
    "filledQuantity": "1",
    "total": "2500"
  }
  "message": "Sell Transaction Failed",
  "timestamp": "2026-02-16T08:00:01Z",
}

🏦 Virtual Account Creation Callback

{
  "event": "virtual_account.created",
  "module": "virtual_account",
  "status": "SUCCESS",
  "data": {
    "accountNumber": "1234567890",
    "bankName": "ABC Bank",
    "accountName": "John Doe",
    "currency": "USD"
  }
  "message": "Virtual Account created successfully",
  "timestamp": "2026-02-16T08:00:01Z",
}
{
  "event": "virtual_account.failed",
  "module": "virtual_account",
  "status": "FAILED",
  "data": {
    "accountNumber": "1234567890",
    "bankName": "ABC Bank",
    "accountName": "John Doe",
    "currency": "USD"
  }
  "message": "Virtual Account creation failed",
  "timestamp": "2026-02-16T08:00:01Z",
}