@usethrottle/checkout-sdk
    Preparing search index...

    Class CheckoutClient

    Index
    • Cancel an in-flight checkout session (e.g. the buyer abandoned the embed). Idempotent — cancelling an already-cancelled session is a no-op; a completed session cannot be cancelled (the API returns 422 already_completed).

      Parameters

      • sessionId: string

      Returns Promise<void>

    • Type Parameters

      • T = unknown

      Parameters

      • method: string
      • path: string
      • Optionalbody: unknown

      Returns Promise<T>

    • Type Parameters

      • T = unknown

      Parameters

      • method: string
      • path: string
      • Optionalbody: unknown

      Returns Promise<ThrottleEnvelope<T>>