Skip to main content

Transaction Object Index

idinteger<int32>

Unique transaction id.

Example: 1234
gateway_uuidstring

The universally unique ID (UUID) that represents a unique tranasction with the payment gateway.

Example: 123e4567-e89b-12d3-a456-426614174000
gateway_namestring

The gateway that processed the transaction.

Example: tilia
account_idinteger<int32>

The unique monetization account id that actioned the transaction.

Example: 12345
gross_amountinteger<int32>

The gross amount of the transaction.

Example: 199
net_amountinteger<int32>

The net amount of the transaction.

Example: 199
platform_feeinteger<int32>

The platform fee of the transaction.

Example: 20
gateway_feeinteger<int32>

The gateway fee of the transaction.

Example: 30
taxinteger<int32>

The tax amount of the transaction.

Example: 0
tax_typestring

The tax type on the processed transaction.

Example: sales
currencystring

The currency type on the processed transaction.

Example: usd
tokensinteger<int32>

The amount of virtual currency associated with the transaction. Will be omitted when no tokens are involved.

Example: 0
transaction_typestring

The transaction status type on the processed transaction. I.e. is it paid, pending, refunded or cleared.

Example: paid
monetization_typestring

The monetizaton type on the processed transaction. I.e. is it fiat, tokens or external.

Example: paid
purchase_datestring

The beginging purchase date the transaction started on in a human reabled date time stamp.

Example: 2024-10-07 02:29:11
created_atstring

The timestamp of date the transaction status was recorded in micro time precsion.

Example: 1728268151123456
payment_method object[]

Array containing payment method objects.

  • Array [
  • namestring

    The pretty name of the payment method that was used.

    Example: Visa ending in 1111
    idstring

    The UUID of the payment method id that was used.

    Example: 123e4567-e89b-12d3-a456-426614174000
    amountinteger

    The amount the payment method was charged.

    Example: 199
    display_amountstring

    A pretty string of the amount the payment method was charged.

    Example: USD 1.99
  • ]
  • line_items object[]

    Array containing line item objects.

  • Array [
  • game_idinteger<int32>

    The game id of the transaction.

    Example: 0
    buyer_idinteger<int32>

    The buyer id of the transaction.

    Example: 0
    game_namestring

    The name of the game the purchase occured on.

    Example: my game
    buyer_namestring

    The username of the buyer.

    Example: smith
    token_namestring

    The pretty name of the virtual currency used in the transaction.

    Example: mio
    token_pack_idinteger<int32>

    The id of the virtual currency pack used in the transaction.

    Example: 0
    token_pack_namestring

    The pretty name of the virtual currency pack used in the transaction.

    Example: 200 Pack
  • ]
  • Transaction Object Index
    {
    "id": 1234,
    "gateway_uuid": "123e4567-e89b-12d3-a456-426614174000",
    "gateway_name": "tilia",
    "account_id": "12345",
    "gross_amount": 199,
    "net_amount": 199,
    "platform_fee": 20,
    "gateway_fee": 30,
    "tax": 0,
    "tax_type": "sales",
    "currency": "usd",
    "tokens": 0,
    "transaction_type": "paid",
    "monetization_type": "paid",
    "purchase_date": "2024-10-07 02:29:11",
    "created_at": "1728268151123456",
    "payment_method": [
    {
    "name": "Visa ending in 1111",
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "amount": 199,
    "display_amount": "USD 1.99"
    }
    ],
    "line_items": [
    {
    "game_id": 0,
    "buyer_id": 0,
    "game_name": "my game",
    "buyer_name": "smith",
    "token_name": "mio",
    "token_pack_id": 0,
    "token_pack_name": "200 Pack"
    }
    ]
    }