@sumup/sdk
    Preparing search index...

    Type Alias ProcessCheckout

    Process Checkout

    Request body for attempting payment on an existing checkout. The required companion fields depend on the selected payment_type, for example card details, saved-card data, or payer information required by a specific payment method.

    type ProcessCheckout = {
        apple_pay?: Record<string, unknown>;
        card?: Card;
        customer_id?: string;
        google_pay?: Record<string, unknown>;
        installments?: number;
        mandate?: MandatePayload;
        payment_type:
            | "card"
            | "boleto"
            | "ideal"
            | "blik"
            | "bancontact"
            | "google_pay"
            | "apple_pay";
        personal_details?: PersonalDetails;
        token?: string;
    }
    Index
    apple_pay?: Record<string, unknown>

    Raw payment token object received from Apple Pay. Send the Apple Pay response payload as-is.

    card?: Card
    customer_id?: string

    Customer identifier associated with the saved payment instrument. Required when token is provided.

    google_pay?: Record<string, unknown>

    Raw PaymentData object received from Google Pay. Send the Google Pay response payload as-is.

    installments?: number

    Number of installments for deferred payments. Available only to merchant users in Brazil.

    Min: 1

    Max: 12

    mandate?: MandatePayload
    payment_type:
        | "card"
        | "boleto"
        | "ideal"
        | "blik"
        | "bancontact"
        | "google_pay"
        | "apple_pay"

    Payment method used for this processing attempt. It determines which additional request fields are required.

    personal_details?: PersonalDetails
    token?: string

    Token of a saved payment instrument returned by checkout processing or the customer's payment-instruments endpoint. To charge a saved card, set payment_type to card and provide both this token and the associated customer_id instead of raw card details.