MobileGetting Started with the Amazon In-App Purchasing API

Getting Started with the Amazon In-App Purchasing API

This article was re-printed with permission from Amazon Digital Services, Inc.

The Amazon In-App Purchasing API makes it easy for you to offer digital content and subscriptions —such as in-game currency, expansion packs, upgrades, magazine issues and more— for purchase within your apps. Within minutes you can be up and running, ready to give millions of Amazon customers the ability to purchase engaging digital content using their Amazon 1-Click settings.

Amazon In-App Purchase API

The In-App Purchase API is designed to encapsulate the complexity behind the purchase process while still providing a fully featured API set. The API utilizes the following objects in completing In-App Purchasing transactions:

  • Purchasing Manager – used to initiate API requests
  • Purchasing Observer – handles the API response callbacks
  • Response Receiver – facilitates callbacks from the Amazon Client to the Purchasing Observer
  • Receipt Verification Service – optional service for validating receipts outside of your app

The following diagram outlines the steps involved in the purchase sequence:

Amazon In-App Purchasing
Fig. 1: In-App Purchasing API

The simplest implementation can be completed in the following 5 steps.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Latest Posts

Related Stories