Transaction Object Show
Unique transaction id.
1234
The universally unique ID (UUID) that represents a unique tranasction with the payment gateway.
123e4567-e89b-12d3-a456-426614174000
The gateway that processed the transaction.
tilia
The unique monetization account id that actioned the transaction.
12345
The gross amount of the transaction.
199
The net amount of the transaction.
199
The platform fee of the transaction.
20
The gateway fee of the transaction.
30
The tax amount of the transaction.
0
The tax type on the processed transaction.
sales
The currency type on the processed transaction.
usd
The amount of virtual currency associated with the transaction. Will be omitted when no tokens are involved.
0
The transaction status type on the processed transaction. I.e. is it paid, pending, refunded or cleared.
paid
The monetizaton type on the processed transaction. I.e. is it fiat, tokens or external.
paid
The beginging purchase date the transaction started on in a human reabled date time stamp.
2024-10-07 02:29:11
The timestamp of date the transaction status was recorded in micro time precsion.
1728268151123456
payment_method object[]
Array containing payment method objects.
The pretty name of the payment method that was used.
Visa ending in 1111
The UUID of the payment method id that was used.
123e4567-e89b-12d3-a456-426614174000
The amount the payment method was charged.
199
A pretty string of the amount the payment method was charged.
USD 1.99
items object[]
Array containing Transaction items objects.
Unique identifier for the transaction.
1234
UUID of the payment gateway.
Name of the payment gateway.
tilia
Sale price of the item.
Fee charged by the gateway.
Fee charged by the platform.
Currency code for the transaction.
usd
Number of tokens involved in the transaction.
ID of the token team.
Type of sale, e.g., bought or sold.
bought
Type of monetization, e.g., fiat.
fiat
Type of transaction, e.g., paid or cleared.
paid
Date and time of the purchase.
Creation timestamp with microseconds.
1728268151123456
line_items object[]
Array of line item objects.
Mod ID.
1234
Game ID.
4567
Buyer ID.
8910
Name of the mod.
my mod
Name of the game.
my game
Name of the buyer.
buyers name
breakdown object[]
Array containing breakdown of revenues.
platform object
Platform revenue.
99
store object[]
Array of store revenue objects.
Store revenue.
99
users object[]
Array of user revenue details.
Account name.
name
Account ID.
123
User revenue.
99
Total revenue for the transaction.
99
line_items object[]
Array containing line item objects.
The game id of the transaction.
0
The buyer id of the transaction.
0
The name of the game the purchase occured on.
my game
The username of the buyer.
smith
The pretty name of the virtual currency used in the transaction.
mio
The id of the virtual currency pack used in the transaction.
0
The pretty name of the virtual currency pack used in the transaction.
200 Pack
{
"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"
}
],
"items": [
{
"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
}
],
"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"
}
]
}