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

    Interface CreateOrderWithCustomerRequest

    Create order request with new customer data

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

    Hierarchy

    • BaseCreateOrderRequest
      • CreateOrderWithCustomerRequest
    Index
    billingDetails?: BillingDetails

    Billing details

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

    Checkout redirect/cancel URLs

    customData?: CustomData

    Order-level custom metadata

    customerData: CustomerData

    Customer data for new customer

    customerId?: undefined

    Customer ID should not be present when creating with customer data

    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?: undefined

    Payment method ID should not be present when creating with customer data

    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.