@sumup/sdk
    Preparing search index...

    Type Alias CheckoutAccepted

    Checkout Accepted

    Response returned when checkout processing requires an additional payer action, such as a 3DS challenge or a redirect to an external payment method page.

    type CheckoutAccepted = {
        next_step?: {
            mechanism?: ("iframe" | "browser")[];
            method?: string;
            payload?: {
                MD?: Record<string, unknown>;
                PaReq?: Record<string, unknown>;
                TermUrl?: Record<string, unknown>;
            };
            redirect_url?: string;
            url?: string;
        };
    }
    Index

    Properties

    Properties

    next_step?: {
        mechanism?: ("iframe" | "browser")[];
        method?: string;
        payload?: {
            MD?: Record<string, unknown>;
            PaReq?: Record<string, unknown>;
            TermUrl?: Record<string, unknown>;
        };
        redirect_url?: string;
        url?: string;
    }

    Instructions for the next action the payer or client must take.

    Type Declaration

    • Optionalmechanism?: ("iframe" | "browser")[]

      Allowed presentation mechanisms for the next step. iframe means the flow can be embedded, while browser means it can be completed through a full-page redirect.

    • Optionalmethod?: string

      HTTP method to use when following the next step.

    • Optionalpayload?: {
          MD?: Record<string, unknown>;
          PaReq?: Record<string, unknown>;
          TermUrl?: Record<string, unknown>;
      }

      Parameters required to complete the next step. The exact keys depend on the payment provider and flow type.

    • Optionalredirect_url?: string

      Merchant URL where the payer returns after the external flow finishes.

    • Optionalurl?: string

      URL to open or submit in order to continue processing.