Purchase

Get Purchase Info

Get available in-app purchase products. Also sets up freemium credits for the user (authenticated or device-based).

Args: service: App-specific purchase service (injected) auth: Authentication context (optional)

Returns: InfoResponse with subscribable_skus and consumable_skus products

get/api/v1/purchase

Request

  • Base URL: https://foto.damdafa.com/dreamhome
  • URL: https://foto.damdafa.com/dreamhome/api/v1/purchase
  • Auth: HTTP bearer

Headers

ProviderId'firebase' | 'google' | 'apple'
X-Provider-Id'firebase' | 'google' | 'apple'
X-Device-Idstring nullable

Response

Successful Response

subscribable_skusstring[] required
consumable_skusstring[] required
non_consumable_skusstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.