List contents available for purchase

In this section, we explain how to manage your catalog with the SDK in order to make some of your contents available for purchase.

This feature is only available for your authenticated users. Please visit the authentication feature specification before trying to implement it

Feature specification

Android
iOS
Web
Android

Coming soon

iOS

Coming soon

Web
import { STCatalogItem } from "../../models/catalog-item";
export interface ISTCatalogSDK {
/**
* List transactions
*/
getCatalog(): Promise<Array<STCatalogItem>>;
}

The STCatalogItem contains information regarding the pricing of your products. Trying to acquire a content listed in the catalog through the transaction system will result in purchasing the product. it will also decrease your wallet amount from the content corresponding price regarding the requested payment type.

Examples

Listing entries from your catalog

Android
iOS
Web
Android

Coming soon

iOS

Coming soon

Web
const catalog = await staytunedSDK.STCatalog.getCatalog();