storekit__get_transaction_info
Read-only
Get a single transaction: product, price, dates, ownership type and revocation state. Set ASC_APPLE_ROOT_CERTS and the payload arrives verified and decoded; without it you get Apple's SIGNED payload (a JWS string) to verify yourself with…
Instructions
Get a single transaction: product, price, dates, ownership type and revocation state. Set ASC_APPLE_ROOT_CERTS and the payload arrives verified and decoded; without it you get Apple's SIGNED payload (a JWS string) to verify yourself with the App Store Server Library. [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. | |
| raw | No | Return Apple's signed JWS payloads instead of decoded fields, to verify them yourself. Ignored when ASC_APPLE_ROOT_CERTS is unset — the payloads are all there is then. | |
| 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 | Transaction ID to look up. |