Inttegro TypeScript SDK - v8.2.0
    Preparing search index...

    Interface CreateOrderWithCustomerIdRequest

    Create order request with existing customer ID

    interface CreateOrderWithCustomerIdRequest {
        billingDetails?: BillingDetails;
        checkoutSettings?: { cancelUrl?: string; redirectUrl?: string };
        customData?: CustomData;
        customerData?: undefined;
        customerId: string;
        executePayment?: boolean;
        finalize?: boolean;
        invoiceSettings?: InvoiceSettings;
        lineItems: LineItemParams[];
        number?: string;
        paymentMethodData?: PaymentMethodData;
        paymentMethodId?: string;
        payoutSettings?: OrderPayoutSettings;
        receiptNumber?: string;
        requestMeta?: RequestMeta;
        shipping?: Shipping;
        statementDescriptor?: string;
        statementDescriptorPrefix?: string;
    }

    Hierarchy

    • BaseCreateOrderRequest
      • CreateOrderWithCustomerIdRequest
    Index
    billingDetails?: BillingDetails

    Billing details

    checkoutSettings?: { cancelUrl?: string; redirectUrl?: string }

    Checkout redirect/cancel URLs

    customData?: CustomData

    Order-level custom metadata

    customerData?: undefined

    Customer data should not be present when using existing customer

    customerId: string

    Existing customer ID

    executePayment?: boolean

    Whether to immediately execute payment

    finalize?: boolean

    Whether to explicitly finalize the order regardless of payment execution

    invoiceSettings?: InvoiceSettings

    Invoice rendering metadata

    lineItems: LineItemParams[]

    Line items (products or fees)

    number?: string

    Custom order number

    paymentMethodData?: PaymentMethodData

    Optional inline payment method details to tokenize and attach

    paymentMethodId?: string

    Optional pre-saved payment method ID

    payoutSettings?: OrderPayoutSettings

    Order-specific payout settings

    receiptNumber?: string

    Optional receipt number for downstream reconciliation

    requestMeta?: RequestMeta

    Request metadata such as idempotency controls

    shipping?: Shipping

    Shipping information (required for physical products)

    statementDescriptor?: string

    Statement descriptor for payment

    statementDescriptorPrefix?: string

    Static prefix, 2-10 characters, used to build statement descriptor as prefix*order_id. Mutually exclusive with statement_descriptor.