subscripiton

revenuecatTransactionWebhook

Internal subscripiton/revenuecatTransactionWebhook operation. Authentication requirements are derived from the active route allowlist.

post/subscripiton/revenuecatTransactionWebhook

Request body

api_versionstring

Example request

{
  "event": {
    "id": "9F7F1444-3C63-4DC1-9CE2-E53E1DBB8845",
    "type": "EXPIRATION",
    "price": 0,
    "store": "PLAY_STORE",
    "app_id": "app082f0c2d20",
    "aliases": [
      "976147",
      "$RCAnonymousID:ec34f8fca00544299bfdd125d680139a"
    ],
    "currency": "ZAR",
    "metadata": null,
    "offer_code": null,
    "product_id": "weekly_v12:weekly-v12",
    "app_user_id": "976147",
    "environment": "PRODUCTION",
    "period_type": "NORMAL",
    "country_code": "ZA",
    "entitlement_id": null,
    "renewal_number": 14,
    "tax_percentage": 0.1304,
    "transaction_id": "GPA.3391-2450-3378-26775..12",
    "entitlement_ids": [
      "ent_full_access"
    ],
    "is_family_share": false,
    "purchased_at_ms": 1782293350719,
    "expiration_at_ms": 1782809244319,
    "expiration_reason": "BILLING_ERROR",
    "event_timestamp_ms": 1782809280801,
    "takehome_percentage": 0.85,
    "original_app_user_id": "976147",
    "commission_percentage": 0.1304,
    "presented_offering_id": null,
    "subscriber_attributes": {
      "shadow_id": {
        "value": "976147",
        "updated_at_ms": 1753820970077
      },
      "helium_hpid": {
        "value": "b47f2a98-fe3e-4077-9bb4-9688d8e4910f",
        "updated_at_ms": 1761806512723
      },
      "paywall_ver": {
        "value": "v09",
        "updated_at_ms": 1774301951311
      },
      "paywall_source": {
        "value": "regular",
        "updated_at_ms": 1774301951311
      },
      "has_subscribed_before": {
        "value": true,
        "updated_at_ms": 1774301951311
      }
    },
    "original_transaction_id": "GPA.3391-2450-3378-26775",
    "price_in_purchased_currency": 0
  },
  "appUser": {
    "id": 124,
    "role": "revenuecat"
  },
  "api_version": "1.0"
}

Response

Standard successful response envelope.

status'success' required
statusCodeinteger required
messagestring required
dataobject required
{"stackTrail":"components:schemas:SuccessEnvelope:properties:error","oasType":"schema","type":"unknown","example":null,"nullable":true}

Example response

{
  "statusCode": 200,
  "message": "OK"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.