type alias CheckoutSessionResult Result of creating a checkout session. Success: { sessionId, checkoutUrl } User-facing error (e.g. invalid phone): { error } Provider not configured: null Unexpected failures throw. Definition { sessionId: string; checkoutUrl: string; } | { error: string; } | null