as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
In-App Purchasing (IAP) API provides methods for interacting with the Amazon Appstore purchasing framework. To implement IAP, you must do the following:

Get Started

Setup

  1. Add the following library dependency to the dependencies section of your package.json file.
  2. In your manifest.toml, add the following privileges.

Usage

Purchasing Service

Represents the primary methods for interacting with the Amazon Appstore purchasing framework. All methods return a response using a Promise.
For additional information, see PurchasingService.

IAP API usage examples

The following examples show how to use the IAP methods:
The following shows the usage of the getProductData method.

Releated topics

IAP Overview

API Reference

Classes

  • PurchasingService — Presents the primary API for interacting with the Amazon Appstore purchasing framework.

Interfaces

Enumerations

Functions

  • useIapProductData — useIapProductData hook is typically called in the product page for getting and displaying IAP product
  • useIapPurchaseUpdates — useIapPurchaseUpdates hook should be called in your main screen component. This hook automatically invokes
  • useIapUserData — useIapUserData hook should be called in your main screen component. This hook automatically invokes

最終更新日 2026年7月22日