Subscription pause and order webhook request body resource.
subscriptionId | string ID of the order. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
subscriptionPauseId | string ID of the pause. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
eventType | string Type of webhook event. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Embedded objects. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Related links. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Returns any 2xx status to indicate that the data received.
{- "subscriptionId": "string",
- "subscriptionPauseId": "string",
- "eventType": "subscription-pause-created",
- "_embedded": {
- "subscription": {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "orderType": "subscription-order",
- "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF",
- "renewalReminderTime": "2019-08-24T14:15:22Z",
- "renewalReminderNumber": 0,
- "trialReminderTime": "2019-08-24T14:15:22Z",
- "trialReminderNumber": 0,
- "abandonReminderTime": "2019-08-24T14:15:22Z",
- "abandonReminderNumber": 0,
- "organizationId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "status": "pending",
- "inTrial": true,
- "trial": {
- "enabled": true,
- "endTime": "2019-08-24T14:15:22Z"
}, - "isTrialOnly": false,
- "invoiceTimeShift": null,
- "recurringInterval": null,
- "autopay": true,
- "startTime": null,
- "endTime": "2019-08-24T14:15:22Z",
- "renewalTime": "2019-08-24T14:15:22Z",
- "rebillNumber": 0,
- "lineItems": [
- {
- "type": "debit",
- "description": "string",
- "unitPriceAmount": 49.95,
- "unitPriceCurrency": "USD",
- "quantity": 1,
- "periodStartTime": "2019-08-24T14:15:22Z",
- "periodEndTime": "2019-08-24T14:15:22Z",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z"
}
], - "lineItemSubtotal": {
- "currency": "USD",
- "amount": 49.95
}, - "paymentInstrumentId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "billingStatus": "draft",
- "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG",
- "currency": "USD",
- "initialInvoiceId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "recentInvoiceId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "items": [
- {
- "planId": "plan_0YV7DENSVGDBW9S71XZNNYYQ0X",
- "quantity": 0,
- "plan": {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21"
}, - "revision": 0,
- "isModified": true,
- "isGrandfathered": true,
- "_embedded": {
- "product": { }
}
}
], - "deliveryAddress": {
- "firstName": "Benjamin",
- "lastName": "Franklin",
- "organization": "Rebilly",
- "address": "36 Craven St",
- "address2": "string",
- "city": "Austin",
- "region": "Texas",
- "country": "GB",
- "postalCode": "WC2N 5NF",
- "phoneNumbers": [
- {
- "label": "main",
- "value": "512-710-1640",
- "primary": true
}
], - "emails": [
- {
- "label": "main",
- "value": "rebilly@example.com",
- "primary": true
}
], - "dob": "1980-04-01",
- "jobTitle": "CEO",
- "hash": "056ae6d97c788b9e98b049ebafd7b229bf852221"
}, - "billingAddress": {
- "firstName": "Benjamin",
- "lastName": "Franklin",
- "organization": "Rebilly",
- "address": "36 Craven St",
- "address2": "string",
- "city": "Austin",
- "region": "Texas",
- "country": "GB",
- "postalCode": "WC2N 5NF",
- "phoneNumbers": [
- {
- "label": "main",
- "value": "512-710-1640",
- "primary": true
}
], - "emails": [
- {
- "label": "main",
- "value": "rebilly@example.com",
- "primary": true
}
], - "dob": "1980-04-01",
- "jobTitle": "CEO",
- "hash": "056ae6d97c788b9e98b049ebafd7b229bf852221"
}, - "activationTime": "2019-08-24T14:15:22Z",
- "voidTime": "2019-08-24T14:15:22Z",
- "abandonTime": "2019-08-24T14:15:22Z",
- "poNumber": "PO123456",
- "shipping": {
- "amount": 0,
- "calculator": "manual"
}, - "notes": "string",
- "canceledBy": "merchant",
- "cancelCategory": "billing-failure",
- "cancelDescription": "string",
- "revision": 0,
- "riskMetadata": null,
- "customFields": {
- "foo": "bar"
}, - "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
], - "_embedded": {
- "recentInvoice": { },
- "initialInvoice": { },
- "customer": { },
- "website": { },
- "leadSource": { },
- "shippingRate": { },
- "paymentInstrument": { },
- "upcomingInvoice": { }
}
}, - "pause": {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "subscriptionId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "status": "pending",
- "pausedBy": "merchant",
- "description": "string",
- "effectiveTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "timeRemaining": "P3600S",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}
}, - "_links": [
- {
- "href": "string",
- "rel": "subscription"
}
]
}