Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1010 B
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * authentication_service
 * OpenAPI spec version: 0.1.0
 */

import type { CheckoutSessionMetadata } from './checkoutSessionMetadata';
import type { CreateCheckoutSessionV2RequestDiscount } from './createCheckoutSessionV2RequestDiscount';
import type { CreateCheckoutSessionV2RequestPlan } from './createCheckoutSessionV2RequestPlan';

/**
 * Request body for creating a Stripe checkout session
 */
export interface CreateCheckoutSessionV2Request {
  /** The URL to redirect to if checkout is cancelled */
  cancelUrl: string;
  /** Optional discount/promo code to apply */
  discount?: CreateCheckoutSessionV2RequestDiscount;
  /** Tracking metadata for conversion attribution */
  metadata?: CheckoutSessionMetadata;
  /** Request the automatic, first-subscription 30-day Premium trial. */
  onboardingTrial?: boolean;
  plan?: CreateCheckoutSessionV2RequestPlan;
  /** The URL to redirect to on successful checkout */
  successUrl: string;
}