Skip to Content

StoreKitPurchaseSchema

const StoreKitPurchaseSchema: ZodObject<{ appStoreTransactionId: ZodString; createdAt: ZodISODateTime; customerId: ZodUUID; id: ZodUUID; productId: ZodUUID; sandboxMode: ZodBoolean; source: ZodLiteral<"appStore">; tombstoned: ZodBoolean; tombstonedAt: ZodNullable<ZodISODateTime>; updatedAt: ZodISODateTime; }, $strip>;

A recorded App Store purchase, not Apple’s signed transaction payload or a product grant. Customer and product references stay IDs regardless of which ORM relations are loaded.

Last updated on