Simulate a store event
Simulates a store event on a sandbox purchase or subscription: a purchase can be refunded or revoked; a subscription can expire, be revoked, renew or enter a three-day grace_period.
The person's access changes at once; webhooks and analytics follow in the background. Repeating an actionId applies the action once.
Guide: Simulate renewals, expiry and refunds
Errors
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request | action_not_allowed | For an action the target does not support. |
| 404 | not_found | sandbox_target_not_found | For a target that is not a sandbox purchase or subscription of the project. |
It can also fail with the errors every operation shares, such as unauthenticated; see Errors.
More in Sandbox
Something wrong or missing on this page? Tell us by email or on Discord.