Skip to main content

Interface: PurchaseTokenExchangeResponse

Defined in: types.ts:1572

Response returned after a successful purchase token exchange.

Properties​

PropertyTypeDescriptionDefined in
entitlement{ ended_at: string | null; id: string; is_active: boolean; resource: { id: string; name: string; slug: string; }; started_at: string | null; } | nullThe newly-created entitlement, or null when the plan grants no product.types.ts:1576
jwtstringJWT for the purchase's device session. Unauthenticated when the buyer checked out as a guest.types.ts:1574