website logo
HomeGo to Dashboard
User Guide
How-To Videos
Developers
Navigate through spaces
User Guide
How-To Videos
Developers
⌘K
Getting Started
Introduction
Compatibility
Terminology
SDK Installation
Shopify
Any Website
Dukaan
Angular 2+
WooCommerce
WordPress
Android Native
iOS Native
Flutter
Cordova
Ionic
React Native
Data Integration
Data Models
Mandatory Events
Mandatory Properties
Call to Action
System Events
Device Properties
Docs powered by archbee 
9min

Subscription Apps

Purchase Click

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.

Properties

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

 Coupon

No

Coupon if applied

Code Example

The following example includes optional properties too.

JS
TypeScript
Java
Kotlin
ObjectiveC
Swift
Dart
|

Consumable Purchase

When the user purchases a consumable content/item.

Properties

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

 Coupon

No

Coupon if applied

Code Example

The following example includes optional properties too.

JS
TypeScript
Java
Kotlin
ObjectiveC
Swift
Dart
|

Subscribe

When the user purchases a consumable content/item.

Properties

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

 Coupon

No

Coupon if applied

Code Example

The following example includes optional properties too.

JS
TypeScript
Java
Kotlin
ObjectiveC
Swift
Dart
|
Updated 10 Aug 2022
Did this page help you?
Yes
No
UP NEXT
Video/Audio Apps
Docs powered by archbee 
TABLE OF CONTENTS
Purchase Click
Properties
Code Example
Consumable Purchase
Properties
Code Example
Subscribe
Properties
Code Example