Subscription Status Paypload

Subscription update payload

Information: Expected status: 200 Expected content: Any content, no content is also accepted. Content-Type: application/json Method: POST

{
    "event": "SUBSCRIPTION_STATUS",
    "subscriptionId": 5,
    "externalSubscriptionId": "I-4P3W7R69J6YJ",
    "gateway": "paypal",
    "status": "APPROVAL_PENDING",
    "unsubscribeUrl": "https://payments.cloudprotected.net/v1/subscription/cancel/5168fsdfsdf712sdfsdfc69009fb704dfsfdsb29357sdf684-msdftcga/paypal",
    "intervalUnit": "MONTH",
    "intervalCount": 1
}
// Status
APPROVAL_PENDING = The subscription is created but not yet approved by the buyer.
APPROVED = The buyer has approved the subscription.
ACTIVE = The subscription is active.
SUSPENDED = The subscription is suspended.
CANCELLED = The subscription is cancelled.
EXPIRED = The subscription is expired.
// IntervalUnit
DAY = A daily billing cycle.
WEEK = A weekly billing cycle.
MONTH = A monthly billing cycle.
YEAR = A yearly billing cycle.

Last updated

Was this helpful?