Fungies.io Help Center
  • 🙌Getting Started
  • Customize your online store
    • General Settings
    • Header
    • Footer
    • Add New Page
    • Add Page Section
    • Text Section
    • Image Section
    • Video Section
    • Gallery Section
    • Points Section
    • Slider Section
    • Recent Products Section
    • Custom Style
  • Add Subscription Product
  • Add Digital Downloads
  • Add Game Keys
  • Add Mobile Game Assets
  • Variants of the product
  • 🛠️Workspace Settings
    • Connect your Stripe account
    • Sandbox Mode
    • Team Management
  • 🧮Store Settings
    • Publish your store
    • Previewing The Store
    • Edit Explore / Search Page (Built-in)
    • Edit Product Page (Built-in)
      • Customize Review Categories
    • Set up Custom Domain
      • Migrating your domain to Cloudflare
  • Tax-inclusive Pricing
  • 🤑Getting Paid
    • Test Payments
    • Checkout Choice
      • Hosted Checkout
      • Overlay Checkout
      • Embedded Checkout
    • Global Availability
    • Customer Payment Methods
      • PayPal Settings
    • Billing Details
    • Payouts
    • Editing Statement Descriptor
    • Transactions Reports
    • Example React checkout
  • 👨‍💻FOR SAAS DEVELOPERS
    • Hosted Checkout (more payment methods)
    • Editing and Pausing Subscriptions
      • Downgrading / Upgrading Subscriptions
    • Creating Plans
    • Free Trials and Custom Intervals
    • Redirecting After Purchase
    • Using Webhooks
    • Types of Webhooks
      • Payment Success
      • Payment Refunded
      • Payment Failed
      • Subscription Created
      • Subscription Interval
      • Subscription Updated
      • Subscription Cancelled
    • Getting Started with the API
    • Orders APIs
      • Managing Orders through API
      • Orders List
      • Cancel Order
      • Update Order
    • Managing Subscriptions through API
    • Managing and Creating Users through API
    • Customizing Subscription Confirmation Page
    • Using CustomFields to parse data from your Software / App
      • Parse e-mails from your Software directly to checkout URL
  • Additional charges on top of Subscriptions
  • Upgrading or Downgrading Plans with API
  • Using Fungies.js npm package
    • Next.js 15 integration guide
  • 🎮For Game Developers
    • Orders
    • Platform Fees
    • Users list
    • Integrating with Game's Back-end
    • Customizing Purchase Confirmation Page
    • Webhooks
  • 💲Selling
    • Payment history
    • Selling FREE products
    • Managing Game Keys
    • Managing Game Assets
    • Pricing
    • Fulfillment of Orders
    • Prohibited Business and Products
    • Invoices and Receipts
    • Google Merchant Center XML Feed
    • SEO Sitemap
  • 🚀Marketing
    • Integrations
      • Google Tag Manager
      • Google Merchant Center
      • Trustpilot
      • Google Analytics (via Google Tag Manager)
    • SEO
    • Discount Codes
    • Pricing Localization
    • Language Localization
    • E-mail Marketing
  • 💰Billing
    • Plans and Usage
    • Invoices
    • Payment Methods
  • 🤩For End-Users
    • How to manage your Subscription?
    • How to buy a Game Key?
    • How to buy a Mobile Game Asset?
    • Getting your product
    • Steam key activation
    • Searching for games
    • Product details page
    • Order details
    • Refunds and chargebacks
  • 🗃️Other
    • FAQ
    • Roadmap
    • Product Changelog
  • 📃Legal
    • General Terms of Use
    • SaaS Terms of Use
    • Privacy Policy
    • Cookies and Tracking
Powered by GitBook
On this page
  1. FOR SAAS DEVELOPERS
  2. Types of Webhooks

Subscription Interval

PreviousSubscription CreatedNextSubscription Updated

Last updated 5 months ago

Subscription Interval is sent periodically based on a subscription's billing cycle, such as monthly or annually. This webhook provides updates on the recurring nature of the subscription, including charges or renewal reminders. It helps businesses maintain transparency, generate invoices, or send reminders for upcoming payments to the customer.

Example of Request Payload Object (subscription_interval)

{
  "id": "04986b95-9406-4fb0-a683-a8703e521e7b",
  "type": "subscription_interval",
  "testMode": true,
  "data": {
    "user": {
      "id": "b38c3b93-4d07-4ad3-9dd8-04b056b339ee",
      "email": "test@fungies.io",
      "object": "user",
      "username": null,
      "internalId": null
    },
    "items": [],
    "lastPayment": {
      "id": "55940915-2822-4860-bbf0-1df1375361f1",
      "fee": 0,
      "tax": 0,
      "type": "subscription_initial",
      "value": 0,
      "number": "S3oQQCCw7wOC6VeO",
      "object": "payment",
      "status": "PAID",
      "userId": "b38c3b93-4d07-4ad3-9dd8-04b056b339ee",
      "orderId": "55940915-2822-4860-bbf0-1df1375361f1",
      "currency": "USD",
      "createdAt": 1732373466231,
      "orderNumber": "S3oQQCCw7wOC6VeO",
      "currencyDecimals": 2
    },
    "subscription": {
      "id": "S3oQQCCw7wOC6VeO",
      "object": "subscription",
      "userId": "b38c3b93-4d07-4ad3-9dd8-04b056b339ee",
      "orderId": "55940915-2822-4860-bbf0-1df1375361f1",
      "createdAt": 1731938713000,
      "canceledAt": null,
      "orderNumber": "S3oQQCCw7wOC6VeO",
      "lastPaymentId": "55940915-2822-4860-bbf0-1df1375361f1",
      "lastPaymentNumber": "S3oQQCCw7wOC6VeO",
      "currentIntervalEnd": 1734530713000,
      "cancelAtIntervalEnd": false,
      "currentIntervalStart": 1731938713000
    }
  },
  "idempotencyKey": "04986b95-9406-4fb0-a683-a8703e521e7b"
}
👨‍💻