Subscription Apps
When the user clicks on a button it may start the purchase.
This is not the after-purchase event so a user may terminate the purchase flow.
Name | Type | Required | Description |
---|---|---|---|
amount | Amount | Yes | Amount object with |
packID | String | Yes | Id of the pack |
items | Array of Premium Item | Yes | List of items (if specific items were purchased) |
coupon | No | Coupon if applied |
The following example includes optional properties too.
When the user purchases a consumable content/item.
Name | Type | Required | Description |
---|---|---|---|
amount | Amount | Yes | Amount object with |
packID | String | Yes | Id of the pack |
items | Array of Premium Item | Yes | List of items (if specific items were purchased) |
transactionID | String | Yes | TransactionId of the user purchase |
coupon | No | Coupon if applied |
The following example includes optional properties too.
When the user purchases a consumable content/item.
Name | Type | Required | Description |
---|---|---|---|
amount | Amount | Yes | Amount object with |
packID | String | Yes | Id of the pack |
items | Array of Premium Item | Yes | List of items (if specific items were purchased) |
transactionID | String | Yes | TransactionId of the user purchase |
type | String | Yes | subscription period like WEEKLY, MONTHLY, YEARLY. |
coupon | No | Coupon if applied |
The following example includes optional properties too.