webhooks

Webhooks are real-time notifications sent by the system to your server whenever a transaction event occurs (like deposit or withdraw).

Withdraw Webhooks

Withdraw Events

Event Description
withdraw.success Withdraw completed successfully
withdraw.rejected Withdraw rejected by admin

Withdraw Webhook Payload Structure

JSON
{
  "data": {
    "fee": 0,
    "amount": 10,
    "status": 1,
    "currency": "USDT",
    "order_id": "CPW231775132508500",
    "created_at": "2026-04-02T12:21:48.000Z",
    "merchant_name": "smartcubeforex",
    "transaction_id": "MTX_99dd36610b984b89ec2a",
    "original_amount": 10
  },
  "event": "withdraw.success"
}

Withdraw Example Events

Withdraw Success

JSON
{ "event": "withdraw.success" }

Withdraw Rejected

JSON
{ "event": "withdraw.rejected" }

Deposit Webhooks

Deposit Events

Event Description
payment.success Deposit completed successfully
payment.cancelled Deposit cancelled by user
payment.expired Deposit expired before completion

Deposit Webhook Payload Structure

JSON
{
  "data": {
    "fee": 0,
    "amount": 10,
    "status": 3,
    "currency": "USDT",
    "order_id": "CPAY231775130277207",
    "created_at": "2026-04-02T11:44:37.000Z",
    "merchant_name": "smartcubeforex",
    "transaction_id": "MTX_fb93c93d7b5c27ea1963",
    "original_amount": 10
  },
  "event": "payment.success"
}

Deposit Example Events

Payment Success

JSON
{ "event": "payment.success" }

Payment Cancelled

JSON
{ "event": "payment.cancelled" }

Payment Expired

JSON
{ "event": "payment.expired" }