Subscriptions

Subscriptions: notifications and status

XML 2.9 onlyOpenAPI

How to track subscription state while the notification format is not in the spec.

The current clean Subscription Service specification does not describe the outgoing notification format. To avoid inventing fields and signatures, use GetSubscriptionStatus: it returns the current SubscriptionStatus, PaidUntilUtc and StatusName.

What to do now

  • After creating and approving a subscription, poll GetSubscriptionStatus by SubscriptionID, Subscriber_MSISDN or SubscriberID.

  • Treat the subscription as active only when SubscriptionStatus=Active.

  • Pending means confirmation is not complete; ApprovingFailed means it failed.

  • Use SubscriptionCancel to cancel and RefundBillingOperation to refund.