Wise App
  • Wise API Integration
    • Getting Started with Wise APIs
    • API Authentication
    • API Endpoints
    • SSO Integration
    • Webhooks Integration
      • Webhook Retry Mechanism
      • Webhook Event Samples
        • Participant Joined Meeting Event
        • Sharing Stared In Meeting Event
        • Participant Left Meeting Event
        • Sharing Ended In Meeting Event
        • Meeting Started Event
        • Meeting Ended Event
        • Recording Completed Event
        • Certificate Issued Event
        • Attendance Computed Event
        • Student Added To Classroom Event
        • Teacher Added To Classroom Event
        • Student Removed From Classroom Event
        • Teacher Removed From Classroom Event
        • Student Suspension Updated Event
        • Fee Payment Completed Event
        • Fee Invoice Charged Event
        • Sessions Created Event
        • Sessions Updated Event
        • Sessions Deleted Event
    • Rate Limits and Usage Quotas
    • Common Errors
  • Wise Data Storage Policy
  • Wise Android & IOS SDKs
    • Wise Android SDK (Kotlin)
    • Wise Android SDK (Java)
    • Wise Flutter SDK
    • Wise Flutter SDK - iOS Integration
  • Third Party Integrations
    • Custom Payment Gateway Integration
      • Razorpay Payments
      • Stripe Payments
    • AWS S3 storage
    • Custom Email
Powered by GitBook
On this page
  1. Wise API Integration
  2. Webhooks Integration
  3. Webhook Event Samples

Fee Invoice Charged Event

Please note - If a student has 3 instalments, and a fourth instalment is added, then 4 webhook events will be hit

Event name: FeeInvoiceChargedEvent
Event response:
{
  "event": "FeeInvoiceChargedEvent",
  "payload": {
    "classroom": {
      "_id": "XXXXXXXXXXXXXXX",
      "name": "Personal Training with API User 102",
      "subject": "Yoga and Mindfulness",
      "classNumber": 310134094
    },
    "student": {
      "_id": "XXXXXXXXXXXXXXX",
      "name": "Vishwas Sen",
      "phoneNumber": "XXXXXXXXXXXXXXX",
      "email": "XXXXXXXXXXXXXXX"
    },
    "transaction": {
      "status": "CHARGED",
      "type": "INVOICE",
      "senderId": "XXXXXXXXXXXXXXX",
      "receiverId": "XXXXXXXXXXXXXXX",
      "chargedAt": "2024-05-07T07:48:49.911Z",
      "amount": {
        "value": 10000,
        "currency": "INR"
      },
      "note": "Invoice for Installment 0",
      "metadata": {
        "classId": "XXXXXXXXXXXXXXX",
        "dueOn": "2023-06-14T08:19:06.715Z",
        "dueAfterDays": 30,
        "paid": false,
        "index": 0,
        "paymentOptionId": "",
        "installmentId": "XXXXXXXXXXXXXXX",
        "feeType": "INSTALLMENT",
        "feeAssignedManually": true
      }
    }
  }
}
PreviousFee Payment Completed EventNextSessions Created Event

Last updated 10 months ago