Supported Event Types (webhookResult.type field)

  • wallets.transaction.updated - Transaction event update
  • wallets.transaction.succeeded - Transaction succeeded
  • wallets.transaction.failed - Transaction failed

Transaction Status Description (webhookResult.data.status field)

  • Processing - Pending confirmation
  • Approved - Approved
  • Cancelled - Cancelled
  • Rejected - Rejected
  • Signed - Signed
  • Pending - Broadcasted
  • Confirming - Confirming
  • Completed - Completed
  • Failed - Failed

Field Description (Content received by webhook during withdrawal)

{
  "event_id": "b29e3009-4fa6-4b42-ab34-1bd677c7c582",
  "url": "https://apidev.nusd.me/nps/webhook",
  "created_timestamp": 1770805834561,
  "type": "wallets.transaction.updated", // Webhook event type
  "data": {
    "request_id": "5bf4fa74-27f7-44e0-954c-86806aa258b6",
    "transaction_id": "d213f737-d508-420e-a381-592bbbf49868",
    "wallet_id": "332cf3e4-af07-46f9-a3da-4aa2cbe3bdd4",
    "type": "Withdrawal", // Withdrawal event
    "status": "Confirming", // Transaction status
    "source": { // Withdrawal source
      "type": "WithdrawalFromAddress",
      "address": "0xF3f42F3d87ac8687B845146Ec38AA9672D9669ab"
    },
    "destination": { // Withdrawal destination
      "type": "WithdrawalToAddress",
      "address": "0xdc2e6b357766aa4b66f41dc29598379ce7d61d46",
      "amount": "0.003",
      "memo": ""
    },
    "created_timestamp": 1770805233354,
    "updated_timestamp": 1770805834561,
    "chain_id": "BASE_ETH", // Chain
    "token_id": "BASE_USDT", // Withdrawal token
    "transaction_hash": "0x8cde9a2b0794517f4dce49eabf6ce37f049b981630649c03d041ba269886713b", // Transaction hash
    "confirmed_num": 10,
    "block_info": {
      "block_number": 380918273,
      "block_hash": "0x8cde9a2b0794517f4dce49eabf6ce37f049b981630649c03d041ba269886713b"
    }
  }
}