Transaction type from an Apple device using StoreKit 2

interface ApiValidatorBodyTransactionAppleSK2 {
    id?: string;
    jwsRepresentation: string;
    type: "apple-sk2";
}

Properties

id?: string

Product identifier (e.g. "com.example.premium"), NOT the numeric transaction ID

jwsRepresentation: string

JWS representation of the transaction from StoreKit 2

type: "apple-sk2"

Value "apple-sk2" — distinct from "ios-appstore" (SK1)