Skip to main content
WEBHOOK
item.order.purchased
{
  "event": "item.order.purchased",
  "payload": {
    "id": 123,
    "item_offer_id": 123,
    "game": {
      "id": 123,
      "name": "<string>",
      "slug": "<string>"
    },
    "buyer": {
      "id": 123,
      "username": "<string>"
    },
    "rating": {
      "id": 123,
      "labels": [
        "<string>"
      ],
      "rating": 123,
      "comment": "<string>",
      "created_at": 123,
      "updated_at": 123
    },
    "title": "<string>",
    "description": "<string>",
    "quantity": 123,
    "parameters": {},
    "status": "pending",
    "delivery_time": {
      "duration": 123,
      "unit": "minutes",
      "format": "<string>",
      "format_long": "<string>",
      "seconds": 123
    },
    "price_eur": "<string>",
    "price_usd": "<string>",
    "unit_price_eur": "<string>",
    "unit_price_usd": "<string>",
    "created_at": 123,
    "updated_at": 123,
    "purchased_at": 123,
    "completed_at": 123,
    "refunded_at": 123
  }
}
{
  "status": "success"
}
Learn more about how GameBoost handles webhooks.

Headers

Signature
string
required

HMAC-SHA256 signature of the request body using your webhook secret. Verify this to ensure the webhook is from GameBoost.

Example:

"417142a6b1c6e..."

User-Agent
string
required

The user agent of the request. Must be "GameBoost Server".

Example:

"GameBoost Server"

Body

application/json

Webhook payload for item order purchased event

event
enum<string>
required

Event type identifier

Available options:
item.order.purchased
payload
object
required

Item order object representing a purchase of in-game items

Response

Webhook received successfully. Return 200 to acknowledge receipt.

status
string
Example:

"success"

I