storekit__check_entitlement
Read-only
Answer the single question "does this customer currently have access?". Returns a boolean plus the active subscriptions backing it — those come back as Apple's SIGNED payloads (JWS strings), so verify and decode them before reading any…
Instructions
Answer the single question "does this customer currently have access?". Returns a boolean plus the active subscriptions backing it — those come back as Apple's SIGNED payloads (JWS strings), so verify and decode them before reading any field. Optionally narrow to one product ID. [App Store Server API]
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Which app: its name, bundle ID or Apple ID. Optional when the account has one app or ASC_BUNDLE_ID is set. | |
| product_id | No | Only count this product as granting entitlement. | |
| environment | No | Which App Store environment to query. Defaults to the server-configured environment (ASC_ENVIRONMENT). A transaction ID belongs to one environment only. | |
| transaction_id | Yes | Any transaction ID belonging to the customer. |