This is a preview of unreleased docs from main. View the published docs
Skip to main content

Interface: PurchaseTokenExchangeResponse

Defined in: types.ts:1514

Response returned after a successful purchase token exchange.

Properties​

PropertyTypeDescriptionDefined in
entitlementobjectThe newly-created entitlement.types.ts:1518
entitlement.ended_atstring | null-types.ts:1526
entitlement.idstring-types.ts:1519
entitlement.is_activeboolean-types.ts:1527
entitlement.resourceobject-types.ts:1520
entitlement.resource.idstring-types.ts:1521
entitlement.resource.namestring-types.ts:1523
entitlement.resource.slugstring-types.ts:1522
entitlement.started_atstring | null-types.ts:1525
jwtstringJWT for the purchase's device session. Unauthenticated when the buyer checked out as a guest.types.ts:1516