Checks whether a purchase is possible. Must be called before in-store purchase, official apps only.
Method schema is available as of layer 201. Switch »
| Name | Type | Description |
|---|---|---|
| purpose | InputStorePaymentPurpose | Payment purpose. |
| Code | Type | Description |
|---|---|---|
| 400 | INPUT_PURPOSE_INVALID | The specified payment purpose is invalid. |
| 406 | PREMIUM_CURRENTLY_UNAVAILABLE | You cannot currently purchase a Premium subscription. |