Skip to main content
An event triggered when a payment dispute is opened, for example, a chargeback is initiated by the player with their payment provider. Event Data
eventName
string
Event name: order.dispute.opened.
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
Not in use.
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
any
Session metadata for passing data to Appcharge to be returned later.
{
  "eventName": "order.dispute.opened",
  "eventId": "3f5bffbc-369e-4599-8c4d-abfe0ae0ef96",
  "timestamp": 1754307361396,
  "sessionId": "345397c6-d963-4aa4-a0ba-2aaca6c3ee05",
  "requestId": "23539478-c744-566a-c78c-c4cc7763ff62",
  "result": null,
  "reason": "invalid_credentials",
  "attributes": {
    "persona": "non_payer",
    "blackFridayTest": "Base_group"
  },
  "customer": {
    "id": "671e81bb-55ef-428b-97ba-f67783971e0d",
    "email": "john.doe@gmail.com",
    "name": "John Doe"
  },
  "offer": {
    "externalId": "22ae81bb-55ef-428b-97ba-f67783971e4a",
    "type": "PopUp",
    "subType": "DailyBonus",
    "name": "Spring Is Here",
    "offerIndex": 1,
    "indexToCollect": 1,
    "tab": "Tab 1",
    "pricePoint": 800,
    "price": 800,
    "currencyCode": "USD",
    "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",
    "orderType": "Paid",
    "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",
    "offersSequenceIndex": 1
  },
  "geolocation": {
    "countryCode2": "US",
    "region": "NY",
    "ipAddress": "185.199.103.227",
    "zipCode": "10118"
  },
  "transactions": [
    {
      "purchaseId": "pr_abbd0d529dea49f9a7adde2c3827c576",
      "type": "paid",
      "timestamp": 1767600954414,
      "amount": 76136,
      "amountUsd": 2506,
      "totalTaxAmount": 6206,
      "totalTaxAmountUsd": 6206,
      "currencyExchangeCostUsd": 0,
      "chargeBackFeeUsd": 0
    },
    {
      "purchaseId": "pr_abbd0d529dea49f9a7adde2c3827c576",
      "type": "dispute_funds_withdrawn",
      "timestamp": 1771186042504,
      "amount": -76136,
      "amountUsd": -2506,
      "totalTaxAmount": -6206,
      "totalTaxAmountUsd": -6206,
      "currencyExchangeCostUsd": 0,
      "chargeBackFeeUsd": 1500
    }
  ],
  "sessionMetadata": { "abTest": "group1", "locale": "en-US" }
}