MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / createCheckoutSession

Method createCheckoutSession

frontend/src/lib/api/userService.ts:98–102  ·  view source on GitHub ↗
(priceId: string)

Source from the content-addressed store, hash-verified

96 }
97
98 async createCheckoutSession(priceId: string): Promise<{ url: string }> {
99 return apiClient.post('/subscriptions/create-checkout-session', {
100 priceId,
101 });
102 }
103
104 async createPortalSession(): Promise<{ url: string }> {
105 return apiClient.post('/subscriptions/create-portal-session');

Callers

nothing calls this directly

Calls 1

postMethod · 0.80

Tested by

no test coverage detected