@@ -30,6 +30,7 @@ import type { OAuthProvider, OAuthScope } from './oauth';
30
30
import type { OrganizationResource } from './organization' ;
31
31
import type { OrganizationCustomRoleKey } from './organizationMembership' ;
32
32
import type {
33
+ __experimental_CheckoutContinueUrl ,
33
34
AfterMultiSessionSingleSignOutUrl ,
34
35
AfterSignOutUrl ,
35
36
LegacyRedirectProps ,
@@ -565,6 +566,11 @@ export interface Clerk {
565
566
*/
566
567
buildAfterSignOutUrl ( ) : string ;
567
568
569
+ /**
570
+ * Returns the configured checkoutContinueUrl of the instance.
571
+ */
572
+ __experimental_buildCheckoutContinueUrl ( ) : string ;
573
+
568
574
/**
569
575
* Returns the configured afterMultiSessionSingleSignOutUrl of the instance.
570
576
*/
@@ -814,6 +820,7 @@ export type ClerkOptions = PendingSessionOptions &
814
820
SignInFallbackRedirectUrl &
815
821
SignUpForceRedirectUrl &
816
822
SignUpFallbackRedirectUrl &
823
+ __experimental_CheckoutContinueUrl &
817
824
LegacyRedirectProps &
818
825
AfterSignOutUrl &
819
826
AfterMultiSessionSingleSignOutUrl & {
@@ -1563,6 +1570,7 @@ export type WaitlistModalProps = WaitlistProps;
1563
1570
type __experimental_PricingTableDefaultProps = {
1564
1571
ctaPosition ?: 'top' | 'bottom' ;
1565
1572
collapseFeatures ?: boolean ;
1573
+ __experimental_checkoutContinueUrl ?: string ;
1566
1574
} ;
1567
1575
1568
1576
type __experimental_PricingTableBaseProps = {
@@ -1584,6 +1592,11 @@ export type __experimental_CheckoutProps = {
1584
1592
onSubscriptionComplete ?: ( ) => void ;
1585
1593
portalId ?: string ;
1586
1594
portalRoot ?: PortalRoot ;
1595
+ /**
1596
+ * Full URL or path to navigate to after checkout is complete and the user clicks the "Continue" button.
1597
+ * @default undefined
1598
+ */
1599
+ __experimental_checkoutContinueUrl ?: string ;
1587
1600
} ;
1588
1601
1589
1602
export type __experimental_PlanDetailsProps = {
0 commit comments