Download OpenAPI specification:
Webhook interfaces for postbacks from the Zipit VAS api.
endpointUrl | string <url> Endpoint which should be posted to when the selected event happens
|
eventPatterns | Array of strings (eventTypes) Items Enum: "*" "billing:*" "billing:chargeDispute" "billing:purchase" "billing:shipment" "billing:subscriptionChange" "billing:subscriptionCycle" "billing:subscriptionEnd" "billing:subscriptionPaymentFailed" "billing:subscriptionStart" "billing:paymentMethodAdded" "billing:paymentMethodUpdated" "claim:claimSuccess" "claim:claimFailure" "claim:unclaimSuccess" "claim:unclaimFailure" "subscription:usage" "device:deviceUpdated" "org:organizationUpdated" List of event types which should be sent to the specified URL |
status | string Enum: "active" "disabled" "failed" State of the webhook
|
id | string Internal ID of the webhook endpoint. |
{- "endpointUrl": "string",
- "eventPatterns": [
- "*"
], - "status": "active",
- "id": "string"
}
{- "endpointUrl": "string",
- "eventPatterns": [
- "*"
], - "status": "active",
- "statusTime": "string",
- "recentFailureCount": 0,
- "recentSuccessCount": 0,
- "id": "string"
}
{- "eventId": null,
- "eventDate": null,
- "customerId": null,
- "customerName": null,
- "customerIdentifier": null,
- "eventType": "billing:subscriptionStart",
- "body": {
- "catalogItem": {
- "catalogItemId": "string",
- "catalogGroup": {
- "catalogGroupId": "string",
- "groupName": "string",
- "currency": "string"
}, - "itemName": "string",
- "internalName": "string",
- "itemType": "subscription",
- "interval": "day",
- "intervalCount": 0,
- "price": 0,
- "isShippable": true,
- "deviceAssociated": true,
- "tags": [
- "string"
], - "targetRenewDay": 0
}, - "organization": {
- "organizationId": "string",
- "organizationName": "string",
- "organizationKey": "string",
- "stackId": "string",
- "stackName": "string",
- "billing": {
- "name": "string",
- "email": "string",
- "primaryPhone": "string",
- "company": "string",
- "billingAddress": {
- "line1": "string",
- "line2": "string",
- "city": "string",
- "country": "string",
- "state": "string",
- "postalCode": "string"
}, - "shippingAddress": {
- "line1": "string",
- "line2": "string",
- "city": "string",
- "country": "string",
- "state": "string",
- "postalCode": "string"
}
}, - "custom1": "string",
- "custom2": "string",
- "custom3": "string",
- "custom4": "string",
- "custom5": "string"
}, - "device": {
- "deviceId": "string",
- "stackId": "string",
- "organizationId": "string",
- "serial": "string",
- "deviceTypeName": "string",
- "description": "string",
- "nickname": "string",
- "imei": "string",
- "iccid": "string",
- "sims": [
- {
- "simId": "string",
- "iccid": "string",
- "carrier": "string",
- "active": true,
- "imsi": "string",
- "msisdn": "string",
- "imei": "string"
}
], - "custom1": "string",
- "custom2": "string",
- "custom3": "string",
- "custom4": "string",
- "custom5": "string"
}, - "createdDate": "2019-08-24T14:15:22Z",
- "nextBillingDate": "2019-08-24T14:15:22Z",
- "isTrial": true,
- "provisioningId": "string"
}
}