Webhook Sample: wallet.credit

Sample webhook for crypto credit to wallet, as in buy or receive
Webhooks
Webhook Sample: wallet.credit
 last updated: 
November 30, 2023
  1. {
  2.   "eventType": "wallet.credit",
  3.   "programId": "prg-857eb3db-7c4e-4701-9f25-25bc9359aa90",
  4.   "env": "qa",
  5.   "data": {
  6.     "id": "txn-ef5e5e5c-37f2-4733-8be7-7630cd649499",
  7.     "txnType": "credit",
  8.     "title": "CryptoBuy-Anand",
  9.     "amount": "0.00163091",
  10.     "transferType": "buy",
  11.     "subType": "originated",
  12.     "description": "crypto buy 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.00163091",
  18.     "status": "settled",
  19.     "card": null,
  20.     "send": null,
  21.     "buy": {
  22.       "quoteId": "qtn-9804c6b3-22e0-45a9-83ba-ef449ee847b4",
  23.       "quotedPrice": "30657.82",
  24.       "quotedCurrency": "USD",
  25.       "accountId": "acc-3fd073a6-9185-45c4-b943-b858c032d4c4"
  26.     },
  27.     "sell": null,
  28.     "receive": null,
  29.     "createdAt": "2022-05-17T04:57:17Z",
  30.     "txnDate": "2022-05-17T04:57:17Z",
  31.     "currency": "BTC",
  32.     "familyId": "",
  33.     "parentTxnId": "",
  34.     "reviewCode": "",
  35.     "reviewMessage": "",
  36.     "parentTransferId": ""
  37.   }
  38. }