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

Sent when a chargeback or payment dispute changes state. There are four events, and they do not all carry the same fields: dispute.opened is raised from the order when the dispute arrives, while dispute.won, dispute.lost and dispute.closed are raised from the resolved dispute record.

dispute.closed fires alongside dispute.won or dispute.lost with an identical payload, so you can subscribe to it alone if you only care that a dispute has finished and not which way it went. Subscribing to both dispute.closed and the outcome events means two deliveries per resolution.

dispute.opened

data

order_idstring· uuid
The order ID associated with the dispute.
player_usernamestring
Player in-game name.
player_uuidstring· uuid
Minecraft UUID, if known.
total_amountnumber
Amount under dispute.
currencystring
ISO 4217 currency code, taken from the store’s currency.
dispute_idstring
Payment provider’s dispute ID.
reasonstring
Dispute reason as reported by the payment provider.

dispute.won, dispute.lost, dispute.closed

data

order_idstring· uuid
The order ID associated with the dispute.
dispute_idstring
Payment provider’s dispute ID.
providerstring
Gateway that reported the dispute, e.g. stripe or paypal.
amountnumber
Amount that was under dispute.
currencystring
ISO 4217 currency code recorded on the dispute.
reasonstring
Dispute reason as reported by the payment provider.
outcomestring
won or lost. Present on all three events, which is how you read the result from dispute.closed.

These fire exactly once, on the first sync or provider webhook that resolves an open dispute.