Skip to main content

S2S Pay Object

transaction_idinteger<int32>

The transaction id.

Example: 123456789
gateway_uuidstring

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

Example: 123e4567-e89b-12d3-a456-426614174000
gross_amountinteger<int32>

The gross amount of the purchase in the lowest denomination of currency.

Example: 1000
net_amountinteger<int32>

The net amount of the purchase in the lowest denomination of currency.

Example: 900
platform_feeinteger<int32>

The platform fee of the purchase in the lowest denomination of currency.

Example: 50
gateway_feeinteger<int32>

The gateway fee of the purchase in the lowest denomination of currency.

Example: 30
transaction_typeMonetization Transaction Type Enum (string)

The state of the transaction that was processed.

Enum ValueDescription
CANCELLEDPayment cancelled by seller
CLEAREDPayment taken and earned funds released
FAILEDPayment failed to process
PAIDPayment taken but funds not released
PENDINGPending transaction no payment taken
REFUNDEDPayment refunded to buyer

Possible values: [CANCELLED, CLEARED, CREDITED, FAILED, PAID, PENDING, REFUNDED]

meta object[]

A metadata array of objects returned from the transaction.

  • 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
    token_namestring

    Name of the token.

    Example: token name
  • ]
  • purchase_dateinteger<int32>

    The time of the purchase.

    Example: 1626667557
    S2S Pay Object
    {
    "transaction_id": 123456789,
    "gateway_uuid": "123e4567-e89b-12d3-a456-426614174000",
    "gross_amount": 1000,
    "net_amount": 900,
    "platform_fee": 50,
    "gateway_fee": 30,
    "transaction_type": "CANCELLED",
    "meta": [
    {
    "mod_id": 1234,
    "game_id": 4567,
    "buyer_id": 8910,
    "mod_name": "Body Armour",
    "game_name": "Half-Life",
    "buyer_name": "Gordon Freeman",
    "token_name": ".22 Magazine"
    }
    ],
    "purchase_date": 1626667557
    }