Webhook Sample: wallet.debit

Sample webhook for crypto debit to wallet, as in sell or send
Webhooks
Webhook Sample: wallet.debit
 last updated: 
November 30, 2023
  1. {
  2.   "eventType": "wallet.debit",
  3.   "programId": "prg-857eb3db-7c4e-4701-9f25-25bc9359aa90",
  4.   "env": "qa",
  5.   "data": {
  6.     "id": "txn-9f934d5a-2ec3-4129-9d1b-0a3444db7fce",
  7.     "txnType": "debit",
  8.     "title": "crypto sell payment",
  9.     "amount": "-0.00016684",
  10.     "transferType": "sell",
  11.     "subType": "originated",
  12.     "description": "crypto sell payment",
  13.     "walletId": "cpw-4dd9966a-bc1c-4445-9e61-f99b7c2a32f1",
  14.     "businessId": "",
  15.     "programId": "prg-857eb3db-7c4e-4701-9f25-25bc9359aa90",
  16.     "personId": "per-6dd98602-9f6e-4ba2-b859-231a510c6aee",
  17.     "balance": "0.00156407",
  18.     "status": "settled",
  19.     "card": null,
  20.     "send": null,
  21.     "buy": null,
  22.     "sell": {
  23.       "quoteId": "qtn-9c3d4de4-3d11-4f4f-8160-6291df686ccb",
  24.       "quotedPrice": "29968.07",
  25.       "quotedCurrency": "USD",
  26.       "accountId": "acc-3fd073a6-9185-45c4-b943-b858c032d4c4"
  27.     },
  28.     "receive": null,
  29.     "createdAt": "2022-05-17T05:18:56Z",
  30.     "txnDate": "2022-05-17T05:18:56Z",
  31.     "currency": "BTC",
  32.     "familyId": "",
  33.     "parentTxnId": "",
  34.     "reviewCode": "",
  35.     "reviewMessage": "",
  36.     "parentTransferId": ""
  37.   }
  38. }