iOS · Example Payload

App Store Server Notification Subscribed Example

App Store Server Notification V2 payload of type SUBSCRIBED.INITIAL_BUY. The signedPayload is a JWS; the decoded responseBodyV2DecodedPayload is shown for clarity.

iOSAppleMobileApp StorePush NotificationsIn-App PurchasesSubscriptionsAuthenticationWalletDeveloper Platform

App Store Server Notification Subscribed Example is an example object payload from iOS, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionraw_webhook_bodydecoded_payloaddecoded_transaction

Example Payload

Raw ↑
{
  "description": "App Store Server Notification V2 payload of type SUBSCRIBED.INITIAL_BUY. The signedPayload is a JWS; the decoded responseBodyV2DecodedPayload is shown for clarity.",
  "raw_webhook_body": {
    "signedPayload": "eyJhbGciOiJFUzI1NiIsIng1Yy...redacted...signedPayloadJWS..."
  },
  "decoded_payload": {
    "notificationType": "SUBSCRIBED",
    "subtype": "INITIAL_BUY",
    "notificationUUID": "8b7a3bdf-9c0b-4f04-9c14-71cae1cd1d8d",
    "version": "2.0",
    "signedDate": 1779556800000,
    "data": {
      "appAppleId": 1234567890,
      "bundleId": "com.naftiko.ios",
      "bundleVersion": "42",
      "environment": "Production",
      "signedTransactionInfo": "eyJhbGciOiJFUzI1NiI...redacted...",
      "signedRenewalInfo": "eyJhbGciOiJFUzI1NiI...redacted...",
      "status": 1
    }
  },
  "decoded_transaction": {
    "transactionId": "200000123456789",
    "originalTransactionId": "200000123456789",
    "bundleId": "com.naftiko.ios",
    "productId": "naftiko.pro.monthly",
    "subscriptionGroupIdentifier": "20912345",
    "purchaseDate": 1779556800000,
    "originalPurchaseDate": 1779556800000,
    "expiresDate": 1782235200000,
    "quantity": 1,
    "type": "Auto-Renewable Subscription",
    "appAccountToken": "1f5bbf09-3a2e-46d9-9bd4-5ad15c3a5a2c",
    "inAppOwnershipType": "PURCHASED",
    "signedDate": 1779556800000,
    "environment": "Production",
    "storefront": "USA",
    "storefrontId": "143441",
    "transactionReason": "PURCHASE",
    "price": 9990000,
    "currency": "USD"
  }
}