Skip to main content

Subscription Notifications

You can receive notifications whenever your subscription status changes.

Event list

  • Subscription Created
  • Subscription Suspended
  • Subscription Reactivated
  • Subscription Canceled
  • Subscription Discount Plan Updated
  • Subscription Expiration Date Updated - triggered only when the date is shifted outside of the normal renewal process
  • Subscription Unpaid - triggered with the email reminder about the unpaid subscription, which depends on the subscription model
  • Subscription expired - sent when the grace period ends
  • Payment Method Changed

List of fields

FieldTypeDescriptionR/O
subjectstringsubscriptionR
typestringEvent type — see Event listR
objectIdstringSubscription identifierR
eventDatestring (date-time)ISO 8601 timestampR
subscriptionsubscription.SubscriptionR
→ createDatestring (date-time)Creation date in ISO 8601 formatR
→ discountPlansubscription.DiscountPlanO
— → nextDiscountStepinteger (int32)Calculated next discount step valueR
— → startingStepinteger (int32)Starting stepO
— → tagstringPlan identifierR
→ enduserIdstringEnd-user UUIDR
→ idstringSubscription UUIDR
→ lifecyclesubscription.LifeCycleR
— → anniversaryDatestring (date-time)Renewal/expiration date in ISO 8601 formatR
— → generationinteger (int32)Renewal generation (term number)R
— → idstringBack-office subscription identifier (deprecated)O
— → statusstringStatus: Active, Suspended, Dunning, Canceled, ExpiredR
→ modelIdstringModel identifier, e.g. NEXWAY_1YR
→ namestringProduct nameO
→ paymentMethodIsNoLongerReplayablebooleanWhether the payment method is no longer replayableO
→ paymentMethodIsNoLongerReplayableReasonstringReason why the payment method is no longer replayableO
→ productssubscription.Product[]Associated productsR
— → idstringProduct UUIDR
— → licenseIdstringLicense identifierO
— → lineItemIdstringOrder line item UUIDR
→ sourcestringSubscription sourceO
→ storeIdstringStore UUIDR

Example

{
"subject": "subscription",
"type": "created",
"objectId": "c0a47254-fb78-4859-8954-d98ff5fb7730",
"eventDate": "2020-09-07T13:46:57Z",
"subscription": {
"id": "c0a47254-fb78-4859-8954-d98ff5fb7730",
"createDate":"1595918226381",
"modelId": "NEXWAY_1M",
"name": "Nexway Secure Connection",
"lifecycle": {
"id": "6862801",
"anniversaryDate" : "2026-04-09T15:30:38Z"
},
"products":[
{
"id": "d4b35678-94ec-4e8c-acd5-d758a71ede7f",
"lineItemId": "c5ad58a0-6f41-47cf-9ecc-ab57b034c25e"
}
]
}
}

Subscription discount plan is changed

This notification is sent when a discount plan is added or changed for a subscription.

FieldTypeDescriptionR/O
subjectstringsubscriptionR
typestringdiscountPlanUpdatedR
objectIdstringSubscription UUIDR
eventDatestring (date-time)Timestamp of the event in ISO 8601 formatR
subscriptionobjectR
→ idstringSubscription UUIDR
→ discountPlanobjectDiscount plan added or changed for this subscriptionR
— → tagstringDiscount plan tagR
— → nextDiscountStepintegerNext step value. Calculated as startingStep + generation + 1R

Example

{
"subject" : "subscription",
"type" : "discount plan updated",
"objectId" : "d888ff3b-0381-4b35-9cbe-f9c73666524f",
"eventDate" : "2025-01-28T08:58:42Z",
"subscription" : {
"id" : "d888ff3b-0381-4b35-9cbe-f9c73666524f",
"discountPlan": {
"tag": "tag"
"nextDiscountStep": 1
}
}
}

Subscription Payment Method Changed

This notification is sent when the end-user changes subscription payment method.

FieldTypeDescriptionR/O
subjectstringendUserR
typestringsubscriptionPaymentMethodUpdatedR
objectIdstringEndUser identifierR
eventDatestring (date-time)ISO 8601 timestampR
endUsersubscription.EndUserR
→ expirationDatestringThe expiration date of the payment method mm/YYO
→ idstringThe end user idR
→ paymentMethodstringBroad classification, e.g. CreditCardO
→ paymentMethodNamestringSpecific variant, e.g. visa, mastercardO
→ subscriptionIdstringThe subscription IdR