Purchase workflow
The following image shows the purchase workflow with receipt verification. RVS starts after the Amazon In-App Purchasing (IAP) API completes the purchase and returns the purchase receipt to the app.
The following table provides a text description of the image.
| Step | Component | Task |
|---|---|---|
| 1 | IAP API | IAP API interacts with the user to complete the purchase. The API returns a purchase receipt to the app. |
| 2 | App | App forwards the purchase receipt to the app server. |
| 3 | App server | App server sends a request to RVS server for validation of the receipt. |
| 4 | RVS server | RVS server confirms that the receipt is valid. |
| 5 | App server | App server makes the content available to the user. |
- Your app’s user purchases a subscription through Amazon via your company’s website.
- Your app receives a receipt for the purchased subscription.
- To enable access, your app then sends information from the receipt to your server. Finally, your server validates this transaction by querying RVS.

