Skip to main content
WEBHOOK
subscription.cancelled
{
  "arr": {
    "currency": "<string>",
    "value_in_cents": 123
  },
  "auto_charges": true,
  "auto_renews": true,
  "billing_anchor_date": "2023-11-07T05:31:56Z",
  "bundle_pricing_id": "<string>",
  "cancel_date": null,
  "change_date": null,
  "computed_entitlements": [
    {
      "entitlement_id": "<string>",
      "id": "<string>",
      "inherited_from_id": null,
      "inherited_from_type": null,
      "key": "<string>",
      "name": "<string>",
      "original_value": "<any>",
      "overridden": null,
      "type": "<string>",
      "value": "<any>"
    }
  ],
  "config_items": [
    {
      "hide_at_checkout": null,
      "minimum_units": 123,
      "num_licenses": 123,
      "product_metric_pricing_id": null,
      "product_pricing_id": null,
      "quantity_config": {
        "allow_custom_quantity": true,
        "max_quantity": 123,
        "min_quantity": 123
      },
      "sort_order": null,
      "upsell_product_metric_pricing_id": null
    }
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "customer": {
    "email": "<string>",
    "exclude_from_metrics": true,
    "id": "<string>",
    "identifier": "<string>",
    "managed_externally": true,
    "metadata": [
      1
    ],
    "name": "<string>",
    "org_name": "<string>",
    "owner_id": null,
    "parent_customer_id": null,
    "status": "<string>",
    "title": "<string>"
  },
  "customer_cancel_reason": null,
  "customer_id": "<string>",
  "end_date": null,
  "id": "<string>",
  "import_created_at_ref": null,
  "import_ref": null,
  "imported_from": null,
  "invoice_additional_display_fields": [
    {
      "name": "<string>",
      "value": "<string>"
    }
  ],
  "invoice_due_date_from_creation": 1,
  "invoice_event_grace_period": 1,
  "metadata": [
    1
  ],
  "minimum_spend": {
    "currency": "<string>",
    "value_in_cents": 123
  },
  "mrr": {
    "currency": "<string>",
    "value_in_cents": 123
  },
  "next_invoice_date": null,
  "parent_billed": true,
  "parent_customer": {
    "email": "<string>",
    "exclude_from_metrics": true,
    "id": "<string>",
    "identifier": "<string>",
    "managed_externally": true,
    "metadata": [
      1
    ],
    "name": "<string>",
    "org_name": "<string>",
    "owner_id": null,
    "parent_customer_id": null,
    "status": "<string>",
    "title": "<string>"
  },
  "parent_customer_id": null,
  "pause_date": null,
  "payment_method_id": null,
  "product_pricing_ids": [
    "<string>"
  ],
  "renewal_date": null,
  "start_date": "2023-11-07T05:31:56Z",
  "status": "<string>",
  "tags": [
    "<string>"
  ],
  "term": {
    "count": 123,
    "frequency": "<string>"
  },
  "trial": true,
  "trial_conversion_date": null,
  "updated_at": "2023-11-07T05:31:56Z"
}

Body

application/json
arr
object

The annual recurring revenue for this subscription

auto_charges
boolean

Whether the subscription is set up to automatically charge the card attached to the subscription or the default payment method on the customer

auto_renews
boolean

Whether the subscription is set up to automatically renew

billing_anchor_date
string<date-time>

The billing anchor date for this subscription, typically the same as the start date

bundle_pricing_id
string

The bundle of product pricings attached to this subscription

cancel_date
string<date-time> | null

The date this subscription was cancelled. The end date represents the date that the subscription will actually cancel

change_date
string<date-time> | null

The date this subscription is due to change to a different plan

computed_entitlements
object[] | null

Computed entitlements attached to this subscription

config_items
object[] | null

The mapping of the quantities and the product metric pricings

created_at
string<date-time>

The date the subscription was created

customer
object

The expanded customer details for the subscription

customer_cancel_reason
string | null

An optional reason provided by the customer for the cancellation

customer_id
string

The customer to which this subscription belongs

end_date
string<date-time> | null

The end date of the subscription, if there is one

id
string

The ID of the subscription in Maple

import_created_at_ref
string<date-time> | null

The date the subscription was created in the import source

import_ref
string | null

The reference ID in the provider that this subscription maps to

imported_from
string | null

The provider from which this subscription was imported

invoice_additional_display_fields
object[] | null

Any additional invoice key-value pairs that attached to the invoices for this subscription

invoice_due_date_from_creation
integer

The number of days between the invoice date and the due date

Required range: x >= 0
invoice_event_grace_period
integer

The grace period (in seconds) for post charge events to be captured before invoice is generated

Required range: x >= 0
metadata
integer[] | null

Any additional data as key-value pairs attached to the subscription

minimum_spend
object

The minimum spend for this subscription per billing period

mrr
object

The monthly recurring revenue for this subscription

next_invoice_date
string<date-time> | null

The date the next invoice for this subscription will be available

parent_billed
boolean

Whether the subscription is billed to the parent of this customer

parent_customer
object

The parent customer for this subscription

parent_customer_id
string | null

The parent customer to which this subscription could be billed to

pause_date
string<date-time> | null

The date this subscription was paused for collection

payment_method_id
string | null
deprecated

The payment method for this subscription, if available. Use 'paymentMethod' instead

product_pricing_ids
string[] | null

The list of plans that are part of this subscription along with the quantities and minimum purchased units per metric under the plan

renewal_date
string<date-time> | null

The renewal date of the subscription, if there is one

start_date
string<date-time>

The start date of the subscription

status
string

The subscription status which can be one of active, cancelled or unpaid

tags
string[] | null

Tags attached to the subscription

term
object

The term for the subscription, broken into the intervals and the number of intervals

trial
boolean

Whether the subscription is a trial

trial_conversion_date
string<date-time> | null

The date the trial converted to an active subscription, remains null if trial does not convert

updated_at
string<date-time>

The date the subscription was last updated

Response

200

Return a 200 status to indicate that the data was received successfully

I