order.createdSent when a new order has been placed, before payment is confirmed.
On a gift order,
player_usernameremains the purchaser, not the recipient. An integration that announces “{player_username}bought{package}” stays accurate about who paid, but names the wrong player as the beneficiary. Readrecipient_usernamewhen it is present to find out who the goods actually went to.
data
order_idstring· uuidThe order ID.
checkout_session_idstring· uuidCheckout session that produced this order.
player_usernamestringPlayer in-game name of the purchaser. See the note above on gift orders.
player_uuidstring· uuidMinecraft UUID of the purchaser, if known.
recipient_usernamestring | nullPlayer who received the goods, when the order was a gift. Null otherwise.
recipient_uuidstring | nullRecipient’s Minecraft UUID, if known. Null when the order is not a gift.
total_amountnumberFinal amount paid.
currencystringISO 4217 currency code.
itemsobject[]Line items in the order.
items[]
package_idstring· uuidPackage ID.
package_namestringPackage name at time of purchase.
quantityintegerQuantity purchased.
pricenumberPer-unit price at purchase.
On a gift order, player_username is still the purchaser, and the recipient fields are populated:
{
"order_id": "e5f6a7b8-...",
"checkout_session_id": "c1d2e3f4-...",
"player_username": "Steve",
"player_uuid": "069a79f4-...",
"recipient_username": "Bob",
"recipient_uuid": "b1d4a7f2-...",
"total_amount": 9.99,
"currency": "USD",
"items": [
{
"package_id": "c1d2e3f4-...",
"package_name": "VIP Rank",
"quantity": 1,
"price": 9.99
}
]
}FluxStore sends this payload as an HTTP POST to your configured webhook URL.