AddonSubscriptionPurchasedv1.0.0
An event raised whenever an addon subscription is purchased.
AddonSubscriptionPurchased Schema (yml)
openapi: 3.0.0
info:
version: "1.0.0"
title: AddonSubscriptionPurchased
paths: {}
components:
schemas:
AddonSubscriptionPurchased:
type: object
required:
- metadata
- data
properties:
data:
"$ref": "#/components/schemas/Data"
metadata:
"$ref": "#/components/schemas/Metadata"
Data:
type: object
required:
- subscriptionId
- email
- phoneNumber
- kitchen
- currency
- amount
- discount
- amountPaid
- vat
- country
- brand
- deliveryDays
- startDate
- endDate
- addonCategories
- numberOfDays
properties:
subscriptionId:
type: string
email:
type: string
brand:
type: string
phoneNumber:
type: string
kitchen:
type: string
currency:
type: string
deliveryDays:
type: array
items:
type: number
amount:
type: number
discount:
type: number
amountPaid:
type: number
vat:
type: number
paymentMethod:
type: string
paymentCardPrefix:
type: string
couponCode:
type: string
country:
type: string
tier:
type: string
startDate:
type: string
endDate:
type: string
addons:
type: array
items:
type: object
required:
- cost
- category
properties:
cost:
type: number
category:
type: string
numberOfDays:
type: number
Metadata:
type: object
required:
- serviceFunction
- version
properties:
serviceFunction:
type: string
version:
type: string
Edit this pageLast updated on 2024/4/2