@@ -1356,7 +1356,7 @@ export type CreateCheckoutParams = WithOptionalOrgType<{
13561356 * <ClerkProvider clerkJsVersion="x.x.x" />
13571357 * ```
13581358 */
1359- export type ConfirmCheckoutParams = WithOptionalOrgType <
1359+ export type ConfirmCheckoutParams =
13601360 | {
13611361 /**
13621362 * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
@@ -1407,8 +1407,7 @@ export type ConfirmCheckoutParams = WithOptionalOrgType<
14071407 * ```
14081408 */
14091409 useTestCard ?: boolean ;
1410- }
1411- > ;
1410+ } ;
14121411
14131412/**
14141413 * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
@@ -1519,4 +1518,114 @@ export interface CommerceCheckoutResource extends ClerkResource {
15191518 * ```
15201519 */
15211520 freeTrialEndsAt : Date | null ;
1521+ /**
1522+ * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1523+ * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
1524+ * @example
1525+ * ```tsx
1526+ * <ClerkProvider clerkJsVersion="x.x.x" />
1527+ * ```
1528+ */
1529+ payer : CommercePayerResource ;
1530+ }
1531+
1532+ /**
1533+ * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1534+ * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
1535+ * @example
1536+ * ```tsx
1537+ * <ClerkProvider clerkJsVersion="x.x.x" />
1538+ * ```
1539+ */
1540+ export interface CommercePayerResource extends ClerkResource {
1541+ /**
1542+ * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1543+ * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
1544+ * @example
1545+ * ```tsx
1546+ * <ClerkProvider clerkJsVersion="x.x.x" />
1547+ * ```
1548+ */
1549+ id : string ;
1550+ /**
1551+ * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1552+ * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
1553+ * @example
1554+ * ```tsx
1555+ * <ClerkProvider clerkJsVersion="x.x.x" />
1556+ * ```
1557+ */
1558+ createdAt : Date ;
1559+ /**
1560+ * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1561+ * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
1562+ * @example
1563+ * ```tsx
1564+ * <ClerkProvider clerkJsVersion="x.x.x" />
1565+ * ```
1566+ */
1567+ updatedAt : Date ;
1568+ /**
1569+ * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1570+ * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
1571+ * @example
1572+ * ```tsx
1573+ * <ClerkProvider clerkJsVersion="x.x.x" />
1574+ * ```
1575+ */
1576+ imageUrl : string | null ;
1577+ /**
1578+ * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1579+ * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
1580+ * @example
1581+ * ```tsx
1582+ * <ClerkProvider clerkJsVersion="x.x.x" />
1583+ * ```
1584+ */
1585+ userId ?: string ;
1586+ /**
1587+ * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1588+ * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
1589+ * @example
1590+ * ```tsx
1591+ * <ClerkProvider clerkJsVersion="x.x.x" />
1592+ * ```
1593+ */
1594+ email ?: string ;
1595+ /**
1596+ * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1597+ * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
1598+ * @example
1599+ * ```tsx
1600+ * <ClerkProvider clerkJsVersion="x.x.x" />
1601+ * ```
1602+ */
1603+ firstName ?: string ;
1604+ /**
1605+ * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1606+ * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
1607+ * @example
1608+ * ```tsx
1609+ * <ClerkProvider clerkJsVersion="x.x.x" />
1610+ * ```
1611+ */
1612+ lastName ?: string ;
1613+ /**
1614+ * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1615+ * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
1616+ * @example
1617+ * ```tsx
1618+ * <ClerkProvider clerkJsVersion="x.x.x" />
1619+ * ```
1620+ */
1621+ organizationId ?: string ;
1622+ /**
1623+ * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1624+ * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
1625+ * @example
1626+ * ```tsx
1627+ * <ClerkProvider clerkJsVersion="x.x.x" />
1628+ * ```
1629+ */
1630+ organizationName ?: string ;
15221631}
0 commit comments