Skip to Content
FluxStore is currently invite-only. Some sections of this documentation are still being written and expanded.
POSTsubscription.past_due

Sent once, when a subscription first falls behind on payment.

A past-due subscription has not ended. The subscriber keeps access until current_period_end, and the gateway keeps retrying in the meantime. This is the window in which telling the player is useful, which is why this event fires on the state change rather than on every retry. If the retries succeed you receive subscription.renewed; if they are exhausted you receive subscription.ended.

For the individual retries, and for audit logging, use subscription.payment_failed.

data

subscription_idstring· uuid
The subscription ID.
player_usernamestring
Player in-game name.
player_uuidstring· uuid
Minecraft UUID, if known.
package_idstring· uuid
Package ID of the subscription.
package_namestring
Package name.
renewal_countinteger
Successful renewals so far.
current_period_endstring· date-time
When access runs out if the payment is never recovered.
payment_providerstring
stripe, paypal, iyzico or terminal3.

FluxStore sends this payload as an HTTP POST to your configured webhook URL.