Skip to main content
An event triggered when a payment is finalized, successfully or unsuccessfully. Event Data
eventName
string
Event name.
eventId
string
Event ID.
timestamp
number
Event timestamp in Epoch time, represented in milliseconds. Example: 1754307361396.
sessionId
string
The session ID of the player’s current session. Example: 345397c6-d963-4aa4-a0ba-2aaca6c3ee05.
requestId
string
ID assigned by Appcharge to each request sent to the publisher. Helps the publisher identify and debug failed requests.
result
string
Event result. Supported values: success, failed.
reason
string
Reason for the event result. Example: invalid_credentials.
attributes
map<any,any>
A key-value map used to label events for tracking personas or tests. Example: { "persona":"non_payer", "blackFridayTest":"Base_group" }
customer
object
Information about the player.
offer
object
List of offers.
order
object
storeMetadata
object
coupon
object
Information about the coupon.
geolocation
object
Information about the player’s geolocation.
transactions
[object]
Information about each transaction.
sessionMetadata
object
Session metadata.
{
  "eventName": "order.payment.resolved",
  "eventId": "3f5bffbc-369e-4599-8c4d-abfe0ae0ef96",
  "timestamp": 1754307361396,
  "sessionId": "345397c6-d963-4aa4-a0ba-2aaca6c3ee05",
  "requestId": "23539478-c744-566a-c78c-c4cc7763ff62",
  "result": "success",
  "reason": "invalid_credentials",
  "attributes": {
    "persona": "non_payer",
    "blackFridayTest": "Base_group"
  },
  "customer": {
    "id": "671e81bb-55ef-428b-97ba-f67783971e0d",
    "email": "[email protected]"
  },
  "offer": {
    "externalId": "22ae81bb-55ef-428b-97ba-f67783971e4a",
    "type": "PopUp",
    "subType": "DailyBonus",
    "name": "Spring Is Here",
    "indexToCollect": "1", 
    "products": [
      {
        "displayName": "Gold Coins",
        "productExternalId": "31ae81bb-55ef-428b-97ba-f67783971e553",
        "productQuantity": "1000"
      },
      {
        "displayName": "Silver Shield",
        "productExternalId": "9af1abb-55ef-428b-97ba-f677839716ac9",
        "productQuantity": "40"
      }
    ]
  },
  "order": {
    "id": "695b72ff0e34d3a514b6eda0",
    "subtotal": 77700,
    "discountAmount": -7770,
    "totalPayment": 76136,
    "taxAmount": 6206,
    "currencyCode": "USD",
    "currencySymbol": "$",
    "paymentMethod": "Credit Card",
    "isSavedPaymentMethodUsed": true,
    "isNewPaymentMethodSaved": true,
    "pricePointMetadata": 77700
  },
  "coupon": {
    "name": "Birthday Promo",
    "promoCodeName": "BIRTHDAY10",
    "discount": -7770,
    "discountPercentage": 10
  },
  "storeMetadata": {
    "offerType": "Bundle",
    "offerSequenceIndex": "1"
  },
  "geolocation": {
    "countryCode2": "US",
    "region": "NY",
    "ipAddress": "185.199.103.227",
    "zipCode": "10118"
  },
  "transactions": [
    {
      "purchaseId": "pr_abbd0d529dea49f9a7adde2c3827c576",
      "type": "paid",
      "timestamp": 1767600954414,
      "amount": 76136,
      "amountUsd": 76136,
      "totalTaxAmount": 6206,
      "totalTaxAmountUsd": 6206,
      "currencyExchangeCostUsd": 0,
      "chargeBackFeeUsd": 020,
      "receiptNumber": "493e81cc-55ef-428b-97ba-n67783971c66"
    }
  ],
  "sessionMetadata": { "abTest": "group1", "locale": "en-US" }
}