Skip to main content

Transaction Items Object

Contains Items Records data.

idinteger

Unique identifier for the transaction.

Example: 1234
gateway_uuidstring<uuid>

UUID of the payment gateway.

gateway_namestring

Name of the payment gateway.

Example: tilia
sale_pricenumber<float>

Sale price of the item.

gateway_feenumber<float>

Fee charged by the gateway.

platform_feenumber<float>

Fee charged by the platform.

currencystring

Currency code for the transaction.

Example: usd
tokensinteger

Number of tokens involved in the transaction.

token_team_idinteger

ID of the token team.

sale_typestring

Type of sale, e.g., bought or sold.

Example: bought
monetization_typestring

Type of monetization, e.g., fiat.

Example: fiat
transaction_typestring

Type of transaction, e.g., paid or cleared.

Example: paid
purchase_datestring<date-time>

Date and time of the purchase.

created_atinteger<int64>

Creation timestamp with microseconds.

Example: 1728268151123456
line_items object[]

Array of line item objects.

  • Array [
  • mod_idinteger

    Mod ID.

    Example: 1234
    game_idinteger

    Game ID.

    Example: 4567
    buyer_idinteger

    Buyer ID.

    Example: 8910
    mod_namestring

    Name of the mod.

    Example: my mod
    game_namestring

    Name of the game.

    Example: my game
    buyer_namestring

    Name of the buyer.

    Example: buyers name
  • ]
  • breakdown object[]

    Array containing breakdown of revenues.

  • Array [
  • platform object
    revenuenumber<float>

    Platform revenue.

    Example: 99
    store object[]

    Array of store revenue objects.

  • Array [
  • revenuenumber<float>

    Store revenue.

    Example: 99
    users object[]

    Array of user revenue details.

  • Array [
  • account_namestring

    Account name.

    Example: name
    account_idinteger

    Account ID.

    Example: 123
    revenuenumber<float>

    User revenue.

    Example: 99
  • ]
  • ]
  • ]
  • revenuenumber<float>

    Total revenue for the transaction.

    Example: 99
    Transaction Items Object
    {
    "id": 1234,
    "gateway_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "gateway_name": "tilia",
    "sale_price": 0,
    "gateway_fee": 0,
    "platform_fee": 0,
    "currency": "usd",
    "tokens": 0,
    "token_team_id": 0,
    "sale_type": "bought",
    "monetization_type": "fiat",
    "transaction_type": "paid",
    "purchase_date": "2024-07-29T15:51:28.071Z",
    "created_at": 1728268151123456,
    "line_items": [
    {
    "mod_id": 1234,
    "game_id": 4567,
    "buyer_id": 8910,
    "mod_name": "my mod",
    "game_name": "my game",
    "buyer_name": "buyers name"
    }
    ],
    "breakdown": [
    {
    "platform": {
    "revenue": 99
    },
    "store": [
    {
    "revenue": 99,
    "users": [
    {
    "account_name": "name",
    "account_id": 123,
    "revenue": 99
    }
    ]
    }
    ]
    }
    ],
    "revenue": 99
    }