Webhook notification

Anatomy of Duplo webhook payload

Webhook payload sample

{
  "data": {
    "event": {
      "currency": "NGN",
      "new_balance": "6000",
      "account_number": "2220000199",
      "session_id": "8788372380872360623466439001888004118416997121",
      "provider_ref_id": "19997114238474909974008266091707899121010",
      "type": "credit",
      "channel": "nip",
      "description": "TEST DEPOSIT FOR XOA",
      "business_id": "8ed10fcc-1e1c-4ad1-9ed8-e870d6543349",
      "account_ref": "act_Xernusuo1aB5",
      "wallet_ref": "wal_x2vedOKet133",
      "status": "successful",
      "transaction_ref": "tran_dvVmK1BNMMes",
      "fee_amount": 0,
      "settled_amount": 6000,
      "amount": 6000,
      "source_details": {
        "bank_name": "wema",
        "account_name": "Duplo",
        "account_number": "7219000007"
      },
      "receiver_details": {
        "bank_name": "Wema Bank",
        "account_name": "Moses Bright",
        "account_number": "2220000199"
      },
      "date": "2022-09-02T16:29:46.994Z",
      "category": "bank_transfer",
      "multiple_source_details": [],
      "metadata": "\"{}\""
    },
    "event_type": "ACCOUNT_INFLOW"
  },
  "message": "A new event just occurred on your account"
}

Last updated