Interface: PurchaseTokenExchangeResponse
Defined in: types.ts:1514
Response returned after a successful purchase token exchange.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
entitlement | object | The newly-created entitlement. | types.ts:1518 |
entitlement.ended_at | string | null | - | types.ts:1526 |
entitlement.id | string | - | types.ts:1519 |
entitlement.is_active | boolean | - | types.ts:1527 |
entitlement.resource | object | - | types.ts:1520 |
entitlement.resource.id | string | - | types.ts:1521 |
entitlement.resource.name | string | - | types.ts:1523 |
entitlement.resource.slug | string | - | types.ts:1522 |
entitlement.started_at | string | null | - | types.ts:1525 |
jwt | string | JWT for the purchase's device session. Unauthenticated when the buyer checked out as a guest. | types.ts:1516 |