EDA.API.SKU (EDA v0.3.0)

Copy Markdown View Source

REST API endpoints for Discord SKUs (monetization).

SKUs represent premium offerings for your application (subscriptions, consumables, durables).

Summary

Functions

Lists all SKUs for the current application.

Functions

list()

@spec list() :: {:ok, [map()]} | {:error, term()}

Lists all SKUs for the current application.

Returns {:ok, [sku]} where each SKU has id, type, name, slug, flags.

Examples

{:ok, skus} = EDA.API.SKU.list()