Skip to Content
FluxStore is currently invite-only. Some sections of this documentation are still being written and expanded.
APIWebhooksEventsPayment Refunded
POSTpayment.refunded

Sent when a payment has been refunded, via the dashboard or directly through the payment provider.

On a gift order, player_username remains the purchaser, not the recipient. Read recipient_username when it is present: it identifies the player whose entitlement was revoked by this refund, which is who your refund command should target.

data

order_idstring· uuid
The order ID.
player_usernamestring
Player in-game name of the purchaser. See the note above on gift orders.
player_uuidstring· uuid
Minecraft UUID of the purchaser, if known.
recipient_usernamestring | null
Player whose entitlement was revoked, when the order was a gift. Null otherwise.
recipient_uuidstring | null
Recipient’s Minecraft UUID, if known. Null when the order is not a gift.
total_amountnumber
Amount refunded.

On a gift order, player_username is still the purchaser, and the recipient fields are populated:

{ "order_id": "e5f6a7b8-...", "player_username": "Steve", "player_uuid": "069a79f4-...", "recipient_username": "Bob", "recipient_uuid": "b1d4a7f2-...", "total_amount": 9.99 }

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