Skip to main content

When this fires

After an expired Plan Grant is durably closed by billing discovery or while creating its replacement. The payload is the old grant at expiration, and its last timeline event is expired. customer.state_changed also fires with trigger plan_access_ended when billing discovery expires the grant.

Body

application/json
id
string
required
event
string
required
Allowed value: "plan_grant.expired"
timestamp
string
required
organizationId
string
required
mode
enum<string>
required
Available options:
live,
sandbox
apiVersion
string
required
data
object
required

Response

200

Return any 2xx status code to acknowledge receipt of the event.