storekit__get_refund_history
Read-only
List every refunded transaction for a customer. Useful for auditing refund abuse before granting goodwill credit. Returns Apple's SIGNED transactions (JWS strings) unless ASC_APPLE_ROOT_CERTS is set, in which case they arrive verified and…
Instructions
List every refunded transaction for a customer. Useful for auditing refund abuse before granting goodwill credit. Returns Apple's SIGNED transactions (JWS strings) unless ASC_APPLE_ROOT_CERTS is set, in which case they arrive verified and decoded. [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 | Any transaction ID belonging to the customer. |