import type Stripe from "stripe";
import type { MutationCreateStripeCustomerArgs, QueryRetrieveStripeCustomerArgs, QueryStripeCustomerSearchArgs } from "../../generated/graphql.js";
import type { ParsedStripeResponse } from "../../lib/parseStripeResponse.js";
export declare const stripeCustomerSearch: ({ query, }: QueryStripeCustomerSearchArgs) => Promise<ParsedStripeResponse<Stripe.Customer>>;
export declare const retrieveStripeCustomer: ({ data, }: QueryRetrieveStripeCustomerArgs) => Promise<ParsedStripeResponse<Stripe.Customer | Stripe.DeletedCustomer>>;
export declare const createStripeCustomer: ({ data, }: MutationCreateStripeCustomerArgs) => Promise<{
    id: string;
    object: string;
    address?: {
        city: string | null;
        country: string | null;
        line1: string | null;
        line2: string | null;
        postal_code: string | null;
        state: string | null;
    } | null | undefined;
    balance: number;
    cash_balance?: {
        object: string;
        available: {
            [x: string]: number;
        } | null;
        customer: string;
        livemode: boolean;
        settings: {
            reconciliation_mode: string;
            using_merchant_default: boolean;
        };
    } | null | undefined;
    created: number;
    currency?: (string | null) | undefined;
    default_source: string | {
        id: string;
        object: string;
        business_profile?: {
            annual_revenue: {
                amount: number | null;
                currency: string | null;
                fiscal_year_end: string | null;
            } | null;
            estimated_worker_count: number | null;
            mcc: string | null;
            monthly_estimated_revenue?: {
                amount: number;
                currency: string;
            } | undefined;
            name: string | null;
            product_description?: (string | null) | undefined;
            support_address: {
                city: string | null;
                country: string | null;
                line1: string | null;
                line2: string | null;
                postal_code: string | null;
                state: string | null;
            } | null;
            support_email: string | null;
            support_phone: string | null;
            support_url: string | null;
            url: string | null;
        } | null | undefined;
        business_type?: string | null | undefined;
        capabilities?: {
            acss_debit_payments?: string | undefined;
            affirm_payments?: string | undefined;
            afterpay_clearpay_payments?: string | undefined;
            alma_payments?: string | undefined;
            amazon_pay_payments?: string | undefined;
            au_becs_debit_payments?: string | undefined;
            bacs_debit_payments?: string | undefined;
            bancontact_payments?: string | undefined;
            bank_transfer_payments?: string | undefined;
            blik_payments?: string | undefined;
            boleto_payments?: string | undefined;
            card_issuing?: string | undefined;
            card_payments?: string | undefined;
            cartes_bancaires_payments?: string | undefined;
            cashapp_payments?: string | undefined;
            eps_payments?: string | undefined;
            fpx_payments?: string | undefined;
            gb_bank_transfer_payments?: string | undefined;
            giropay_payments?: string | undefined;
            grabpay_payments?: string | undefined;
            ideal_payments?: string | undefined;
            india_international_payments?: string | undefined;
            jcb_payments?: string | undefined;
            jp_bank_transfer_payments?: string | undefined;
            kakao_pay_payments?: string | undefined;
            klarna_payments?: string | undefined;
            konbini_payments?: string | undefined;
            kr_card_payments?: string | undefined;
            legacy_payments?: string | undefined;
            link_payments?: string | undefined;
            mobilepay_payments?: string | undefined;
            multibanco_payments?: string | undefined;
            mx_bank_transfer_payments?: string | undefined;
            naver_pay_payments?: string | undefined;
            oxxo_payments?: string | undefined;
            p24_payments?: string | undefined;
            payco_payments?: string | undefined;
            paynow_payments?: string | undefined;
            promptpay_payments?: string | undefined;
            revolut_pay_payments?: string | undefined;
            samsung_pay_payments?: string | undefined;
            sepa_bank_transfer_payments?: string | undefined;
            sepa_debit_payments?: string | undefined;
            sofort_payments?: string | undefined;
            swish_payments?: string | undefined;
            tax_reporting_us_1099_k?: string | undefined;
            tax_reporting_us_1099_misc?: string | undefined;
            transfers?: string | undefined;
            treasury?: string | undefined;
            twint_payments?: string | undefined;
            us_bank_account_ach_payments?: string | undefined;
            us_bank_transfer_payments?: string | undefined;
            zip_payments?: string | undefined;
        } | undefined;
        charges_enabled: boolean;
        company?: {
            address?: {
                city: string | null;
                country: string | null;
                line1: string | null;
                line2: string | null;
                postal_code: string | null;
                state: string | null;
            } | undefined;
            address_kana?: {
                city: string | null;
                country: string | null;
                line1: string | null;
                line2: string | null;
                postal_code: string | null;
                state: string | null;
                town: string | null;
            } | null | undefined;
            address_kanji?: {
                city: string | null;
                country: string | null;
                line1: string | null;
                line2: string | null;
                postal_code: string | null;
                state: string | null;
                town: string | null;
            } | null | undefined;
            directors_provided?: boolean | undefined;
            executives_provided?: boolean | undefined;
            export_license_id?: string | undefined;
            export_purpose_code?: string | undefined;
            name?: (string | null) | undefined;
            name_kana?: (string | null) | undefined;
            name_kanji?: (string | null) | undefined;
            owners_provided?: boolean | undefined;
            ownership_declaration?: {
                date: number | null;
                ip: string | null;
                user_agent: string | null;
            } | null | undefined;
            phone?: (string | null) | undefined;
            structure?: string | undefined;
            tax_id_provided?: boolean | undefined;
            tax_id_registrar?: string | undefined;
            vat_id_provided?: boolean | undefined;
            verification?: {
                document: {
                    back: string | {
                        id: string;
                        object: string;
                        created: number;
                        expires_at: number | null;
                        filename: string | null;
                        links?: {
                            id: string;
                            object: string;
                            created: number;
                            expired: boolean;
                            expires_at: number | null;
                            file: string | any;
                            livemode: boolean;
                            metadata: {
                                [x: string]: string;
                            };
                            url: string | null;
                        }[] | null | undefined;
                        purpose: string;
                        size: number;
                        title: string | null;
                        type: string | null;
                        url: string | null;
                    } | null;
                    details: string | null;
                    details_code: string | null;
                    front: string | {
                        id: string;
                        object: string;
                        created: number;
                        expires_at: number | null;
                        filename: string | null;
                        links?: {
                            id: string;
                            object: string;
                            created: number;
                            expired: boolean;
                            expires_at: number | null;
                            file: string | any;
                            livemode: boolean;
                            metadata: {
                                [x: string]: string;
                            };
                            url: string | null;
                        }[] | null | undefined;
                        purpose: string;
                        size: number;
                        title: string | null;
                        type: string | null;
                        url: string | null;
                    } | null;
                };
            } | null | undefined;
        } | undefined;
        controller?: {
            fees?: {
                payer: string;
            } | undefined;
            is_controller?: boolean | undefined;
            losses?: {
                payments: string;
            } | undefined;
            requirement_collection?: string | undefined;
            stripe_dashboard?: {
                type: string;
            } | undefined;
            type: string;
        } | undefined;
        country?: string | undefined;
        created?: number | undefined;
        default_currency?: string | undefined;
        deleted?: void | undefined;
        details_submitted: boolean;
        email: string | null;
        external_accounts?: ({
            id: string;
            object: string;
            account?: string | any | null | undefined;
            account_holder_name: string | null;
            account_holder_type: string | null;
            account_type: string | null;
            available_payout_methods?: string[] | null | undefined;
            bank_name: string | null;
            country: string;
            currency: string;
            customer?: string | {
                id: string;
                object: string;
                address?: {
                    city: string | null;
                    country: string | null;
                    line1: string | null;
                    line2: string | null;
                    postal_code: string | null;
                    state: string | null;
                } | null | undefined;
                balance: number;
                cash_balance?: {
                    object: string;
                    available: {
                        [x: string]: number;
                    } | null;
                    customer: string;
                    livemode: boolean;
                    settings: {
                        reconciliation_mode: string;
                        using_merchant_default: boolean;
                    };
                } | null | undefined;
                created: number;
                currency?: (string | null) | undefined;
                default_source: string | any | any | {
                    id: string;
                    object: string;
                    account?: string | any | null | undefined;
                    address_city: string | null;
                    address_country: string | null;
                    address_line1: string | null;
                    address_line1_check: string | null;
                    address_line2: string | null;
                    address_state: string | null;
                    address_zip: string | null;
                    address_zip_check: string | null;
                    available_payout_methods?: string[] | null | undefined;
                    brand: string;
                    country: string | null;
                    currency?: (string | null) | undefined;
                    customer?: string | any | {
                        id: string;
                        object: string;
                        deleted: boolean;
                    } | null | undefined;
                    cvc_check: string | null;
                    default_for_currency?: (boolean | null) | undefined;
                    deleted?: void | undefined;
                    description?: string | undefined;
                    dynamic_last4: string | null;
                    exp_month: number;
                    exp_year: number;
                    fingerprint?: (string | null) | undefined;
                    funding: string;
                    iin?: string | undefined;
                    issuer?: string | undefined;
                    last4: string;
                    metadata: {
                        [x: string]: string;
                    } | null;
                    name: string | null;
                    networks?: {
                        preferred: string | null;
                    } | undefined;
                    status?: (string | null) | undefined;
                    tokenization_method: string | null;
                } | {
                    id: string;
                    object: string;
                    ach_credit_transfer?: {
                        account_number?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        refund_account_holder_name?: (string | null) | undefined;
                        refund_account_holder_type?: (string | null) | undefined;
                        refund_routing_number?: (string | null) | undefined;
                        routing_number?: (string | null) | undefined;
                        swift_code?: (string | null) | undefined;
                    } | undefined;
                    ach_debit?: {
                        bank_name?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        last4?: (string | null) | undefined;
                        routing_number?: (string | null) | undefined;
                        type?: (string | null) | undefined;
                    } | undefined;
                    acss_debit?: {
                        bank_address_city?: (string | null) | undefined;
                        bank_address_line_1?: (string | null) | undefined;
                        bank_address_line_2?: (string | null) | undefined;
                        bank_address_postal_code?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        category?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        last4?: (string | null) | undefined;
                        routing_number?: (string | null) | undefined;
                    } | undefined;
                    alipay?: {
                        data_string?: (string | null) | undefined;
                        native_url?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    amount: number | null;
                    au_becs_debit?: {
                        bsb_number?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        last4?: (string | null) | undefined;
                    } | undefined;
                    bancontact?: {
                        bank_code?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        iban_last4?: (string | null) | undefined;
                        preferred_language?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    card?: {
                        address_line1_check?: (string | null) | undefined;
                        address_zip_check?: (string | null) | undefined;
                        brand?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        cvc_check?: (string | null) | undefined;
                        description?: string | undefined;
                        dynamic_last4?: (string | null) | undefined;
                        exp_month?: (number | null) | undefined;
                        exp_year?: (number | null) | undefined;
                        fingerprint?: string | undefined;
                        funding?: (string | null) | undefined;
                        iin?: string | undefined;
                        issuer?: string | undefined;
                        last4?: (string | null) | undefined;
                        name?: (string | null) | undefined;
                        three_d_secure?: string | undefined;
                        tokenization_method?: (string | null) | undefined;
                    } | undefined;
                    card_present?: {
                        application_cryptogram?: string | undefined;
                        application_preferred_name?: string | undefined;
                        authorization_code?: (string | null) | undefined;
                        authorization_response_code?: string | undefined;
                        brand?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        cvm_type?: string | undefined;
                        data_type?: (string | null) | undefined;
                        dedicated_file_name?: string | undefined;
                        description?: string | undefined;
                        emv_auth_data?: string | undefined;
                        evidence_customer_signature?: (string | null) | undefined;
                        evidence_transaction_certificate?: (string | null) | undefined;
                        exp_month?: (number | null) | undefined;
                        exp_year?: (number | null) | undefined;
                        fingerprint?: string | undefined;
                        funding?: (string | null) | undefined;
                        iin?: string | undefined;
                        issuer?: string | undefined;
                        last4?: (string | null) | undefined;
                        pos_device_id?: (string | null) | undefined;
                        pos_entry_mode?: string | undefined;
                        read_method?: (string | null) | undefined;
                        reader?: (string | null) | undefined;
                        terminal_verification_results?: string | undefined;
                        transaction_status_information?: string | undefined;
                    } | undefined;
                    client_secret: string;
                    code_verification?: {
                        attempts_remaining: number;
                        status: string;
                    } | undefined;
                    created: number;
                    currency: string | null;
                    customer?: string | undefined;
                    eps?: {
                        reference?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    flow: string;
                    giropay?: {
                        bank_code?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    ideal?: {
                        bank?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        iban_last4?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    klarna?: {
                        background_image_url?: string | undefined;
                        client_token?: (string | null) | undefined;
                        first_name?: string | undefined;
                        last_name?: string | undefined;
                        locale?: string | undefined;
                        logo_url?: string | undefined;
                        page_title?: string | undefined;
                        pay_later_asset_urls_descriptive?: string | undefined;
                        pay_later_asset_urls_standard?: string | undefined;
                        pay_later_name?: string | undefined;
                        pay_later_redirect_url?: string | undefined;
                        pay_now_asset_urls_descriptive?: string | undefined;
                        pay_now_asset_urls_standard?: string | undefined;
                        pay_now_name?: string | undefined;
                        pay_now_redirect_url?: string | undefined;
                        pay_over_time_asset_urls_descriptive?: string | undefined;
                        pay_over_time_asset_urls_standard?: string | undefined;
                        pay_over_time_name?: string | undefined;
                        pay_over_time_redirect_url?: string | undefined;
                        payment_method_categories?: string | undefined;
                        purchase_country?: string | undefined;
                        purchase_type?: string | undefined;
                        redirect_url?: string | undefined;
                        shipping_delay?: number | undefined;
                        shipping_first_name?: string | undefined;
                        shipping_last_name?: string | undefined;
                    } | undefined;
                    livemode: boolean;
                    metadata: {
                        [x: string]: string;
                    } | null;
                    multibanco?: {
                        entity?: (string | null) | undefined;
                        reference?: (string | null) | undefined;
                        refund_account_holder_address_city?: (string | null) | undefined;
                        refund_account_holder_address_country?: (string | null) | undefined;
                        refund_account_holder_address_line1?: (string | null) | undefined;
                        refund_account_holder_address_line2?: (string | null) | undefined;
                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                        refund_account_holder_address_state?: (string | null) | undefined;
                        refund_account_holder_name?: (string | null) | undefined;
                        refund_iban?: (string | null) | undefined;
                    } | undefined;
                    owner: {
                        address: {
                            city: string | null;
                            country: string | null;
                            line1: string | null;
                            line2: string | null;
                            postal_code: string | null;
                            state: string | null;
                        } | null;
                        email: string | null;
                        name: string | null;
                        phone: string | null;
                        verified_address: {
                            city: string | null;
                            country: string | null;
                            line1: string | null;
                            line2: string | null;
                            postal_code: string | null;
                            state: string | null;
                        } | null;
                        verified_email: string | null;
                        verified_name: string | null;
                        verified_phone: string | null;
                    } | null;
                    p24?: {
                        reference?: (string | null) | undefined;
                    } | undefined;
                    receiver?: {
                        address: string | null;
                        amount_charged: number;
                        amount_received: number;
                        amount_returned: number;
                        refund_attributes_method: string;
                        refund_attributes_status: string;
                    } | undefined;
                    redirect?: {
                        failure_reason: string | null;
                        return_url: string;
                        status: string;
                        url: string;
                    } | undefined;
                    sepa_credit_transfer?: {
                        bank_name?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        iban?: (string | null) | undefined;
                        refund_account_holder_address_city?: (string | null) | undefined;
                        refund_account_holder_address_country?: (string | null) | undefined;
                        refund_account_holder_address_line1?: (string | null) | undefined;
                        refund_account_holder_address_line2?: (string | null) | undefined;
                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                        refund_account_holder_address_state?: (string | null) | undefined;
                        refund_account_holder_name?: (string | null) | undefined;
                        refund_iban?: (string | null) | undefined;
                    } | undefined;
                    sepa_debit?: {
                        bank_code?: (string | null) | undefined;
                        branch_code?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        last4?: (string | null) | undefined;
                        mandate_reference?: (string | null) | undefined;
                        mandate_url?: (string | null) | undefined;
                    } | undefined;
                    sofort?: {
                        bank_code?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        iban_last4?: (string | null) | undefined;
                        preferred_language?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    source_order?: {
                        amount: number;
                        currency: string;
                        email?: string | undefined;
                        items: {
                            amount: number | null;
                            currency: string | null;
                            description: string | null;
                            parent: string | null;
                            quantity?: number | undefined;
                            type: string | null;
                        }[] | null;
                        shipping?: {
                            address?: {
                                city: string | null;
                                country: string | null;
                                line1: string | null;
                                line2: string | null;
                                postal_code: string | null;
                                state: string | null;
                            } | undefined;
                            carrier?: (string | null) | undefined;
                            name?: string | undefined;
                            phone?: (string | null) | undefined;
                            tracking_number?: (string | null) | undefined;
                        } | undefined;
                    } | undefined;
                    statement_descriptor: string | null;
                    status: string;
                    three_d_secure?: {
                        address_line1_check?: (string | null) | undefined;
                        address_zip_check?: (string | null) | undefined;
                        authenticated?: (boolean | null) | undefined;
                        brand?: (string | null) | undefined;
                        card?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        customer?: (string | null) | undefined;
                        cvc_check?: (string | null) | undefined;
                        description?: string | undefined;
                        dynamic_last4?: (string | null) | undefined;
                        exp_month?: (number | null) | undefined;
                        exp_year?: (number | null) | undefined;
                        fingerprint?: string | undefined;
                        funding?: (string | null) | undefined;
                        iin?: string | undefined;
                        issuer?: string | undefined;
                        last4?: (string | null) | undefined;
                        name?: (string | null) | undefined;
                        three_d_secure?: string | undefined;
                        tokenization_method?: (string | null) | undefined;
                    } | undefined;
                    type: string;
                    usage: string | null;
                    wechat?: {
                        prepay_id?: string | undefined;
                        qr_code_url?: (string | null) | undefined;
                        statement_descriptor?: string | undefined;
                    } | undefined;
                } | null;
                deleted?: void | undefined;
                delinquent?: (boolean | null) | undefined;
                description: string | null;
                discount?: {
                    id: string;
                    object: string;
                    checkout_session: string | null;
                    coupon: {
                        id: string;
                        object: string;
                        amount_off: number | null;
                        applies_to?: {
                            products: Array<string>;
                        } | undefined;
                        created: number;
                        currency: string | null;
                        currency_options?: {
                            [x: string]: {
                                amount_off: number;
                            };
                        } | undefined;
                        deleted?: void | undefined;
                        duration: string;
                        duration_in_months: number | null;
                        livemode: boolean;
                        max_redemptions: number | null;
                        metadata: {
                            [x: string]: string;
                        } | null;
                        name: string | null;
                        percent_off: number | null;
                        redeem_by: number | null;
                        times_redeemed: number;
                        valid: boolean;
                    };
                    customer: string | any | {
                        id: string;
                        object: string;
                        deleted: boolean;
                    } | null;
                    deleted?: void | undefined;
                    end: number | null;
                    invoice: string | null;
                    invoice_item: string | null;
                    promotion_code: string | {
                        id: string;
                        object: string;
                        active: boolean;
                        code: string;
                        coupon: {
                            id: string;
                            object: string;
                            amount_off: number | null;
                            applies_to?: {
                                products: Array<string>;
                            } | undefined;
                            created: number;
                            currency: string | null;
                            currency_options?: {
                                [x: string]: {
                                    amount_off: number;
                                };
                            } | undefined;
                            deleted?: void | undefined;
                            duration: string;
                            duration_in_months: number | null;
                            livemode: boolean;
                            max_redemptions: number | null;
                            metadata: {
                                [x: string]: string;
                            } | null;
                            name: string | null;
                            percent_off: number | null;
                            redeem_by: number | null;
                            times_redeemed: number;
                            valid: boolean;
                        };
                        created: number;
                        customer: string | any | {
                            id: string;
                            object: string;
                            deleted: boolean;
                        } | null;
                        expires_at: number | null;
                        livemode: boolean;
                        max_redemptions: number | null;
                        metadata: {
                            [x: string]: string;
                        } | null;
                        restrictions: {
                            currency_options?: {
                                [x: string]: {
                                    minimum_amount: number;
                                };
                            } | undefined;
                            first_time_transaction: boolean;
                            minimum_amount: number | null;
                            minimum_amount_currency: string | null;
                        };
                        times_redeemed: number;
                    } | null;
                    start: number;
                    subscription: string | null;
                    subscription_item: string | null;
                } | null | undefined;
                email: string | null;
                invoice_credit_balance?: {
                    [x: string]: number;
                } | undefined;
                invoice_prefix?: (string | null) | undefined;
                invoice_settings: {
                    custom_fields: {
                        name: string;
                        value: string;
                    }[] | null;
                    default_payment_method: string | {
                        id: string;
                        object: string;
                        acss_debit?: {
                            bank_name: string | null;
                            fingerprint: string | null;
                            institution_number: string | null;
                            last4: string | null;
                            transit_number: string | null;
                        } | undefined;
                        affirm?: {} | undefined;
                        afterpay_clearpay?: {} | undefined;
                        alipay?: {} | undefined;
                        allow_redisplay?: string | undefined;
                        alma?: {} | undefined;
                        amazon_pay?: {} | undefined;
                        au_becs_debit?: {
                            bsb_number: string | null;
                            fingerprint: string | null;
                            last4: string | null;
                        } | undefined;
                        bacs_debit?: {
                            fingerprint: string | null;
                            last4: string | null;
                            sort_code: string | null;
                        } | undefined;
                        bancontact?: {} | undefined;
                        billing_details: {
                            address: {
                                city: string | null;
                                country: string | null;
                                line1: string | null;
                                line2: string | null;
                                postal_code: string | null;
                                state: string | null;
                            } | null;
                            email: string | null;
                            name: string | null;
                            phone: string | null;
                        };
                        blik?: {} | undefined;
                        boleto?: {
                            tax_id: string;
                        } | undefined;
                        card?: {
                            brand: string;
                            checks: {
                                address_line1_check: string | null;
                                address_postal_code_check: string | null;
                                cvc_check: string | null;
                            } | null;
                            country: string | null;
                            description?: (string | null) | undefined;
                            display_brand: string | null;
                            exp_month: number;
                            exp_year: number;
                            fingerprint?: (string | null) | undefined;
                            funding: string;
                            generated_from: {
                                charge: string | null;
                                payment_method_details: {
                                    card_present?: {
                                        amount_authorized: number | null;
                                        brand: string | null;
                                        brand_product: string | null;
                                        capture_before?: number | undefined;
                                        cardholder_name: string | null;
                                        country: string | null;
                                        description?: (string | null) | undefined;
                                        emv_auth_data: string | null;
                                        exp_month: number;
                                        exp_year: number;
                                        fingerprint: string | null;
                                        funding: string | null;
                                        generated_card: string | null;
                                        iin?: (string | null) | undefined;
                                        incremental_authorization_supported: boolean;
                                        issuer?: (string | null) | undefined;
                                        last4: string | null;
                                        network: string | null;
                                        network_transaction_id: string | null;
                                        offline: {
                                            stored_at: number | null;
                                            type: string | null;
                                        } | null;
                                        overcapture_supported: boolean;
                                        preferred_locales: Array<string> | null;
                                        read_method: string | null;
                                        receipt: {
                                            account_type?: string | undefined;
                                            application_cryptogram: string | null;
                                            application_preferred_name: string | null;
                                            authorization_code: string | null;
                                            authorization_response_code: string | null;
                                            cardholder_verification_method: string | null;
                                            dedicated_file_name: string | null;
                                            terminal_verification_results: string | null;
                                            transaction_status_information: string | null;
                                        } | null;
                                        wallet?: {
                                            type: string;
                                        } | undefined;
                                    } | undefined;
                                    type: string;
                                } | null;
                                setup_attempt: string | {
                                    id: string;
                                    object: string;
                                    application: string | {
                                        id: string;
                                        object: string;
                                        deleted?: void | undefined;
                                        name: string | null;
                                    } | null;
                                    attach_to_self?: boolean | undefined;
                                    created: number;
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    flow_directions: string[] | null;
                                    livemode: boolean;
                                    on_behalf_of: string | any | null;
                                    payment_method: string | any;
                                    payment_method_details: {
                                        acss_debit?: {} | undefined;
                                        amazon_pay?: {} | undefined;
                                        au_becs_debit?: {} | undefined;
                                        bacs_debit?: {} | undefined;
                                        bancontact?: {
                                            bank_code: string | null;
                                            bank_name: string | null;
                                            bic: string | null;
                                            generated_sepa_debit: string | any | null;
                                            generated_sepa_debit_mandate: string | any | null;
                                            iban_last4: string | null;
                                            preferred_language: string | null;
                                            verified_name: string | null;
                                        } | undefined;
                                        boleto?: {} | undefined;
                                        card?: {
                                            brand: string | null;
                                            checks: any | null;
                                            country: string | null;
                                            description?: (string | null) | undefined;
                                            exp_month: number | null;
                                            exp_year: number | null;
                                            fingerprint?: (string | null) | undefined;
                                            funding: string | null;
                                            iin?: (string | null) | undefined;
                                            issuer?: (string | null) | undefined;
                                            last4: string | null;
                                            network: string | null;
                                            three_d_secure: any | null;
                                            wallet: any | null;
                                        } | undefined;
                                        card_present?: {
                                            generated_card: string | any | null;
                                            offline: any | null;
                                        } | undefined;
                                        cashapp?: {} | undefined;
                                        ideal?: {
                                            bank: string | null;
                                            bic: string | null;
                                            generated_sepa_debit: string | any | null;
                                            generated_sepa_debit_mandate: string | any | null;
                                            iban_last4: string | null;
                                            verified_name: string | null;
                                        } | undefined;
                                        kakao_pay?: {} | undefined;
                                        klarna?: {} | undefined;
                                        kr_card?: {} | undefined;
                                        link?: {} | undefined;
                                        paypal?: {} | undefined;
                                        revolut_pay?: {} | undefined;
                                        sepa_debit?: {} | undefined;
                                        sofort?: {
                                            bank_code: string | null;
                                            bank_name: string | null;
                                            bic: string | null;
                                            generated_sepa_debit: string | any | null;
                                            generated_sepa_debit_mandate: string | any | null;
                                            iban_last4: string | null;
                                            preferred_language: string | null;
                                            verified_name: string | null;
                                        } | undefined;
                                        type: string;
                                        us_bank_account?: {} | undefined;
                                    };
                                    setup_error: {
                                        charge?: string | undefined;
                                        code?: string | undefined;
                                        decline_code?: string | undefined;
                                        doc_url?: string | undefined;
                                        message?: string | undefined;
                                        param?: string | undefined;
                                        payment_intent?: {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            amount_capturable: number;
                                            amount_details?: any | undefined;
                                            amount_received: number;
                                            application: string | {
                                                id: string;
                                                object: string;
                                                deleted?: void | undefined;
                                                name: string | null;
                                            } | null;
                                            application_fee_amount: number | null;
                                            automatic_payment_methods: any | null;
                                            canceled_at: number | null;
                                            cancellation_reason: string | null;
                                            capture_method: string;
                                            client_secret: string | null;
                                            confirmation_method: string;
                                            created: number;
                                            currency: string;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            description: string | null;
                                            invoice: string | any | null;
                                            last_payment_error: any | null;
                                            latest_charge: string | any | null;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            };
                                            next_action: any | null;
                                            on_behalf_of: string | any | null;
                                            payment_method: string | any | null;
                                            payment_method_configuration_details: any | null;
                                            payment_method_options: any | null;
                                            payment_method_types: Array<string>;
                                            processing: any | null;
                                            receipt_email: string | null;
                                            review: string | any | null;
                                            setup_future_usage: string | null;
                                            shipping: any | null;
                                            source: string | any | any | {
                                                id: string;
                                                object: string;
                                                account?: string | any | null | undefined;
                                                address_city: string | null;
                                                address_country: string | null;
                                                address_line1: string | null;
                                                address_line1_check: string | null;
                                                address_line2: string | null;
                                                address_state: string | null;
                                                address_zip: string | null;
                                                address_zip_check: string | null;
                                                available_payout_methods?: string[] | null | undefined;
                                                brand: string;
                                                country: string | null;
                                                currency?: (string | null) | undefined;
                                                customer?: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null | undefined;
                                                cvc_check: string | null;
                                                default_for_currency?: (boolean | null) | undefined;
                                                deleted?: void | undefined;
                                                description?: string | undefined;
                                                dynamic_last4: string | null;
                                                exp_month: number;
                                                exp_year: number;
                                                fingerprint?: (string | null) | undefined;
                                                funding: string;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4: string;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                networks?: {
                                                    preferred: string | null;
                                                } | undefined;
                                                status?: (string | null) | undefined;
                                                tokenization_method: string | null;
                                            } | {
                                                id: string;
                                                object: string;
                                                ach_credit_transfer?: {
                                                    account_number?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_account_holder_type?: (string | null) | undefined;
                                                    refund_routing_number?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    swift_code?: (string | null) | undefined;
                                                } | undefined;
                                                ach_debit?: {
                                                    bank_name?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    type?: (string | null) | undefined;
                                                } | undefined;
                                                acss_debit?: {
                                                    bank_address_city?: (string | null) | undefined;
                                                    bank_address_line_1?: (string | null) | undefined;
                                                    bank_address_line_2?: (string | null) | undefined;
                                                    bank_address_postal_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    category?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                } | undefined;
                                                alipay?: {
                                                    data_string?: (string | null) | undefined;
                                                    native_url?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                amount: number | null;
                                                au_becs_debit?: {
                                                    bsb_number?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                } | undefined;
                                                bancontact?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                card?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                card_present?: {
                                                    application_cryptogram?: string | undefined;
                                                    application_preferred_name?: string | undefined;
                                                    authorization_code?: (string | null) | undefined;
                                                    authorization_response_code?: string | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvm_type?: string | undefined;
                                                    data_type?: (string | null) | undefined;
                                                    dedicated_file_name?: string | undefined;
                                                    description?: string | undefined;
                                                    emv_auth_data?: string | undefined;
                                                    evidence_customer_signature?: (string | null) | undefined;
                                                    evidence_transaction_certificate?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    pos_device_id?: (string | null) | undefined;
                                                    pos_entry_mode?: string | undefined;
                                                    read_method?: (string | null) | undefined;
                                                    reader?: (string | null) | undefined;
                                                    terminal_verification_results?: string | undefined;
                                                    transaction_status_information?: string | undefined;
                                                } | undefined;
                                                client_secret: string;
                                                code_verification?: {
                                                    attempts_remaining: number;
                                                    status: string;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                customer?: string | undefined;
                                                eps?: {
                                                    reference?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                flow: string;
                                                giropay?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                ideal?: {
                                                    bank?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                klarna?: {
                                                    background_image_url?: string | undefined;
                                                    client_token?: (string | null) | undefined;
                                                    first_name?: string | undefined;
                                                    last_name?: string | undefined;
                                                    locale?: string | undefined;
                                                    logo_url?: string | undefined;
                                                    page_title?: string | undefined;
                                                    pay_later_asset_urls_descriptive?: string | undefined;
                                                    pay_later_asset_urls_standard?: string | undefined;
                                                    pay_later_name?: string | undefined;
                                                    pay_later_redirect_url?: string | undefined;
                                                    pay_now_asset_urls_descriptive?: string | undefined;
                                                    pay_now_asset_urls_standard?: string | undefined;
                                                    pay_now_name?: string | undefined;
                                                    pay_now_redirect_url?: string | undefined;
                                                    pay_over_time_asset_urls_descriptive?: string | undefined;
                                                    pay_over_time_asset_urls_standard?: string | undefined;
                                                    pay_over_time_name?: string | undefined;
                                                    pay_over_time_redirect_url?: string | undefined;
                                                    payment_method_categories?: string | undefined;
                                                    purchase_country?: string | undefined;
                                                    purchase_type?: string | undefined;
                                                    redirect_url?: string | undefined;
                                                    shipping_delay?: number | undefined;
                                                    shipping_first_name?: string | undefined;
                                                    shipping_last_name?: string | undefined;
                                                } | undefined;
                                                livemode: boolean;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                multibanco?: {
                                                    entity?: (string | null) | undefined;
                                                    reference?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                owner: {
                                                    address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    email: string | null;
                                                    name: string | null;
                                                    phone: string | null;
                                                    verified_address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    verified_email: string | null;
                                                    verified_name: string | null;
                                                    verified_phone: string | null;
                                                } | null;
                                                p24?: {
                                                    reference?: (string | null) | undefined;
                                                } | undefined;
                                                receiver?: {
                                                    address: string | null;
                                                    amount_charged: number;
                                                    amount_received: number;
                                                    amount_returned: number;
                                                    refund_attributes_method: string;
                                                    refund_attributes_status: string;
                                                } | undefined;
                                                redirect?: {
                                                    failure_reason: string | null;
                                                    return_url: string;
                                                    status: string;
                                                    url: string;
                                                } | undefined;
                                                sepa_credit_transfer?: {
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                sepa_debit?: {
                                                    bank_code?: (string | null) | undefined;
                                                    branch_code?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    mandate_reference?: (string | null) | undefined;
                                                    mandate_url?: (string | null) | undefined;
                                                } | undefined;
                                                sofort?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                source_order?: {
                                                    amount: number;
                                                    currency: string;
                                                    email?: string | undefined;
                                                    items: {
                                                        amount: number | null;
                                                        currency: string | null;
                                                        description: string | null;
                                                        parent: string | null;
                                                        quantity?: number | undefined;
                                                        type: string | null;
                                                    }[] | null;
                                                    shipping?: {
                                                        address?: {
                                                            city: string | null;
                                                            country: string | null;
                                                            line1: string | null;
                                                            line2: string | null;
                                                            postal_code: string | null;
                                                            state: string | null;
                                                        } | undefined;
                                                        carrier?: (string | null) | undefined;
                                                        name?: string | undefined;
                                                        phone?: (string | null) | undefined;
                                                        tracking_number?: (string | null) | undefined;
                                                    } | undefined;
                                                } | undefined;
                                                statement_descriptor: string | null;
                                                status: string;
                                                three_d_secure?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    authenticated?: (boolean | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    card?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    customer?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                type: string;
                                                usage: string | null;
                                                wechat?: {
                                                    prepay_id?: string | undefined;
                                                    qr_code_url?: (string | null) | undefined;
                                                    statement_descriptor?: string | undefined;
                                                } | undefined;
                                            } | any | any | null;
                                            statement_descriptor: string | null;
                                            statement_descriptor_suffix: string | null;
                                            status: string;
                                            transfer_data: any | null;
                                            transfer_group: string | null;
                                        } | undefined;
                                        payment_method?: any | undefined;
                                        payment_method_type?: string | undefined;
                                        request_log_url?: string | undefined;
                                        setup_intent?: {
                                            id: string;
                                            object: string;
                                            application: string | {
                                                id: string;
                                                object: string;
                                                deleted?: void | undefined;
                                                name: string | null;
                                            } | null;
                                            attach_to_self?: boolean | undefined;
                                            automatic_payment_methods: any | null;
                                            cancellation_reason: string | null;
                                            client_secret: string | null;
                                            created: number;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            description: string | null;
                                            flow_directions: string[] | null;
                                            last_setup_error: any | null;
                                            latest_attempt: string | any | null;
                                            livemode: boolean;
                                            mandate: string | any | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            next_action: any | null;
                                            on_behalf_of: string | any | null;
                                            payment_method: string | any | null;
                                            payment_method_configuration_details: any | null;
                                            payment_method_options: any | null;
                                            payment_method_types: Array<string>;
                                            single_use_mandate: string | any | null;
                                            status: string;
                                            usage: string;
                                        } | undefined;
                                        source?: any | any | {
                                            id: string;
                                            object: string;
                                            account?: string | any | null | undefined;
                                            address_city: string | null;
                                            address_country: string | null;
                                            address_line1: string | null;
                                            address_line1_check: string | null;
                                            address_line2: string | null;
                                            address_state: string | null;
                                            address_zip: string | null;
                                            address_zip_check: string | null;
                                            available_payout_methods?: string[] | null | undefined;
                                            brand: string;
                                            country: string | null;
                                            currency?: (string | null) | undefined;
                                            customer?: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null | undefined;
                                            cvc_check: string | null;
                                            default_for_currency?: (boolean | null) | undefined;
                                            deleted?: void | undefined;
                                            description?: string | undefined;
                                            dynamic_last4: string | null;
                                            exp_month: number;
                                            exp_year: number;
                                            fingerprint?: (string | null) | undefined;
                                            funding: string;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4: string;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            networks?: {
                                                preferred: string | null;
                                            } | undefined;
                                            status?: (string | null) | undefined;
                                            tokenization_method: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            ach_credit_transfer?: {
                                                account_number?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_account_holder_type?: (string | null) | undefined;
                                                refund_routing_number?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                swift_code?: (string | null) | undefined;
                                            } | undefined;
                                            ach_debit?: {
                                                bank_name?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                type?: (string | null) | undefined;
                                            } | undefined;
                                            acss_debit?: {
                                                bank_address_city?: (string | null) | undefined;
                                                bank_address_line_1?: (string | null) | undefined;
                                                bank_address_line_2?: (string | null) | undefined;
                                                bank_address_postal_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                category?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                            } | undefined;
                                            alipay?: {
                                                data_string?: (string | null) | undefined;
                                                native_url?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            amount: number | null;
                                            au_becs_debit?: {
                                                bsb_number?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                            } | undefined;
                                            bancontact?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            card?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            card_present?: {
                                                application_cryptogram?: string | undefined;
                                                application_preferred_name?: string | undefined;
                                                authorization_code?: (string | null) | undefined;
                                                authorization_response_code?: string | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvm_type?: string | undefined;
                                                data_type?: (string | null) | undefined;
                                                dedicated_file_name?: string | undefined;
                                                description?: string | undefined;
                                                emv_auth_data?: string | undefined;
                                                evidence_customer_signature?: (string | null) | undefined;
                                                evidence_transaction_certificate?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                pos_device_id?: (string | null) | undefined;
                                                pos_entry_mode?: string | undefined;
                                                read_method?: (string | null) | undefined;
                                                reader?: (string | null) | undefined;
                                                terminal_verification_results?: string | undefined;
                                                transaction_status_information?: string | undefined;
                                            } | undefined;
                                            client_secret: string;
                                            code_verification?: {
                                                attempts_remaining: number;
                                                status: string;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            customer?: string | undefined;
                                            eps?: {
                                                reference?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            flow: string;
                                            giropay?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            ideal?: {
                                                bank?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            klarna?: {
                                                background_image_url?: string | undefined;
                                                client_token?: (string | null) | undefined;
                                                first_name?: string | undefined;
                                                last_name?: string | undefined;
                                                locale?: string | undefined;
                                                logo_url?: string | undefined;
                                                page_title?: string | undefined;
                                                pay_later_asset_urls_descriptive?: string | undefined;
                                                pay_later_asset_urls_standard?: string | undefined;
                                                pay_later_name?: string | undefined;
                                                pay_later_redirect_url?: string | undefined;
                                                pay_now_asset_urls_descriptive?: string | undefined;
                                                pay_now_asset_urls_standard?: string | undefined;
                                                pay_now_name?: string | undefined;
                                                pay_now_redirect_url?: string | undefined;
                                                pay_over_time_asset_urls_descriptive?: string | undefined;
                                                pay_over_time_asset_urls_standard?: string | undefined;
                                                pay_over_time_name?: string | undefined;
                                                pay_over_time_redirect_url?: string | undefined;
                                                payment_method_categories?: string | undefined;
                                                purchase_country?: string | undefined;
                                                purchase_type?: string | undefined;
                                                redirect_url?: string | undefined;
                                                shipping_delay?: number | undefined;
                                                shipping_first_name?: string | undefined;
                                                shipping_last_name?: string | undefined;
                                            } | undefined;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            multibanco?: {
                                                entity?: (string | null) | undefined;
                                                reference?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            owner: {
                                                address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                email: string | null;
                                                name: string | null;
                                                phone: string | null;
                                                verified_address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                verified_email: string | null;
                                                verified_name: string | null;
                                                verified_phone: string | null;
                                            } | null;
                                            p24?: {
                                                reference?: (string | null) | undefined;
                                            } | undefined;
                                            receiver?: {
                                                address: string | null;
                                                amount_charged: number;
                                                amount_received: number;
                                                amount_returned: number;
                                                refund_attributes_method: string;
                                                refund_attributes_status: string;
                                            } | undefined;
                                            redirect?: {
                                                failure_reason: string | null;
                                                return_url: string;
                                                status: string;
                                                url: string;
                                            } | undefined;
                                            sepa_credit_transfer?: {
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            sepa_debit?: {
                                                bank_code?: (string | null) | undefined;
                                                branch_code?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                mandate_reference?: (string | null) | undefined;
                                                mandate_url?: (string | null) | undefined;
                                            } | undefined;
                                            sofort?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            source_order?: {
                                                amount: number;
                                                currency: string;
                                                email?: string | undefined;
                                                items: {
                                                    amount: number | null;
                                                    currency: string | null;
                                                    description: string | null;
                                                    parent: string | null;
                                                    quantity?: number | undefined;
                                                    type: string | null;
                                                }[] | null;
                                                shipping?: {
                                                    address?: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | undefined;
                                                    carrier?: (string | null) | undefined;
                                                    name?: string | undefined;
                                                    phone?: (string | null) | undefined;
                                                    tracking_number?: (string | null) | undefined;
                                                } | undefined;
                                            } | undefined;
                                            statement_descriptor: string | null;
                                            status: string;
                                            three_d_secure?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                authenticated?: (boolean | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                card?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                customer?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            type: string;
                                            usage: string | null;
                                            wechat?: {
                                                prepay_id?: string | undefined;
                                                qr_code_url?: (string | null) | undefined;
                                                statement_descriptor?: string | undefined;
                                            } | undefined;
                                        } | undefined;
                                        type: string;
                                    } | null;
                                    setup_intent: string | {
                                        id: string;
                                        object: string;
                                        application: string | {
                                            id: string;
                                            object: string;
                                            deleted?: void | undefined;
                                            name: string | null;
                                        } | null;
                                        attach_to_self?: boolean | undefined;
                                        automatic_payment_methods: any | null;
                                        cancellation_reason: string | null;
                                        client_secret: string | null;
                                        created: number;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        description: string | null;
                                        flow_directions: string[] | null;
                                        last_setup_error: any | null;
                                        latest_attempt: string | any | null;
                                        livemode: boolean;
                                        mandate: string | any | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        next_action: any | null;
                                        on_behalf_of: string | any | null;
                                        payment_method: string | any | null;
                                        payment_method_configuration_details: any | null;
                                        payment_method_options: any | null;
                                        payment_method_types: Array<string>;
                                        single_use_mandate: string | any | null;
                                        status: string;
                                        usage: string;
                                    };
                                    status: string;
                                    usage: string;
                                } | null;
                            } | null;
                            iin?: (string | null) | undefined;
                            issuer?: (string | null) | undefined;
                            last4: string;
                            networks: {
                                available: Array<string>;
                                preferred: string | null;
                            } | null;
                            three_d_secure_usage: {
                                supported: boolean;
                            } | null;
                            wallet: {
                                amex_express_checkout?: {} | undefined;
                                apple_pay?: {} | undefined;
                                dynamic_last4: string | null;
                                google_pay?: {} | undefined;
                                link?: {} | undefined;
                                masterpass?: {
                                    billing_address: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | null;
                                    email: string | null;
                                    name: string | null;
                                    shipping_address: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | null;
                                } | undefined;
                                samsung_pay?: {} | undefined;
                                type: string;
                                visa_checkout?: {
                                    billing_address: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | null;
                                    email: string | null;
                                    name: string | null;
                                    shipping_address: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | null;
                                } | undefined;
                            } | null;
                        } | undefined;
                        card_present?: {
                            brand: string | null;
                            brand_product: string | null;
                            cardholder_name: string | null;
                            country: string | null;
                            description?: (string | null) | undefined;
                            exp_month: number;
                            exp_year: number;
                            fingerprint: string | null;
                            funding: string | null;
                            iin?: (string | null) | undefined;
                            issuer?: (string | null) | undefined;
                            last4: string | null;
                            networks: {
                                available: Array<string>;
                                preferred: string | null;
                            } | null;
                            offline: {
                                stored_at: number | null;
                                type: string | null;
                            } | null;
                            preferred_locales: Array<string> | null;
                            read_method: string | null;
                            wallet?: {
                                type: string;
                            } | undefined;
                        } | undefined;
                        cashapp?: {
                            buyer_id: string | null;
                            cashtag: string | null;
                        } | undefined;
                        created: number;
                        customer: string | any | null;
                        customer_balance?: {} | undefined;
                        eps?: {
                            bank: string | null;
                        } | undefined;
                        fpx?: {
                            account_holder_type: string | null;
                            bank: string;
                        } | undefined;
                        giropay?: {} | undefined;
                        grabpay?: {} | undefined;
                        ideal?: {
                            bank: string | null;
                            bic: string | null;
                        } | undefined;
                        interac_present?: {
                            brand: string | null;
                            cardholder_name: string | null;
                            country: string | null;
                            description?: (string | null) | undefined;
                            exp_month: number;
                            exp_year: number;
                            fingerprint: string | null;
                            funding: string | null;
                            iin?: (string | null) | undefined;
                            issuer?: (string | null) | undefined;
                            last4: string | null;
                            networks: {
                                available: Array<string>;
                                preferred: string | null;
                            } | null;
                            preferred_locales: Array<string> | null;
                            read_method: string | null;
                        } | undefined;
                        kakao_pay?: {} | undefined;
                        klarna?: {
                            dob?: {
                                day: number | null;
                                month: number | null;
                                year: number | null;
                            } | null | undefined;
                        } | undefined;
                        konbini?: {} | undefined;
                        kr_card?: {
                            brand: string | null;
                            last4: string | null;
                        } | undefined;
                        link?: {
                            email: string | null;
                            persistent_token?: string | undefined;
                        } | undefined;
                        livemode: boolean;
                        metadata: {
                            [x: string]: string;
                        } | null;
                        mobilepay?: {} | undefined;
                        multibanco?: {} | undefined;
                        naver_pay?: {
                            funding: string;
                        } | undefined;
                        oxxo?: {} | undefined;
                        p24?: {
                            bank: string | null;
                        } | undefined;
                        payco?: {} | undefined;
                        paynow?: {} | undefined;
                        paypal?: {
                            payer_email: string | null;
                            payer_id: string | null;
                        } | undefined;
                        pix?: {} | undefined;
                        promptpay?: {} | undefined;
                        radar_options?: {
                            session?: string | undefined;
                        } | undefined;
                        revolut_pay?: {} | undefined;
                        samsung_pay?: {} | undefined;
                        sepa_debit?: {
                            bank_code: string | null;
                            branch_code: string | null;
                            country: string | null;
                            fingerprint: string | null;
                            generated_from: {
                                charge: string | {
                                    id: string;
                                    object: string;
                                    amount: number;
                                    amount_captured: number;
                                    amount_refunded: number;
                                    application: string | {
                                        id: string;
                                        object: string;
                                        deleted?: void | undefined;
                                        name: string | null;
                                    } | null;
                                    application_fee: string | {
                                        id: string;
                                        object: string;
                                        account: string | any;
                                        amount: number;
                                        amount_refunded: number;
                                        application: string | {
                                            id: string;
                                            object: string;
                                            deleted?: void | undefined;
                                            name: string | null;
                                        };
                                        balance_transaction: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            available_on: number;
                                            created: number;
                                            currency: string;
                                            description: string | null;
                                            exchange_rate: number | null;
                                            fee: number;
                                            fee_details: any[];
                                            net: number;
                                            reporting_category: string;
                                            source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                            status: string;
                                            type: string;
                                        } | null;
                                        charge: string | any;
                                        created: number;
                                        currency: string;
                                        fee_source: {
                                            charge?: string | undefined;
                                            payout?: string | undefined;
                                            type: string;
                                        } | null;
                                        livemode: boolean;
                                        originating_transaction: string | any | null;
                                        refunded: boolean;
                                        refunds: {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            balance_transaction: string | {
                                                id: string;
                                                object: string;
                                                amount: number;
                                                available_on: number;
                                                created: number;
                                                currency: string;
                                                description: string | null;
                                                exchange_rate: number | null;
                                                fee: number;
                                                fee_details: any[];
                                                net: number;
                                                reporting_category: string;
                                                source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                                status: string;
                                                type: string;
                                            } | null;
                                            created: number;
                                            currency: string;
                                            fee: string | any;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                        }[];
                                    } | null;
                                    application_fee_amount: number | null;
                                    authorization_code?: string | undefined;
                                    balance_transaction: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        available_on: number;
                                        created: number;
                                        currency: string;
                                        description: string | null;
                                        exchange_rate: number | null;
                                        fee: number;
                                        fee_details: any[];
                                        net: number;
                                        reporting_category: string;
                                        source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                        status: string;
                                        type: string;
                                    } | null;
                                    billing_details: {
                                        address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        email: string | null;
                                        name: string | null;
                                        phone: string | null;
                                    };
                                    calculated_statement_descriptor: string | null;
                                    captured: boolean;
                                    created: number;
                                    currency: string;
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    description: string | null;
                                    disputed: boolean;
                                    failure_balance_transaction: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        available_on: number;
                                        created: number;
                                        currency: string;
                                        description: string | null;
                                        exchange_rate: number | null;
                                        fee: number;
                                        fee_details: any[];
                                        net: number;
                                        reporting_category: string;
                                        source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                        status: string;
                                        type: string;
                                    } | null;
                                    failure_code: string | null;
                                    failure_message: string | null;
                                    fraud_details: {
                                        stripe_report?: string | undefined;
                                        user_report?: string | undefined;
                                    } | null;
                                    invoice: string | {
                                        id: string;
                                        object: string;
                                        account_country: string | null;
                                        account_name: string | null;
                                        account_tax_ids: (string | {
                                            id: string;
                                            object: string;
                                            country: string | null;
                                            created: number;
                                            customer: string | any | null;
                                            deleted?: void | undefined;
                                            livemode: boolean;
                                            owner: any | null;
                                            type: string;
                                            value: string;
                                            verification: any | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        })[] | null;
                                        amount_due: number;
                                        amount_paid: number;
                                        amount_remaining: number;
                                        amount_shipping: number;
                                        application: string | {
                                            id: string;
                                            object: string;
                                            deleted?: void | undefined;
                                            name: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                            name: string | null;
                                        } | null;
                                        application_fee_amount: number | null;
                                        attempt_count: number;
                                        attempted: boolean;
                                        auto_advance?: boolean | undefined;
                                        automatic_tax: {
                                            enabled: boolean;
                                            liability: any | null;
                                            status: string | null;
                                        };
                                        automatically_finalizes_at: number | null;
                                        billing_reason: string | null;
                                        charge: string | any | null;
                                        collection_method: string;
                                        created: number;
                                        currency: string;
                                        custom_fields: {
                                            name: string;
                                            value: string;
                                        }[] | null;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        customer_address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        customer_email: string | null;
                                        customer_name: string | null;
                                        customer_phone: string | null;
                                        customer_shipping: {
                                            address?: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | undefined;
                                            carrier?: (string | null) | undefined;
                                            name?: string | undefined;
                                            phone?: (string | null) | undefined;
                                            tracking_number?: (string | null) | undefined;
                                        } | null;
                                        customer_tax_exempt: string | null;
                                        customer_tax_ids?: {
                                            type: string;
                                            value: string | null;
                                        }[] | null | undefined;
                                        default_payment_method: string | any | null;
                                        default_source: string | any | any | {
                                            id: string;
                                            object: string;
                                            account?: string | any | null | undefined;
                                            address_city: string | null;
                                            address_country: string | null;
                                            address_line1: string | null;
                                            address_line1_check: string | null;
                                            address_line2: string | null;
                                            address_state: string | null;
                                            address_zip: string | null;
                                            address_zip_check: string | null;
                                            available_payout_methods?: string[] | null | undefined;
                                            brand: string;
                                            country: string | null;
                                            currency?: (string | null) | undefined;
                                            customer?: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null | undefined;
                                            cvc_check: string | null;
                                            default_for_currency?: (boolean | null) | undefined;
                                            deleted?: void | undefined;
                                            description?: string | undefined;
                                            dynamic_last4: string | null;
                                            exp_month: number;
                                            exp_year: number;
                                            fingerprint?: (string | null) | undefined;
                                            funding: string;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4: string;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            networks?: {
                                                preferred: string | null;
                                            } | undefined;
                                            status?: (string | null) | undefined;
                                            tokenization_method: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            ach_credit_transfer?: {
                                                account_number?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_account_holder_type?: (string | null) | undefined;
                                                refund_routing_number?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                swift_code?: (string | null) | undefined;
                                            } | undefined;
                                            ach_debit?: {
                                                bank_name?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                type?: (string | null) | undefined;
                                            } | undefined;
                                            acss_debit?: {
                                                bank_address_city?: (string | null) | undefined;
                                                bank_address_line_1?: (string | null) | undefined;
                                                bank_address_line_2?: (string | null) | undefined;
                                                bank_address_postal_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                category?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                            } | undefined;
                                            alipay?: {
                                                data_string?: (string | null) | undefined;
                                                native_url?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            amount: number | null;
                                            au_becs_debit?: {
                                                bsb_number?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                            } | undefined;
                                            bancontact?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            card?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            card_present?: {
                                                application_cryptogram?: string | undefined;
                                                application_preferred_name?: string | undefined;
                                                authorization_code?: (string | null) | undefined;
                                                authorization_response_code?: string | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvm_type?: string | undefined;
                                                data_type?: (string | null) | undefined;
                                                dedicated_file_name?: string | undefined;
                                                description?: string | undefined;
                                                emv_auth_data?: string | undefined;
                                                evidence_customer_signature?: (string | null) | undefined;
                                                evidence_transaction_certificate?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                pos_device_id?: (string | null) | undefined;
                                                pos_entry_mode?: string | undefined;
                                                read_method?: (string | null) | undefined;
                                                reader?: (string | null) | undefined;
                                                terminal_verification_results?: string | undefined;
                                                transaction_status_information?: string | undefined;
                                            } | undefined;
                                            client_secret: string;
                                            code_verification?: {
                                                attempts_remaining: number;
                                                status: string;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            customer?: string | undefined;
                                            eps?: {
                                                reference?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            flow: string;
                                            giropay?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            ideal?: {
                                                bank?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            klarna?: {
                                                background_image_url?: string | undefined;
                                                client_token?: (string | null) | undefined;
                                                first_name?: string | undefined;
                                                last_name?: string | undefined;
                                                locale?: string | undefined;
                                                logo_url?: string | undefined;
                                                page_title?: string | undefined;
                                                pay_later_asset_urls_descriptive?: string | undefined;
                                                pay_later_asset_urls_standard?: string | undefined;
                                                pay_later_name?: string | undefined;
                                                pay_later_redirect_url?: string | undefined;
                                                pay_now_asset_urls_descriptive?: string | undefined;
                                                pay_now_asset_urls_standard?: string | undefined;
                                                pay_now_name?: string | undefined;
                                                pay_now_redirect_url?: string | undefined;
                                                pay_over_time_asset_urls_descriptive?: string | undefined;
                                                pay_over_time_asset_urls_standard?: string | undefined;
                                                pay_over_time_name?: string | undefined;
                                                pay_over_time_redirect_url?: string | undefined;
                                                payment_method_categories?: string | undefined;
                                                purchase_country?: string | undefined;
                                                purchase_type?: string | undefined;
                                                redirect_url?: string | undefined;
                                                shipping_delay?: number | undefined;
                                                shipping_first_name?: string | undefined;
                                                shipping_last_name?: string | undefined;
                                            } | undefined;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            multibanco?: {
                                                entity?: (string | null) | undefined;
                                                reference?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            owner: {
                                                address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                email: string | null;
                                                name: string | null;
                                                phone: string | null;
                                                verified_address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                verified_email: string | null;
                                                verified_name: string | null;
                                                verified_phone: string | null;
                                            } | null;
                                            p24?: {
                                                reference?: (string | null) | undefined;
                                            } | undefined;
                                            receiver?: {
                                                address: string | null;
                                                amount_charged: number;
                                                amount_received: number;
                                                amount_returned: number;
                                                refund_attributes_method: string;
                                                refund_attributes_status: string;
                                            } | undefined;
                                            redirect?: {
                                                failure_reason: string | null;
                                                return_url: string;
                                                status: string;
                                                url: string;
                                            } | undefined;
                                            sepa_credit_transfer?: {
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            sepa_debit?: {
                                                bank_code?: (string | null) | undefined;
                                                branch_code?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                mandate_reference?: (string | null) | undefined;
                                                mandate_url?: (string | null) | undefined;
                                            } | undefined;
                                            sofort?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            source_order?: {
                                                amount: number;
                                                currency: string;
                                                email?: string | undefined;
                                                items: {
                                                    amount: number | null;
                                                    currency: string | null;
                                                    description: string | null;
                                                    parent: string | null;
                                                    quantity?: number | undefined;
                                                    type: string | null;
                                                }[] | null;
                                                shipping?: {
                                                    address?: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | undefined;
                                                    carrier?: (string | null) | undefined;
                                                    name?: string | undefined;
                                                    phone?: (string | null) | undefined;
                                                    tracking_number?: (string | null) | undefined;
                                                } | undefined;
                                            } | undefined;
                                            statement_descriptor: string | null;
                                            status: string;
                                            three_d_secure?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                authenticated?: (boolean | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                card?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                customer?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            type: string;
                                            usage: string | null;
                                            wechat?: {
                                                prepay_id?: string | undefined;
                                                qr_code_url?: (string | null) | undefined;
                                                statement_descriptor?: string | undefined;
                                            } | undefined;
                                        } | null;
                                        default_tax_rates: {
                                            id: string;
                                            object: string;
                                            active: boolean;
                                            country: string | null;
                                            created: number;
                                            description: string | null;
                                            display_name: string;
                                            effective_percentage: number | null;
                                            flat_amount: any | null;
                                            inclusive: boolean;
                                            jurisdiction: string | null;
                                            jurisdiction_level: string | null;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            percentage: number;
                                            rate_type: string | null;
                                            state: string | null;
                                            tax_type: string | null;
                                        }[];
                                        deleted?: void | undefined;
                                        description: string | null;
                                        discount: {
                                            id: string;
                                            object: string;
                                            checkout_session: string | null;
                                            coupon: {
                                                id: string;
                                                object: string;
                                                amount_off: number | null;
                                                applies_to?: {
                                                    products: Array<string>;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                currency_options?: {
                                                    [x: string]: {
                                                        amount_off: number;
                                                    };
                                                } | undefined;
                                                deleted?: void | undefined;
                                                duration: string;
                                                duration_in_months: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                percent_off: number | null;
                                                redeem_by: number | null;
                                                times_redeemed: number;
                                                valid: boolean;
                                            };
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            deleted?: void | undefined;
                                            end: number | null;
                                            invoice: string | null;
                                            invoice_item: string | null;
                                            promotion_code: string | {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                code: string;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                created: number;
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                expires_at: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                restrictions: {
                                                    currency_options?: {
                                                        [x: string]: {
                                                            minimum_amount: number;
                                                        };
                                                    } | undefined;
                                                    first_time_transaction: boolean;
                                                    minimum_amount: number | null;
                                                    minimum_amount_currency: string | null;
                                                };
                                                times_redeemed: number;
                                            } | null;
                                            start: number;
                                            subscription: string | null;
                                            subscription_item: string | null;
                                        } | null;
                                        discounts: (string | {
                                            id: string;
                                            object: string;
                                            checkout_session: string | null;
                                            coupon: {
                                                id: string;
                                                object: string;
                                                amount_off: number | null;
                                                applies_to?: {
                                                    products: Array<string>;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                currency_options?: {
                                                    [x: string]: {
                                                        amount_off: number;
                                                    };
                                                } | undefined;
                                                deleted?: void | undefined;
                                                duration: string;
                                                duration_in_months: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                percent_off: number | null;
                                                redeem_by: number | null;
                                                times_redeemed: number;
                                                valid: boolean;
                                            };
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            deleted?: void | undefined;
                                            end: number | null;
                                            invoice: string | null;
                                            invoice_item: string | null;
                                            promotion_code: string | {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                code: string;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                created: number;
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                expires_at: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                restrictions: {
                                                    currency_options?: {
                                                        [x: string]: {
                                                            minimum_amount: number;
                                                        };
                                                    } | undefined;
                                                    first_time_transaction: boolean;
                                                    minimum_amount: number | null;
                                                    minimum_amount_currency: string | null;
                                                };
                                                times_redeemed: number;
                                            } | null;
                                            start: number;
                                            subscription: string | null;
                                            subscription_item: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            checkout_session: string | null;
                                            coupon: {
                                                id: string;
                                                object: string;
                                                amount_off: number | null;
                                                applies_to?: {
                                                    products: Array<string>;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                currency_options?: {
                                                    [x: string]: {
                                                        amount_off: number;
                                                    };
                                                } | undefined;
                                                deleted?: void | undefined;
                                                duration: string;
                                                duration_in_months: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                percent_off: number | null;
                                                redeem_by: number | null;
                                                times_redeemed: number;
                                                valid: boolean;
                                            };
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            deleted: boolean;
                                            invoice: string | null;
                                            invoice_item: string | null;
                                            promotion_code: string | {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                code: string;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                created: number;
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                expires_at: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                restrictions: {
                                                    currency_options?: {
                                                        [x: string]: {
                                                            minimum_amount: number;
                                                        };
                                                    } | undefined;
                                                    first_time_transaction: boolean;
                                                    minimum_amount: number | null;
                                                    minimum_amount_currency: string | null;
                                                };
                                                times_redeemed: number;
                                            } | null;
                                            start: number;
                                            subscription: string | null;
                                            subscription_item: string | null;
                                        })[];
                                        due_date: number | null;
                                        effective_at: number | null;
                                        ending_balance: number | null;
                                        footer: string | null;
                                        from_invoice: {
                                            action: string;
                                            invoice: string | any;
                                        } | null;
                                        hosted_invoice_url?: (string | null) | undefined;
                                        invoice_pdf?: (string | null) | undefined;
                                        issuer: {
                                            account?: string | any | undefined;
                                            type: string;
                                        };
                                        last_finalization_error: {
                                            charge?: string | undefined;
                                            code?: string | undefined;
                                            decline_code?: string | undefined;
                                            doc_url?: string | undefined;
                                            message?: string | undefined;
                                            param?: string | undefined;
                                            payment_intent?: {
                                                id: string;
                                                object: string;
                                                amount: number;
                                                amount_capturable: number;
                                                amount_details?: any | undefined;
                                                amount_received: number;
                                                application: string | {
                                                    id: string;
                                                    object: string;
                                                    deleted?: void | undefined;
                                                    name: string | null;
                                                } | null;
                                                application_fee_amount: number | null;
                                                automatic_payment_methods: any | null;
                                                canceled_at: number | null;
                                                cancellation_reason: string | null;
                                                capture_method: string;
                                                client_secret: string | null;
                                                confirmation_method: string;
                                                created: number;
                                                currency: string;
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                description: string | null;
                                                invoice: string | any | null;
                                                last_payment_error: any | null;
                                                latest_charge: string | any | null;
                                                livemode: boolean;
                                                metadata: {
                                                    [x: string]: string;
                                                };
                                                next_action: any | null;
                                                on_behalf_of: string | any | null;
                                                payment_method: string | any | null;
                                                payment_method_configuration_details: any | null;
                                                payment_method_options: any | null;
                                                payment_method_types: Array<string>;
                                                processing: any | null;
                                                receipt_email: string | null;
                                                review: string | any | null;
                                                setup_future_usage: string | null;
                                                shipping: any | null;
                                                source: string | any | any | {
                                                    id: string;
                                                    object: string;
                                                    account?: string | any | null | undefined;
                                                    address_city: string | null;
                                                    address_country: string | null;
                                                    address_line1: string | null;
                                                    address_line1_check: string | null;
                                                    address_line2: string | null;
                                                    address_state: string | null;
                                                    address_zip: string | null;
                                                    address_zip_check: string | null;
                                                    available_payout_methods?: string[] | null | undefined;
                                                    brand: string;
                                                    country: string | null;
                                                    currency?: (string | null) | undefined;
                                                    customer?: string | any | {
                                                        id: string;
                                                        object: string;
                                                        deleted: boolean;
                                                    } | null | undefined;
                                                    cvc_check: string | null;
                                                    default_for_currency?: (boolean | null) | undefined;
                                                    deleted?: void | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4: string | null;
                                                    exp_month: number;
                                                    exp_year: number;
                                                    fingerprint?: (string | null) | undefined;
                                                    funding: string;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4: string;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    networks?: {
                                                        preferred: string | null;
                                                    } | undefined;
                                                    status?: (string | null) | undefined;
                                                    tokenization_method: string | null;
                                                } | {
                                                    id: string;
                                                    object: string;
                                                    ach_credit_transfer?: {
                                                        account_number?: (string | null) | undefined;
                                                        bank_name?: (string | null) | undefined;
                                                        fingerprint?: (string | null) | undefined;
                                                        refund_account_holder_name?: (string | null) | undefined;
                                                        refund_account_holder_type?: (string | null) | undefined;
                                                        refund_routing_number?: (string | null) | undefined;
                                                        routing_number?: (string | null) | undefined;
                                                        swift_code?: (string | null) | undefined;
                                                    } | undefined;
                                                    ach_debit?: {
                                                        bank_name?: (string | null) | undefined;
                                                        country?: (string | null) | undefined;
                                                        fingerprint?: (string | null) | undefined;
                                                        last4?: (string | null) | undefined;
                                                        routing_number?: (string | null) | undefined;
                                                        type?: (string | null) | undefined;
                                                    } | undefined;
                                                    acss_debit?: {
                                                        bank_address_city?: (string | null) | undefined;
                                                        bank_address_line_1?: (string | null) | undefined;
                                                        bank_address_line_2?: (string | null) | undefined;
                                                        bank_address_postal_code?: (string | null) | undefined;
                                                        bank_name?: (string | null) | undefined;
                                                        category?: (string | null) | undefined;
                                                        country?: (string | null) | undefined;
                                                        fingerprint?: (string | null) | undefined;
                                                        last4?: (string | null) | undefined;
                                                        routing_number?: (string | null) | undefined;
                                                    } | undefined;
                                                    alipay?: {
                                                        data_string?: (string | null) | undefined;
                                                        native_url?: (string | null) | undefined;
                                                        statement_descriptor?: (string | null) | undefined;
                                                    } | undefined;
                                                    amount: number | null;
                                                    au_becs_debit?: {
                                                        bsb_number?: (string | null) | undefined;
                                                        fingerprint?: (string | null) | undefined;
                                                        last4?: (string | null) | undefined;
                                                    } | undefined;
                                                    bancontact?: {
                                                        bank_code?: (string | null) | undefined;
                                                        bank_name?: (string | null) | undefined;
                                                        bic?: (string | null) | undefined;
                                                        iban_last4?: (string | null) | undefined;
                                                        preferred_language?: (string | null) | undefined;
                                                        statement_descriptor?: (string | null) | undefined;
                                                    } | undefined;
                                                    card?: {
                                                        address_line1_check?: (string | null) | undefined;
                                                        address_zip_check?: (string | null) | undefined;
                                                        brand?: (string | null) | undefined;
                                                        country?: (string | null) | undefined;
                                                        cvc_check?: (string | null) | undefined;
                                                        description?: string | undefined;
                                                        dynamic_last4?: (string | null) | undefined;
                                                        exp_month?: (number | null) | undefined;
                                                        exp_year?: (number | null) | undefined;
                                                        fingerprint?: string | undefined;
                                                        funding?: (string | null) | undefined;
                                                        iin?: string | undefined;
                                                        issuer?: string | undefined;
                                                        last4?: (string | null) | undefined;
                                                        name?: (string | null) | undefined;
                                                        three_d_secure?: string | undefined;
                                                        tokenization_method?: (string | null) | undefined;
                                                    } | undefined;
                                                    card_present?: {
                                                        application_cryptogram?: string | undefined;
                                                        application_preferred_name?: string | undefined;
                                                        authorization_code?: (string | null) | undefined;
                                                        authorization_response_code?: string | undefined;
                                                        brand?: (string | null) | undefined;
                                                        country?: (string | null) | undefined;
                                                        cvm_type?: string | undefined;
                                                        data_type?: (string | null) | undefined;
                                                        dedicated_file_name?: string | undefined;
                                                        description?: string | undefined;
                                                        emv_auth_data?: string | undefined;
                                                        evidence_customer_signature?: (string | null) | undefined;
                                                        evidence_transaction_certificate?: (string | null) | undefined;
                                                        exp_month?: (number | null) | undefined;
                                                        exp_year?: (number | null) | undefined;
                                                        fingerprint?: string | undefined;
                                                        funding?: (string | null) | undefined;
                                                        iin?: string | undefined;
                                                        issuer?: string | undefined;
                                                        last4?: (string | null) | undefined;
                                                        pos_device_id?: (string | null) | undefined;
                                                        pos_entry_mode?: string | undefined;
                                                        read_method?: (string | null) | undefined;
                                                        reader?: (string | null) | undefined;
                                                        terminal_verification_results?: string | undefined;
                                                        transaction_status_information?: string | undefined;
                                                    } | undefined;
                                                    client_secret: string;
                                                    code_verification?: {
                                                        attempts_remaining: number;
                                                        status: string;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    customer?: string | undefined;
                                                    eps?: {
                                                        reference?: (string | null) | undefined;
                                                        statement_descriptor?: (string | null) | undefined;
                                                    } | undefined;
                                                    flow: string;
                                                    giropay?: {
                                                        bank_code?: (string | null) | undefined;
                                                        bank_name?: (string | null) | undefined;
                                                        bic?: (string | null) | undefined;
                                                        statement_descriptor?: (string | null) | undefined;
                                                    } | undefined;
                                                    ideal?: {
                                                        bank?: (string | null) | undefined;
                                                        bic?: (string | null) | undefined;
                                                        iban_last4?: (string | null) | undefined;
                                                        statement_descriptor?: (string | null) | undefined;
                                                    } | undefined;
                                                    klarna?: {
                                                        background_image_url?: string | undefined;
                                                        client_token?: (string | null) | undefined;
                                                        first_name?: string | undefined;
                                                        last_name?: string | undefined;
                                                        locale?: string | undefined;
                                                        logo_url?: string | undefined;
                                                        page_title?: string | undefined;
                                                        pay_later_asset_urls_descriptive?: string | undefined;
                                                        pay_later_asset_urls_standard?: string | undefined;
                                                        pay_later_name?: string | undefined;
                                                        pay_later_redirect_url?: string | undefined;
                                                        pay_now_asset_urls_descriptive?: string | undefined;
                                                        pay_now_asset_urls_standard?: string | undefined;
                                                        pay_now_name?: string | undefined;
                                                        pay_now_redirect_url?: string | undefined;
                                                        pay_over_time_asset_urls_descriptive?: string | undefined;
                                                        pay_over_time_asset_urls_standard?: string | undefined;
                                                        pay_over_time_name?: string | undefined;
                                                        pay_over_time_redirect_url?: string | undefined;
                                                        payment_method_categories?: string | undefined;
                                                        purchase_country?: string | undefined;
                                                        purchase_type?: string | undefined;
                                                        redirect_url?: string | undefined;
                                                        shipping_delay?: number | undefined;
                                                        shipping_first_name?: string | undefined;
                                                        shipping_last_name?: string | undefined;
                                                    } | undefined;
                                                    livemode: boolean;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    multibanco?: {
                                                        entity?: (string | null) | undefined;
                                                        reference?: (string | null) | undefined;
                                                        refund_account_holder_address_city?: (string | null) | undefined;
                                                        refund_account_holder_address_country?: (string | null) | undefined;
                                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                        refund_account_holder_address_state?: (string | null) | undefined;
                                                        refund_account_holder_name?: (string | null) | undefined;
                                                        refund_iban?: (string | null) | undefined;
                                                    } | undefined;
                                                    owner: {
                                                        address: {
                                                            city: string | null;
                                                            country: string | null;
                                                            line1: string | null;
                                                            line2: string | null;
                                                            postal_code: string | null;
                                                            state: string | null;
                                                        } | null;
                                                        email: string | null;
                                                        name: string | null;
                                                        phone: string | null;
                                                        verified_address: {
                                                            city: string | null;
                                                            country: string | null;
                                                            line1: string | null;
                                                            line2: string | null;
                                                            postal_code: string | null;
                                                            state: string | null;
                                                        } | null;
                                                        verified_email: string | null;
                                                        verified_name: string | null;
                                                        verified_phone: string | null;
                                                    } | null;
                                                    p24?: {
                                                        reference?: (string | null) | undefined;
                                                    } | undefined;
                                                    receiver?: {
                                                        address: string | null;
                                                        amount_charged: number;
                                                        amount_received: number;
                                                        amount_returned: number;
                                                        refund_attributes_method: string;
                                                        refund_attributes_status: string;
                                                    } | undefined;
                                                    redirect?: {
                                                        failure_reason: string | null;
                                                        return_url: string;
                                                        status: string;
                                                        url: string;
                                                    } | undefined;
                                                    sepa_credit_transfer?: {
                                                        bank_name?: (string | null) | undefined;
                                                        bic?: (string | null) | undefined;
                                                        iban?: (string | null) | undefined;
                                                        refund_account_holder_address_city?: (string | null) | undefined;
                                                        refund_account_holder_address_country?: (string | null) | undefined;
                                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                        refund_account_holder_address_state?: (string | null) | undefined;
                                                        refund_account_holder_name?: (string | null) | undefined;
                                                        refund_iban?: (string | null) | undefined;
                                                    } | undefined;
                                                    sepa_debit?: {
                                                        bank_code?: (string | null) | undefined;
                                                        branch_code?: (string | null) | undefined;
                                                        country?: (string | null) | undefined;
                                                        fingerprint?: (string | null) | undefined;
                                                        last4?: (string | null) | undefined;
                                                        mandate_reference?: (string | null) | undefined;
                                                        mandate_url?: (string | null) | undefined;
                                                    } | undefined;
                                                    sofort?: {
                                                        bank_code?: (string | null) | undefined;
                                                        bank_name?: (string | null) | undefined;
                                                        bic?: (string | null) | undefined;
                                                        country?: (string | null) | undefined;
                                                        iban_last4?: (string | null) | undefined;
                                                        preferred_language?: (string | null) | undefined;
                                                        statement_descriptor?: (string | null) | undefined;
                                                    } | undefined;
                                                    source_order?: {
                                                        amount: number;
                                                        currency: string;
                                                        email?: string | undefined;
                                                        items: {
                                                            amount: number | null;
                                                            currency: string | null;
                                                            description: string | null;
                                                            parent: string | null;
                                                            quantity?: number | undefined;
                                                            type: string | null;
                                                        }[] | null;
                                                        shipping?: {
                                                            address?: {
                                                                city: string | null;
                                                                country: string | null;
                                                                line1: string | null;
                                                                line2: string | null;
                                                                postal_code: string | null;
                                                                state: string | null;
                                                            } | undefined;
                                                            carrier?: (string | null) | undefined;
                                                            name?: string | undefined;
                                                            phone?: (string | null) | undefined;
                                                            tracking_number?: (string | null) | undefined;
                                                        } | undefined;
                                                    } | undefined;
                                                    statement_descriptor: string | null;
                                                    status: string;
                                                    three_d_secure?: {
                                                        address_line1_check?: (string | null) | undefined;
                                                        address_zip_check?: (string | null) | undefined;
                                                        authenticated?: (boolean | null) | undefined;
                                                        brand?: (string | null) | undefined;
                                                        card?: (string | null) | undefined;
                                                        country?: (string | null) | undefined;
                                                        customer?: (string | null) | undefined;
                                                        cvc_check?: (string | null) | undefined;
                                                        description?: string | undefined;
                                                        dynamic_last4?: (string | null) | undefined;
                                                        exp_month?: (number | null) | undefined;
                                                        exp_year?: (number | null) | undefined;
                                                        fingerprint?: string | undefined;
                                                        funding?: (string | null) | undefined;
                                                        iin?: string | undefined;
                                                        issuer?: string | undefined;
                                                        last4?: (string | null) | undefined;
                                                        name?: (string | null) | undefined;
                                                        three_d_secure?: string | undefined;
                                                        tokenization_method?: (string | null) | undefined;
                                                    } | undefined;
                                                    type: string;
                                                    usage: string | null;
                                                    wechat?: {
                                                        prepay_id?: string | undefined;
                                                        qr_code_url?: (string | null) | undefined;
                                                        statement_descriptor?: string | undefined;
                                                    } | undefined;
                                                } | any | any | null;
                                                statement_descriptor: string | null;
                                                statement_descriptor_suffix: string | null;
                                                status: string;
                                                transfer_data: any | null;
                                                transfer_group: string | null;
                                            } | undefined;
                                            payment_method?: any | undefined;
                                            payment_method_type?: string | undefined;
                                            request_log_url?: string | undefined;
                                            setup_intent?: {
                                                id: string;
                                                object: string;
                                                application: string | {
                                                    id: string;
                                                    object: string;
                                                    deleted?: void | undefined;
                                                    name: string | null;
                                                } | null;
                                                attach_to_self?: boolean | undefined;
                                                automatic_payment_methods: any | null;
                                                cancellation_reason: string | null;
                                                client_secret: string | null;
                                                created: number;
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                description: string | null;
                                                flow_directions: string[] | null;
                                                last_setup_error: any | null;
                                                latest_attempt: string | any | null;
                                                livemode: boolean;
                                                mandate: string | any | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                next_action: any | null;
                                                on_behalf_of: string | any | null;
                                                payment_method: string | any | null;
                                                payment_method_configuration_details: any | null;
                                                payment_method_options: any | null;
                                                payment_method_types: Array<string>;
                                                single_use_mandate: string | any | null;
                                                status: string;
                                                usage: string;
                                            } | undefined;
                                            source?: any | any | {
                                                id: string;
                                                object: string;
                                                account?: string | any | null | undefined;
                                                address_city: string | null;
                                                address_country: string | null;
                                                address_line1: string | null;
                                                address_line1_check: string | null;
                                                address_line2: string | null;
                                                address_state: string | null;
                                                address_zip: string | null;
                                                address_zip_check: string | null;
                                                available_payout_methods?: string[] | null | undefined;
                                                brand: string;
                                                country: string | null;
                                                currency?: (string | null) | undefined;
                                                customer?: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null | undefined;
                                                cvc_check: string | null;
                                                default_for_currency?: (boolean | null) | undefined;
                                                deleted?: void | undefined;
                                                description?: string | undefined;
                                                dynamic_last4: string | null;
                                                exp_month: number;
                                                exp_year: number;
                                                fingerprint?: (string | null) | undefined;
                                                funding: string;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4: string;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                networks?: {
                                                    preferred: string | null;
                                                } | undefined;
                                                status?: (string | null) | undefined;
                                                tokenization_method: string | null;
                                            } | {
                                                id: string;
                                                object: string;
                                                ach_credit_transfer?: {
                                                    account_number?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_account_holder_type?: (string | null) | undefined;
                                                    refund_routing_number?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    swift_code?: (string | null) | undefined;
                                                } | undefined;
                                                ach_debit?: {
                                                    bank_name?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    type?: (string | null) | undefined;
                                                } | undefined;
                                                acss_debit?: {
                                                    bank_address_city?: (string | null) | undefined;
                                                    bank_address_line_1?: (string | null) | undefined;
                                                    bank_address_line_2?: (string | null) | undefined;
                                                    bank_address_postal_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    category?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                } | undefined;
                                                alipay?: {
                                                    data_string?: (string | null) | undefined;
                                                    native_url?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                amount: number | null;
                                                au_becs_debit?: {
                                                    bsb_number?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                } | undefined;
                                                bancontact?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                card?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                card_present?: {
                                                    application_cryptogram?: string | undefined;
                                                    application_preferred_name?: string | undefined;
                                                    authorization_code?: (string | null) | undefined;
                                                    authorization_response_code?: string | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvm_type?: string | undefined;
                                                    data_type?: (string | null) | undefined;
                                                    dedicated_file_name?: string | undefined;
                                                    description?: string | undefined;
                                                    emv_auth_data?: string | undefined;
                                                    evidence_customer_signature?: (string | null) | undefined;
                                                    evidence_transaction_certificate?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    pos_device_id?: (string | null) | undefined;
                                                    pos_entry_mode?: string | undefined;
                                                    read_method?: (string | null) | undefined;
                                                    reader?: (string | null) | undefined;
                                                    terminal_verification_results?: string | undefined;
                                                    transaction_status_information?: string | undefined;
                                                } | undefined;
                                                client_secret: string;
                                                code_verification?: {
                                                    attempts_remaining: number;
                                                    status: string;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                customer?: string | undefined;
                                                eps?: {
                                                    reference?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                flow: string;
                                                giropay?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                ideal?: {
                                                    bank?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                klarna?: {
                                                    background_image_url?: string | undefined;
                                                    client_token?: (string | null) | undefined;
                                                    first_name?: string | undefined;
                                                    last_name?: string | undefined;
                                                    locale?: string | undefined;
                                                    logo_url?: string | undefined;
                                                    page_title?: string | undefined;
                                                    pay_later_asset_urls_descriptive?: string | undefined;
                                                    pay_later_asset_urls_standard?: string | undefined;
                                                    pay_later_name?: string | undefined;
                                                    pay_later_redirect_url?: string | undefined;
                                                    pay_now_asset_urls_descriptive?: string | undefined;
                                                    pay_now_asset_urls_standard?: string | undefined;
                                                    pay_now_name?: string | undefined;
                                                    pay_now_redirect_url?: string | undefined;
                                                    pay_over_time_asset_urls_descriptive?: string | undefined;
                                                    pay_over_time_asset_urls_standard?: string | undefined;
                                                    pay_over_time_name?: string | undefined;
                                                    pay_over_time_redirect_url?: string | undefined;
                                                    payment_method_categories?: string | undefined;
                                                    purchase_country?: string | undefined;
                                                    purchase_type?: string | undefined;
                                                    redirect_url?: string | undefined;
                                                    shipping_delay?: number | undefined;
                                                    shipping_first_name?: string | undefined;
                                                    shipping_last_name?: string | undefined;
                                                } | undefined;
                                                livemode: boolean;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                multibanco?: {
                                                    entity?: (string | null) | undefined;
                                                    reference?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                owner: {
                                                    address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    email: string | null;
                                                    name: string | null;
                                                    phone: string | null;
                                                    verified_address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    verified_email: string | null;
                                                    verified_name: string | null;
                                                    verified_phone: string | null;
                                                } | null;
                                                p24?: {
                                                    reference?: (string | null) | undefined;
                                                } | undefined;
                                                receiver?: {
                                                    address: string | null;
                                                    amount_charged: number;
                                                    amount_received: number;
                                                    amount_returned: number;
                                                    refund_attributes_method: string;
                                                    refund_attributes_status: string;
                                                } | undefined;
                                                redirect?: {
                                                    failure_reason: string | null;
                                                    return_url: string;
                                                    status: string;
                                                    url: string;
                                                } | undefined;
                                                sepa_credit_transfer?: {
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                sepa_debit?: {
                                                    bank_code?: (string | null) | undefined;
                                                    branch_code?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    mandate_reference?: (string | null) | undefined;
                                                    mandate_url?: (string | null) | undefined;
                                                } | undefined;
                                                sofort?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                source_order?: {
                                                    amount: number;
                                                    currency: string;
                                                    email?: string | undefined;
                                                    items: {
                                                        amount: number | null;
                                                        currency: string | null;
                                                        description: string | null;
                                                        parent: string | null;
                                                        quantity?: number | undefined;
                                                        type: string | null;
                                                    }[] | null;
                                                    shipping?: {
                                                        address?: {
                                                            city: string | null;
                                                            country: string | null;
                                                            line1: string | null;
                                                            line2: string | null;
                                                            postal_code: string | null;
                                                            state: string | null;
                                                        } | undefined;
                                                        carrier?: (string | null) | undefined;
                                                        name?: string | undefined;
                                                        phone?: (string | null) | undefined;
                                                        tracking_number?: (string | null) | undefined;
                                                    } | undefined;
                                                } | undefined;
                                                statement_descriptor: string | null;
                                                status: string;
                                                three_d_secure?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    authenticated?: (boolean | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    card?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    customer?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                type: string;
                                                usage: string | null;
                                                wechat?: {
                                                    prepay_id?: string | undefined;
                                                    qr_code_url?: (string | null) | undefined;
                                                    statement_descriptor?: string | undefined;
                                                } | undefined;
                                            } | undefined;
                                            type: string;
                                        } | null;
                                        latest_revision: string | any | null;
                                        lines: {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            amount_excluding_tax: number | null;
                                            currency: string;
                                            description: string | null;
                                            discount_amounts: any[] | null;
                                            discountable: boolean;
                                            discounts: (string | {
                                                id: string;
                                                object: string;
                                                checkout_session: string | null;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                deleted?: void | undefined;
                                                end: number | null;
                                                invoice: string | null;
                                                invoice_item: string | null;
                                                promotion_code: string | {
                                                    id: string;
                                                    object: string;
                                                    active: boolean;
                                                    code: string;
                                                    coupon: {
                                                        id: string;
                                                        object: string;
                                                        amount_off: number | null;
                                                        applies_to?: {
                                                            products: Array<string>;
                                                        } | undefined;
                                                        created: number;
                                                        currency: string | null;
                                                        currency_options?: {
                                                            [x: string]: {
                                                                amount_off: number;
                                                            };
                                                        } | undefined;
                                                        deleted?: void | undefined;
                                                        duration: string;
                                                        duration_in_months: number | null;
                                                        livemode: boolean;
                                                        max_redemptions: number | null;
                                                        metadata: {
                                                            [x: string]: string;
                                                        } | null;
                                                        name: string | null;
                                                        percent_off: number | null;
                                                        redeem_by: number | null;
                                                        times_redeemed: number;
                                                        valid: boolean;
                                                    };
                                                    created: number;
                                                    customer: string | any | {
                                                        id: string;
                                                        object: string;
                                                        deleted: boolean;
                                                    } | null;
                                                    expires_at: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    restrictions: {
                                                        currency_options?: {
                                                            [x: string]: {
                                                                minimum_amount: number;
                                                            };
                                                        } | undefined;
                                                        first_time_transaction: boolean;
                                                        minimum_amount: number | null;
                                                        minimum_amount_currency: string | null;
                                                    };
                                                    times_redeemed: number;
                                                } | null;
                                                start: number;
                                                subscription: string | null;
                                                subscription_item: string | null;
                                            })[];
                                            invoice: string | null;
                                            invoice_item?: string | any | undefined;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            };
                                            period: any;
                                            plan: any | null;
                                            pretax_credit_amounts?: any[] | null | undefined;
                                            price: any | null;
                                            proration: boolean;
                                            proration_details: any | null;
                                            quantity: number | null;
                                            subscription: string | any | null;
                                            subscription_item?: string | any | undefined;
                                            tax_amounts: any[];
                                            tax_rates: {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                country: string | null;
                                                created: number;
                                                description: string | null;
                                                display_name: string;
                                                effective_percentage: number | null;
                                                flat_amount: any | null;
                                                inclusive: boolean;
                                                jurisdiction: string | null;
                                                jurisdiction_level: string | null;
                                                livemode: boolean;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                percentage: number;
                                                rate_type: string | null;
                                                state: string | null;
                                                tax_type: string | null;
                                            }[];
                                            type: string;
                                            unit_amount_excluding_tax: string | null;
                                        }[];
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        next_payment_attempt: number | null;
                                        number: string | null;
                                        on_behalf_of: string | any | null;
                                        paid: boolean;
                                        paid_out_of_band: boolean;
                                        payment_intent: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            amount_capturable: number;
                                            amount_details?: any | undefined;
                                            amount_received: number;
                                            application: string | {
                                                id: string;
                                                object: string;
                                                deleted?: void | undefined;
                                                name: string | null;
                                            } | null;
                                            application_fee_amount: number | null;
                                            automatic_payment_methods: any | null;
                                            canceled_at: number | null;
                                            cancellation_reason: string | null;
                                            capture_method: string;
                                            client_secret: string | null;
                                            confirmation_method: string;
                                            created: number;
                                            currency: string;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            description: string | null;
                                            invoice: string | any | null;
                                            last_payment_error: any | null;
                                            latest_charge: string | any | null;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            };
                                            next_action: any | null;
                                            on_behalf_of: string | any | null;
                                            payment_method: string | any | null;
                                            payment_method_configuration_details: any | null;
                                            payment_method_options: any | null;
                                            payment_method_types: Array<string>;
                                            processing: any | null;
                                            receipt_email: string | null;
                                            review: string | any | null;
                                            setup_future_usage: string | null;
                                            shipping: any | null;
                                            source: string | any | any | {
                                                id: string;
                                                object: string;
                                                account?: string | any | null | undefined;
                                                address_city: string | null;
                                                address_country: string | null;
                                                address_line1: string | null;
                                                address_line1_check: string | null;
                                                address_line2: string | null;
                                                address_state: string | null;
                                                address_zip: string | null;
                                                address_zip_check: string | null;
                                                available_payout_methods?: string[] | null | undefined;
                                                brand: string;
                                                country: string | null;
                                                currency?: (string | null) | undefined;
                                                customer?: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null | undefined;
                                                cvc_check: string | null;
                                                default_for_currency?: (boolean | null) | undefined;
                                                deleted?: void | undefined;
                                                description?: string | undefined;
                                                dynamic_last4: string | null;
                                                exp_month: number;
                                                exp_year: number;
                                                fingerprint?: (string | null) | undefined;
                                                funding: string;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4: string;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                networks?: {
                                                    preferred: string | null;
                                                } | undefined;
                                                status?: (string | null) | undefined;
                                                tokenization_method: string | null;
                                            } | {
                                                id: string;
                                                object: string;
                                                ach_credit_transfer?: {
                                                    account_number?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_account_holder_type?: (string | null) | undefined;
                                                    refund_routing_number?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    swift_code?: (string | null) | undefined;
                                                } | undefined;
                                                ach_debit?: {
                                                    bank_name?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    type?: (string | null) | undefined;
                                                } | undefined;
                                                acss_debit?: {
                                                    bank_address_city?: (string | null) | undefined;
                                                    bank_address_line_1?: (string | null) | undefined;
                                                    bank_address_line_2?: (string | null) | undefined;
                                                    bank_address_postal_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    category?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                } | undefined;
                                                alipay?: {
                                                    data_string?: (string | null) | undefined;
                                                    native_url?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                amount: number | null;
                                                au_becs_debit?: {
                                                    bsb_number?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                } | undefined;
                                                bancontact?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                card?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                card_present?: {
                                                    application_cryptogram?: string | undefined;
                                                    application_preferred_name?: string | undefined;
                                                    authorization_code?: (string | null) | undefined;
                                                    authorization_response_code?: string | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvm_type?: string | undefined;
                                                    data_type?: (string | null) | undefined;
                                                    dedicated_file_name?: string | undefined;
                                                    description?: string | undefined;
                                                    emv_auth_data?: string | undefined;
                                                    evidence_customer_signature?: (string | null) | undefined;
                                                    evidence_transaction_certificate?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    pos_device_id?: (string | null) | undefined;
                                                    pos_entry_mode?: string | undefined;
                                                    read_method?: (string | null) | undefined;
                                                    reader?: (string | null) | undefined;
                                                    terminal_verification_results?: string | undefined;
                                                    transaction_status_information?: string | undefined;
                                                } | undefined;
                                                client_secret: string;
                                                code_verification?: {
                                                    attempts_remaining: number;
                                                    status: string;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                customer?: string | undefined;
                                                eps?: {
                                                    reference?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                flow: string;
                                                giropay?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                ideal?: {
                                                    bank?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                klarna?: {
                                                    background_image_url?: string | undefined;
                                                    client_token?: (string | null) | undefined;
                                                    first_name?: string | undefined;
                                                    last_name?: string | undefined;
                                                    locale?: string | undefined;
                                                    logo_url?: string | undefined;
                                                    page_title?: string | undefined;
                                                    pay_later_asset_urls_descriptive?: string | undefined;
                                                    pay_later_asset_urls_standard?: string | undefined;
                                                    pay_later_name?: string | undefined;
                                                    pay_later_redirect_url?: string | undefined;
                                                    pay_now_asset_urls_descriptive?: string | undefined;
                                                    pay_now_asset_urls_standard?: string | undefined;
                                                    pay_now_name?: string | undefined;
                                                    pay_now_redirect_url?: string | undefined;
                                                    pay_over_time_asset_urls_descriptive?: string | undefined;
                                                    pay_over_time_asset_urls_standard?: string | undefined;
                                                    pay_over_time_name?: string | undefined;
                                                    pay_over_time_redirect_url?: string | undefined;
                                                    payment_method_categories?: string | undefined;
                                                    purchase_country?: string | undefined;
                                                    purchase_type?: string | undefined;
                                                    redirect_url?: string | undefined;
                                                    shipping_delay?: number | undefined;
                                                    shipping_first_name?: string | undefined;
                                                    shipping_last_name?: string | undefined;
                                                } | undefined;
                                                livemode: boolean;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                multibanco?: {
                                                    entity?: (string | null) | undefined;
                                                    reference?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                owner: {
                                                    address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    email: string | null;
                                                    name: string | null;
                                                    phone: string | null;
                                                    verified_address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    verified_email: string | null;
                                                    verified_name: string | null;
                                                    verified_phone: string | null;
                                                } | null;
                                                p24?: {
                                                    reference?: (string | null) | undefined;
                                                } | undefined;
                                                receiver?: {
                                                    address: string | null;
                                                    amount_charged: number;
                                                    amount_received: number;
                                                    amount_returned: number;
                                                    refund_attributes_method: string;
                                                    refund_attributes_status: string;
                                                } | undefined;
                                                redirect?: {
                                                    failure_reason: string | null;
                                                    return_url: string;
                                                    status: string;
                                                    url: string;
                                                } | undefined;
                                                sepa_credit_transfer?: {
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                sepa_debit?: {
                                                    bank_code?: (string | null) | undefined;
                                                    branch_code?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    mandate_reference?: (string | null) | undefined;
                                                    mandate_url?: (string | null) | undefined;
                                                } | undefined;
                                                sofort?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                source_order?: {
                                                    amount: number;
                                                    currency: string;
                                                    email?: string | undefined;
                                                    items: {
                                                        amount: number | null;
                                                        currency: string | null;
                                                        description: string | null;
                                                        parent: string | null;
                                                        quantity?: number | undefined;
                                                        type: string | null;
                                                    }[] | null;
                                                    shipping?: {
                                                        address?: {
                                                            city: string | null;
                                                            country: string | null;
                                                            line1: string | null;
                                                            line2: string | null;
                                                            postal_code: string | null;
                                                            state: string | null;
                                                        } | undefined;
                                                        carrier?: (string | null) | undefined;
                                                        name?: string | undefined;
                                                        phone?: (string | null) | undefined;
                                                        tracking_number?: (string | null) | undefined;
                                                    } | undefined;
                                                } | undefined;
                                                statement_descriptor: string | null;
                                                status: string;
                                                three_d_secure?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    authenticated?: (boolean | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    card?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    customer?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                type: string;
                                                usage: string | null;
                                                wechat?: {
                                                    prepay_id?: string | undefined;
                                                    qr_code_url?: (string | null) | undefined;
                                                    statement_descriptor?: string | undefined;
                                                } | undefined;
                                            } | any | any | null;
                                            statement_descriptor: string | null;
                                            statement_descriptor_suffix: string | null;
                                            status: string;
                                            transfer_data: any | null;
                                            transfer_group: string | null;
                                        } | null;
                                        payment_settings: {
                                            default_mandate: string | null;
                                            payment_method_options: any | null;
                                            payment_method_types: string[] | null;
                                        };
                                        period_end: number;
                                        period_start: number;
                                        post_payment_credit_notes_amount: number;
                                        pre_payment_credit_notes_amount: number;
                                        quote: string | {
                                            id: string;
                                            object: string;
                                            amount_subtotal: number;
                                            amount_total: number;
                                            application: string | {
                                                id: string;
                                                object: string;
                                                deleted?: void | undefined;
                                                name: string | null;
                                            } | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                                name: string | null;
                                            } | null;
                                            application_fee_amount: number | null;
                                            application_fee_percent: number | null;
                                            automatic_tax: any;
                                            collection_method: string;
                                            computed: any;
                                            created: number;
                                            currency: string | null;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            default_tax_rates?: (string | {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                country: string | null;
                                                created: number;
                                                description: string | null;
                                                display_name: string;
                                                effective_percentage: number | null;
                                                flat_amount: any | null;
                                                inclusive: boolean;
                                                jurisdiction: string | null;
                                                jurisdiction_level: string | null;
                                                livemode: boolean;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                percentage: number;
                                                rate_type: string | null;
                                                state: string | null;
                                                tax_type: string | null;
                                            })[] | undefined;
                                            description: string | null;
                                            discounts: (string | {
                                                id: string;
                                                object: string;
                                                checkout_session: string | null;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                deleted?: void | undefined;
                                                end: number | null;
                                                invoice: string | null;
                                                invoice_item: string | null;
                                                promotion_code: string | {
                                                    id: string;
                                                    object: string;
                                                    active: boolean;
                                                    code: string;
                                                    coupon: {
                                                        id: string;
                                                        object: string;
                                                        amount_off: number | null;
                                                        applies_to?: {
                                                            products: Array<string>;
                                                        } | undefined;
                                                        created: number;
                                                        currency: string | null;
                                                        currency_options?: {
                                                            [x: string]: {
                                                                amount_off: number;
                                                            };
                                                        } | undefined;
                                                        deleted?: void | undefined;
                                                        duration: string;
                                                        duration_in_months: number | null;
                                                        livemode: boolean;
                                                        max_redemptions: number | null;
                                                        metadata: {
                                                            [x: string]: string;
                                                        } | null;
                                                        name: string | null;
                                                        percent_off: number | null;
                                                        redeem_by: number | null;
                                                        times_redeemed: number;
                                                        valid: boolean;
                                                    };
                                                    created: number;
                                                    customer: string | any | {
                                                        id: string;
                                                        object: string;
                                                        deleted: boolean;
                                                    } | null;
                                                    expires_at: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    restrictions: {
                                                        currency_options?: {
                                                            [x: string]: {
                                                                minimum_amount: number;
                                                            };
                                                        } | undefined;
                                                        first_time_transaction: boolean;
                                                        minimum_amount: number | null;
                                                        minimum_amount_currency: string | null;
                                                    };
                                                    times_redeemed: number;
                                                } | null;
                                                start: number;
                                                subscription: string | null;
                                                subscription_item: string | null;
                                            })[];
                                            expires_at: number;
                                            footer: string | null;
                                            from_quote: any | null;
                                            header: string | null;
                                            invoice: string | any | any | null;
                                            invoice_settings: any;
                                            line_items?: any[] | undefined;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            };
                                            number: string | null;
                                            on_behalf_of: string | any | null;
                                            status: string;
                                            status_transitions: any;
                                            subscription: string | any | null;
                                            subscription_data: any;
                                            subscription_schedule: string | any | null;
                                            test_clock: string | any | null;
                                            total_details: any;
                                            transfer_data: any | null;
                                        } | null;
                                        receipt_number: string | null;
                                        rendering: {
                                            amount_tax_display: string | null;
                                            pdf: any | null;
                                            template: string | null;
                                            template_version: number | null;
                                        } | null;
                                        shipping_cost: {
                                            amount_subtotal: number;
                                            amount_tax: number;
                                            amount_total: number;
                                            shipping_rate: string | any | null;
                                            taxes?: any[] | undefined;
                                        } | null;
                                        shipping_details: {
                                            address?: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | undefined;
                                            carrier?: (string | null) | undefined;
                                            name?: string | undefined;
                                            phone?: (string | null) | undefined;
                                            tracking_number?: (string | null) | undefined;
                                        } | null;
                                        starting_balance: number;
                                        statement_descriptor: string | null;
                                        status: string | null;
                                        status_transitions: {
                                            finalized_at: number | null;
                                            marked_uncollectible_at: number | null;
                                            paid_at: number | null;
                                            voided_at: number | null;
                                        };
                                        subscription: string | {
                                            id: string;
                                            object: string;
                                            application: string | {
                                                id: string;
                                                object: string;
                                                deleted?: void | undefined;
                                                name: string | null;
                                            } | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                                name: string | null;
                                            } | null;
                                            application_fee_percent: number | null;
                                            automatic_tax: any;
                                            billing_cycle_anchor: number;
                                            billing_cycle_anchor_config: any | null;
                                            billing_thresholds: any | null;
                                            cancel_at: number | null;
                                            cancel_at_period_end: boolean;
                                            canceled_at: number | null;
                                            cancellation_details: any | null;
                                            collection_method: string;
                                            created: number;
                                            currency: string;
                                            current_period_end: number;
                                            current_period_start: number;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            };
                                            days_until_due: number | null;
                                            default_payment_method: string | any | null;
                                            default_source: string | any | any | {
                                                id: string;
                                                object: string;
                                                account?: string | any | null | undefined;
                                                address_city: string | null;
                                                address_country: string | null;
                                                address_line1: string | null;
                                                address_line1_check: string | null;
                                                address_line2: string | null;
                                                address_state: string | null;
                                                address_zip: string | null;
                                                address_zip_check: string | null;
                                                available_payout_methods?: string[] | null | undefined;
                                                brand: string;
                                                country: string | null;
                                                currency?: (string | null) | undefined;
                                                customer?: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null | undefined;
                                                cvc_check: string | null;
                                                default_for_currency?: (boolean | null) | undefined;
                                                deleted?: void | undefined;
                                                description?: string | undefined;
                                                dynamic_last4: string | null;
                                                exp_month: number;
                                                exp_year: number;
                                                fingerprint?: (string | null) | undefined;
                                                funding: string;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4: string;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                networks?: {
                                                    preferred: string | null;
                                                } | undefined;
                                                status?: (string | null) | undefined;
                                                tokenization_method: string | null;
                                            } | {
                                                id: string;
                                                object: string;
                                                ach_credit_transfer?: {
                                                    account_number?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_account_holder_type?: (string | null) | undefined;
                                                    refund_routing_number?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    swift_code?: (string | null) | undefined;
                                                } | undefined;
                                                ach_debit?: {
                                                    bank_name?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    type?: (string | null) | undefined;
                                                } | undefined;
                                                acss_debit?: {
                                                    bank_address_city?: (string | null) | undefined;
                                                    bank_address_line_1?: (string | null) | undefined;
                                                    bank_address_line_2?: (string | null) | undefined;
                                                    bank_address_postal_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    category?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                } | undefined;
                                                alipay?: {
                                                    data_string?: (string | null) | undefined;
                                                    native_url?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                amount: number | null;
                                                au_becs_debit?: {
                                                    bsb_number?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                } | undefined;
                                                bancontact?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                card?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                card_present?: {
                                                    application_cryptogram?: string | undefined;
                                                    application_preferred_name?: string | undefined;
                                                    authorization_code?: (string | null) | undefined;
                                                    authorization_response_code?: string | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvm_type?: string | undefined;
                                                    data_type?: (string | null) | undefined;
                                                    dedicated_file_name?: string | undefined;
                                                    description?: string | undefined;
                                                    emv_auth_data?: string | undefined;
                                                    evidence_customer_signature?: (string | null) | undefined;
                                                    evidence_transaction_certificate?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    pos_device_id?: (string | null) | undefined;
                                                    pos_entry_mode?: string | undefined;
                                                    read_method?: (string | null) | undefined;
                                                    reader?: (string | null) | undefined;
                                                    terminal_verification_results?: string | undefined;
                                                    transaction_status_information?: string | undefined;
                                                } | undefined;
                                                client_secret: string;
                                                code_verification?: {
                                                    attempts_remaining: number;
                                                    status: string;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                customer?: string | undefined;
                                                eps?: {
                                                    reference?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                flow: string;
                                                giropay?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                ideal?: {
                                                    bank?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                klarna?: {
                                                    background_image_url?: string | undefined;
                                                    client_token?: (string | null) | undefined;
                                                    first_name?: string | undefined;
                                                    last_name?: string | undefined;
                                                    locale?: string | undefined;
                                                    logo_url?: string | undefined;
                                                    page_title?: string | undefined;
                                                    pay_later_asset_urls_descriptive?: string | undefined;
                                                    pay_later_asset_urls_standard?: string | undefined;
                                                    pay_later_name?: string | undefined;
                                                    pay_later_redirect_url?: string | undefined;
                                                    pay_now_asset_urls_descriptive?: string | undefined;
                                                    pay_now_asset_urls_standard?: string | undefined;
                                                    pay_now_name?: string | undefined;
                                                    pay_now_redirect_url?: string | undefined;
                                                    pay_over_time_asset_urls_descriptive?: string | undefined;
                                                    pay_over_time_asset_urls_standard?: string | undefined;
                                                    pay_over_time_name?: string | undefined;
                                                    pay_over_time_redirect_url?: string | undefined;
                                                    payment_method_categories?: string | undefined;
                                                    purchase_country?: string | undefined;
                                                    purchase_type?: string | undefined;
                                                    redirect_url?: string | undefined;
                                                    shipping_delay?: number | undefined;
                                                    shipping_first_name?: string | undefined;
                                                    shipping_last_name?: string | undefined;
                                                } | undefined;
                                                livemode: boolean;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                multibanco?: {
                                                    entity?: (string | null) | undefined;
                                                    reference?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                owner: {
                                                    address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    email: string | null;
                                                    name: string | null;
                                                    phone: string | null;
                                                    verified_address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    verified_email: string | null;
                                                    verified_name: string | null;
                                                    verified_phone: string | null;
                                                } | null;
                                                p24?: {
                                                    reference?: (string | null) | undefined;
                                                } | undefined;
                                                receiver?: {
                                                    address: string | null;
                                                    amount_charged: number;
                                                    amount_received: number;
                                                    amount_returned: number;
                                                    refund_attributes_method: string;
                                                    refund_attributes_status: string;
                                                } | undefined;
                                                redirect?: {
                                                    failure_reason: string | null;
                                                    return_url: string;
                                                    status: string;
                                                    url: string;
                                                } | undefined;
                                                sepa_credit_transfer?: {
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                sepa_debit?: {
                                                    bank_code?: (string | null) | undefined;
                                                    branch_code?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    mandate_reference?: (string | null) | undefined;
                                                    mandate_url?: (string | null) | undefined;
                                                } | undefined;
                                                sofort?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                source_order?: {
                                                    amount: number;
                                                    currency: string;
                                                    email?: string | undefined;
                                                    items: {
                                                        amount: number | null;
                                                        currency: string | null;
                                                        description: string | null;
                                                        parent: string | null;
                                                        quantity?: number | undefined;
                                                        type: string | null;
                                                    }[] | null;
                                                    shipping?: {
                                                        address?: {
                                                            city: string | null;
                                                            country: string | null;
                                                            line1: string | null;
                                                            line2: string | null;
                                                            postal_code: string | null;
                                                            state: string | null;
                                                        } | undefined;
                                                        carrier?: (string | null) | undefined;
                                                        name?: string | undefined;
                                                        phone?: (string | null) | undefined;
                                                        tracking_number?: (string | null) | undefined;
                                                    } | undefined;
                                                } | undefined;
                                                statement_descriptor: string | null;
                                                status: string;
                                                three_d_secure?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    authenticated?: (boolean | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    card?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    customer?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                type: string;
                                                usage: string | null;
                                                wechat?: {
                                                    prepay_id?: string | undefined;
                                                    qr_code_url?: (string | null) | undefined;
                                                    statement_descriptor?: string | undefined;
                                                } | undefined;
                                            } | null;
                                            default_tax_rates?: {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                country: string | null;
                                                created: number;
                                                description: string | null;
                                                display_name: string;
                                                effective_percentage: number | null;
                                                flat_amount: any | null;
                                                inclusive: boolean;
                                                jurisdiction: string | null;
                                                jurisdiction_level: string | null;
                                                livemode: boolean;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                percentage: number;
                                                rate_type: string | null;
                                                state: string | null;
                                                tax_type: string | null;
                                            }[] | null | undefined;
                                            description: string | null;
                                            discount: {
                                                id: string;
                                                object: string;
                                                checkout_session: string | null;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                deleted?: void | undefined;
                                                end: number | null;
                                                invoice: string | null;
                                                invoice_item: string | null;
                                                promotion_code: string | {
                                                    id: string;
                                                    object: string;
                                                    active: boolean;
                                                    code: string;
                                                    coupon: {
                                                        id: string;
                                                        object: string;
                                                        amount_off: number | null;
                                                        applies_to?: {
                                                            products: Array<string>;
                                                        } | undefined;
                                                        created: number;
                                                        currency: string | null;
                                                        currency_options?: {
                                                            [x: string]: {
                                                                amount_off: number;
                                                            };
                                                        } | undefined;
                                                        deleted?: void | undefined;
                                                        duration: string;
                                                        duration_in_months: number | null;
                                                        livemode: boolean;
                                                        max_redemptions: number | null;
                                                        metadata: {
                                                            [x: string]: string;
                                                        } | null;
                                                        name: string | null;
                                                        percent_off: number | null;
                                                        redeem_by: number | null;
                                                        times_redeemed: number;
                                                        valid: boolean;
                                                    };
                                                    created: number;
                                                    customer: string | any | {
                                                        id: string;
                                                        object: string;
                                                        deleted: boolean;
                                                    } | null;
                                                    expires_at: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    restrictions: {
                                                        currency_options?: {
                                                            [x: string]: {
                                                                minimum_amount: number;
                                                            };
                                                        } | undefined;
                                                        first_time_transaction: boolean;
                                                        minimum_amount: number | null;
                                                        minimum_amount_currency: string | null;
                                                    };
                                                    times_redeemed: number;
                                                } | null;
                                                start: number;
                                                subscription: string | null;
                                                subscription_item: string | null;
                                            } | null;
                                            discounts: (string | {
                                                id: string;
                                                object: string;
                                                checkout_session: string | null;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                deleted?: void | undefined;
                                                end: number | null;
                                                invoice: string | null;
                                                invoice_item: string | null;
                                                promotion_code: string | {
                                                    id: string;
                                                    object: string;
                                                    active: boolean;
                                                    code: string;
                                                    coupon: {
                                                        id: string;
                                                        object: string;
                                                        amount_off: number | null;
                                                        applies_to?: {
                                                            products: Array<string>;
                                                        } | undefined;
                                                        created: number;
                                                        currency: string | null;
                                                        currency_options?: {
                                                            [x: string]: {
                                                                amount_off: number;
                                                            };
                                                        } | undefined;
                                                        deleted?: void | undefined;
                                                        duration: string;
                                                        duration_in_months: number | null;
                                                        livemode: boolean;
                                                        max_redemptions: number | null;
                                                        metadata: {
                                                            [x: string]: string;
                                                        } | null;
                                                        name: string | null;
                                                        percent_off: number | null;
                                                        redeem_by: number | null;
                                                        times_redeemed: number;
                                                        valid: boolean;
                                                    };
                                                    created: number;
                                                    customer: string | any | {
                                                        id: string;
                                                        object: string;
                                                        deleted: boolean;
                                                    } | null;
                                                    expires_at: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    restrictions: {
                                                        currency_options?: {
                                                            [x: string]: {
                                                                minimum_amount: number;
                                                            };
                                                        } | undefined;
                                                        first_time_transaction: boolean;
                                                        minimum_amount: number | null;
                                                        minimum_amount_currency: string | null;
                                                    };
                                                    times_redeemed: number;
                                                } | null;
                                                start: number;
                                                subscription: string | null;
                                                subscription_item: string | null;
                                            })[];
                                            ended_at: number | null;
                                            invoice_settings: any;
                                            items: any[];
                                            latest_invoice: string | any | null;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            };
                                            next_pending_invoice_item_invoice: number | null;
                                            on_behalf_of: string | any | null;
                                            pause_collection: any | null;
                                            payment_settings: any | null;
                                            pending_invoice_item_interval: any | null;
                                            pending_setup_intent: string | {
                                                id: string;
                                                object: string;
                                                application: string | {
                                                    id: string;
                                                    object: string;
                                                    deleted?: void | undefined;
                                                    name: string | null;
                                                } | null;
                                                attach_to_self?: boolean | undefined;
                                                automatic_payment_methods: any | null;
                                                cancellation_reason: string | null;
                                                client_secret: string | null;
                                                created: number;
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                description: string | null;
                                                flow_directions: string[] | null;
                                                last_setup_error: any | null;
                                                latest_attempt: string | any | null;
                                                livemode: boolean;
                                                mandate: string | any | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                next_action: any | null;
                                                on_behalf_of: string | any | null;
                                                payment_method: string | any | null;
                                                payment_method_configuration_details: any | null;
                                                payment_method_options: any | null;
                                                payment_method_types: Array<string>;
                                                single_use_mandate: string | any | null;
                                                status: string;
                                                usage: string;
                                            } | null;
                                            pending_update: any | null;
                                            schedule: string | any | null;
                                            start_date: number;
                                            status: string;
                                            test_clock: string | any | null;
                                            transfer_data: any | null;
                                            trial_end: number | null;
                                            trial_settings: any | null;
                                            trial_start: number | null;
                                        } | null;
                                        subscription_details: {
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                        } | null;
                                        subscription_proration_date?: number | undefined;
                                        subtotal: number;
                                        subtotal_excluding_tax: number | null;
                                        tax: number | null;
                                        test_clock: string | {
                                            id: string;
                                            object: string;
                                            created: number;
                                            deleted?: void | undefined;
                                            deletes_after: number;
                                            frozen_time: number;
                                            livemode: boolean;
                                            name: string | null;
                                            status: string;
                                            status_details: any;
                                        } | null;
                                        threshold_reason?: {
                                            amount_gte: number | null;
                                            item_reasons: any[];
                                        } | undefined;
                                        total: number;
                                        total_discount_amounts: {
                                            amount: number;
                                            discount: string | {
                                                id: string;
                                                object: string;
                                                checkout_session: string | null;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                deleted?: void | undefined;
                                                end: number | null;
                                                invoice: string | null;
                                                invoice_item: string | null;
                                                promotion_code: string | {
                                                    id: string;
                                                    object: string;
                                                    active: boolean;
                                                    code: string;
                                                    coupon: {
                                                        id: string;
                                                        object: string;
                                                        amount_off: number | null;
                                                        applies_to?: {
                                                            products: Array<string>;
                                                        } | undefined;
                                                        created: number;
                                                        currency: string | null;
                                                        currency_options?: {
                                                            [x: string]: {
                                                                amount_off: number;
                                                            };
                                                        } | undefined;
                                                        deleted?: void | undefined;
                                                        duration: string;
                                                        duration_in_months: number | null;
                                                        livemode: boolean;
                                                        max_redemptions: number | null;
                                                        metadata: {
                                                            [x: string]: string;
                                                        } | null;
                                                        name: string | null;
                                                        percent_off: number | null;
                                                        redeem_by: number | null;
                                                        times_redeemed: number;
                                                        valid: boolean;
                                                    };
                                                    created: number;
                                                    customer: string | any | {
                                                        id: string;
                                                        object: string;
                                                        deleted: boolean;
                                                    } | null;
                                                    expires_at: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    restrictions: {
                                                        currency_options?: {
                                                            [x: string]: {
                                                                minimum_amount: number;
                                                            };
                                                        } | undefined;
                                                        first_time_transaction: boolean;
                                                        minimum_amount: number | null;
                                                        minimum_amount_currency: string | null;
                                                    };
                                                    times_redeemed: number;
                                                } | null;
                                                start: number;
                                                subscription: string | null;
                                                subscription_item: string | null;
                                            } | {
                                                id: string;
                                                object: string;
                                                checkout_session: string | null;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                deleted: boolean;
                                                invoice: string | null;
                                                invoice_item: string | null;
                                                promotion_code: string | {
                                                    id: string;
                                                    object: string;
                                                    active: boolean;
                                                    code: string;
                                                    coupon: {
                                                        id: string;
                                                        object: string;
                                                        amount_off: number | null;
                                                        applies_to?: {
                                                            products: Array<string>;
                                                        } | undefined;
                                                        created: number;
                                                        currency: string | null;
                                                        currency_options?: {
                                                            [x: string]: {
                                                                amount_off: number;
                                                            };
                                                        } | undefined;
                                                        deleted?: void | undefined;
                                                        duration: string;
                                                        duration_in_months: number | null;
                                                        livemode: boolean;
                                                        max_redemptions: number | null;
                                                        metadata: {
                                                            [x: string]: string;
                                                        } | null;
                                                        name: string | null;
                                                        percent_off: number | null;
                                                        redeem_by: number | null;
                                                        times_redeemed: number;
                                                        valid: boolean;
                                                    };
                                                    created: number;
                                                    customer: string | any | {
                                                        id: string;
                                                        object: string;
                                                        deleted: boolean;
                                                    } | null;
                                                    expires_at: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    restrictions: {
                                                        currency_options?: {
                                                            [x: string]: {
                                                                minimum_amount: number;
                                                            };
                                                        } | undefined;
                                                        first_time_transaction: boolean;
                                                        minimum_amount: number | null;
                                                        minimum_amount_currency: string | null;
                                                    };
                                                    times_redeemed: number;
                                                } | null;
                                                start: number;
                                                subscription: string | null;
                                                subscription_item: string | null;
                                            };
                                        }[] | null;
                                        total_excluding_tax: number | null;
                                        total_pretax_credit_amounts?: {
                                            amount: number;
                                            credit_balance_transaction?: string | any | null | undefined;
                                            discount?: string | {
                                                id: string;
                                                object: string;
                                                checkout_session: string | null;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                deleted?: void | undefined;
                                                end: number | null;
                                                invoice: string | null;
                                                invoice_item: string | null;
                                                promotion_code: string | {
                                                    id: string;
                                                    object: string;
                                                    active: boolean;
                                                    code: string;
                                                    coupon: {
                                                        id: string;
                                                        object: string;
                                                        amount_off: number | null;
                                                        applies_to?: {
                                                            products: Array<string>;
                                                        } | undefined;
                                                        created: number;
                                                        currency: string | null;
                                                        currency_options?: {
                                                            [x: string]: {
                                                                amount_off: number;
                                                            };
                                                        } | undefined;
                                                        deleted?: void | undefined;
                                                        duration: string;
                                                        duration_in_months: number | null;
                                                        livemode: boolean;
                                                        max_redemptions: number | null;
                                                        metadata: {
                                                            [x: string]: string;
                                                        } | null;
                                                        name: string | null;
                                                        percent_off: number | null;
                                                        redeem_by: number | null;
                                                        times_redeemed: number;
                                                        valid: boolean;
                                                    };
                                                    created: number;
                                                    customer: string | any | {
                                                        id: string;
                                                        object: string;
                                                        deleted: boolean;
                                                    } | null;
                                                    expires_at: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    restrictions: {
                                                        currency_options?: {
                                                            [x: string]: {
                                                                minimum_amount: number;
                                                            };
                                                        } | undefined;
                                                        first_time_transaction: boolean;
                                                        minimum_amount: number | null;
                                                        minimum_amount_currency: string | null;
                                                    };
                                                    times_redeemed: number;
                                                } | null;
                                                start: number;
                                                subscription: string | null;
                                                subscription_item: string | null;
                                            } | {
                                                id: string;
                                                object: string;
                                                checkout_session: string | null;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                deleted: boolean;
                                                invoice: string | null;
                                                invoice_item: string | null;
                                                promotion_code: string | {
                                                    id: string;
                                                    object: string;
                                                    active: boolean;
                                                    code: string;
                                                    coupon: {
                                                        id: string;
                                                        object: string;
                                                        amount_off: number | null;
                                                        applies_to?: {
                                                            products: Array<string>;
                                                        } | undefined;
                                                        created: number;
                                                        currency: string | null;
                                                        currency_options?: {
                                                            [x: string]: {
                                                                amount_off: number;
                                                            };
                                                        } | undefined;
                                                        deleted?: void | undefined;
                                                        duration: string;
                                                        duration_in_months: number | null;
                                                        livemode: boolean;
                                                        max_redemptions: number | null;
                                                        metadata: {
                                                            [x: string]: string;
                                                        } | null;
                                                        name: string | null;
                                                        percent_off: number | null;
                                                        redeem_by: number | null;
                                                        times_redeemed: number;
                                                        valid: boolean;
                                                    };
                                                    created: number;
                                                    customer: string | any | {
                                                        id: string;
                                                        object: string;
                                                        deleted: boolean;
                                                    } | null;
                                                    expires_at: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    restrictions: {
                                                        currency_options?: {
                                                            [x: string]: {
                                                                minimum_amount: number;
                                                            };
                                                        } | undefined;
                                                        first_time_transaction: boolean;
                                                        minimum_amount: number | null;
                                                        minimum_amount_currency: string | null;
                                                    };
                                                    times_redeemed: number;
                                                } | null;
                                                start: number;
                                                subscription: string | null;
                                                subscription_item: string | null;
                                            } | undefined;
                                            type: string;
                                        }[] | null | undefined;
                                        total_tax_amounts: {
                                            amount: number;
                                            inclusive: boolean;
                                            tax_rate: string | {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                country: string | null;
                                                created: number;
                                                description: string | null;
                                                display_name: string;
                                                effective_percentage: number | null;
                                                flat_amount: any | null;
                                                inclusive: boolean;
                                                jurisdiction: string | null;
                                                jurisdiction_level: string | null;
                                                livemode: boolean;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                percentage: number;
                                                rate_type: string | null;
                                                state: string | null;
                                                tax_type: string | null;
                                            };
                                            taxability_reason: string | null;
                                            taxable_amount: number | null;
                                        }[];
                                        transfer_data: {
                                            amount: number | null;
                                            destination: string | any;
                                        } | null;
                                        webhooks_delivered_at: number | null;
                                    } | null;
                                    level3?: {
                                        customer_reference?: string | undefined;
                                        line_items: {
                                            discount_amount: number | null;
                                            product_code: string;
                                            product_description: string;
                                            quantity: number | null;
                                            tax_amount: number | null;
                                            unit_cost: number | null;
                                        }[];
                                        merchant_reference: string;
                                        shipping_address_zip?: string | undefined;
                                        shipping_amount?: number | undefined;
                                        shipping_from_zip?: string | undefined;
                                    } | undefined;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    };
                                    on_behalf_of: string | any | null;
                                    outcome: {
                                        network_status: string | null;
                                        reason: string | null;
                                        risk_level?: string | undefined;
                                        risk_score?: number | undefined;
                                        rule?: string | {
                                            action: string;
                                            id: string;
                                            predicate: string;
                                        } | undefined;
                                        seller_message: string | null;
                                        type: string;
                                    } | null;
                                    paid: boolean;
                                    payment_intent: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        amount_capturable: number;
                                        amount_details?: any | undefined;
                                        amount_received: number;
                                        application: string | {
                                            id: string;
                                            object: string;
                                            deleted?: void | undefined;
                                            name: string | null;
                                        } | null;
                                        application_fee_amount: number | null;
                                        automatic_payment_methods: any | null;
                                        canceled_at: number | null;
                                        cancellation_reason: string | null;
                                        capture_method: string;
                                        client_secret: string | null;
                                        confirmation_method: string;
                                        created: number;
                                        currency: string;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        description: string | null;
                                        invoice: string | any | null;
                                        last_payment_error: any | null;
                                        latest_charge: string | any | null;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        };
                                        next_action: any | null;
                                        on_behalf_of: string | any | null;
                                        payment_method: string | any | null;
                                        payment_method_configuration_details: any | null;
                                        payment_method_options: any | null;
                                        payment_method_types: Array<string>;
                                        processing: any | null;
                                        receipt_email: string | null;
                                        review: string | any | null;
                                        setup_future_usage: string | null;
                                        shipping: any | null;
                                        source: string | any | any | {
                                            id: string;
                                            object: string;
                                            account?: string | any | null | undefined;
                                            address_city: string | null;
                                            address_country: string | null;
                                            address_line1: string | null;
                                            address_line1_check: string | null;
                                            address_line2: string | null;
                                            address_state: string | null;
                                            address_zip: string | null;
                                            address_zip_check: string | null;
                                            available_payout_methods?: string[] | null | undefined;
                                            brand: string;
                                            country: string | null;
                                            currency?: (string | null) | undefined;
                                            customer?: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null | undefined;
                                            cvc_check: string | null;
                                            default_for_currency?: (boolean | null) | undefined;
                                            deleted?: void | undefined;
                                            description?: string | undefined;
                                            dynamic_last4: string | null;
                                            exp_month: number;
                                            exp_year: number;
                                            fingerprint?: (string | null) | undefined;
                                            funding: string;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4: string;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            networks?: {
                                                preferred: string | null;
                                            } | undefined;
                                            status?: (string | null) | undefined;
                                            tokenization_method: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            ach_credit_transfer?: {
                                                account_number?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_account_holder_type?: (string | null) | undefined;
                                                refund_routing_number?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                swift_code?: (string | null) | undefined;
                                            } | undefined;
                                            ach_debit?: {
                                                bank_name?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                type?: (string | null) | undefined;
                                            } | undefined;
                                            acss_debit?: {
                                                bank_address_city?: (string | null) | undefined;
                                                bank_address_line_1?: (string | null) | undefined;
                                                bank_address_line_2?: (string | null) | undefined;
                                                bank_address_postal_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                category?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                            } | undefined;
                                            alipay?: {
                                                data_string?: (string | null) | undefined;
                                                native_url?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            amount: number | null;
                                            au_becs_debit?: {
                                                bsb_number?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                            } | undefined;
                                            bancontact?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            card?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            card_present?: {
                                                application_cryptogram?: string | undefined;
                                                application_preferred_name?: string | undefined;
                                                authorization_code?: (string | null) | undefined;
                                                authorization_response_code?: string | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvm_type?: string | undefined;
                                                data_type?: (string | null) | undefined;
                                                dedicated_file_name?: string | undefined;
                                                description?: string | undefined;
                                                emv_auth_data?: string | undefined;
                                                evidence_customer_signature?: (string | null) | undefined;
                                                evidence_transaction_certificate?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                pos_device_id?: (string | null) | undefined;
                                                pos_entry_mode?: string | undefined;
                                                read_method?: (string | null) | undefined;
                                                reader?: (string | null) | undefined;
                                                terminal_verification_results?: string | undefined;
                                                transaction_status_information?: string | undefined;
                                            } | undefined;
                                            client_secret: string;
                                            code_verification?: {
                                                attempts_remaining: number;
                                                status: string;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            customer?: string | undefined;
                                            eps?: {
                                                reference?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            flow: string;
                                            giropay?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            ideal?: {
                                                bank?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            klarna?: {
                                                background_image_url?: string | undefined;
                                                client_token?: (string | null) | undefined;
                                                first_name?: string | undefined;
                                                last_name?: string | undefined;
                                                locale?: string | undefined;
                                                logo_url?: string | undefined;
                                                page_title?: string | undefined;
                                                pay_later_asset_urls_descriptive?: string | undefined;
                                                pay_later_asset_urls_standard?: string | undefined;
                                                pay_later_name?: string | undefined;
                                                pay_later_redirect_url?: string | undefined;
                                                pay_now_asset_urls_descriptive?: string | undefined;
                                                pay_now_asset_urls_standard?: string | undefined;
                                                pay_now_name?: string | undefined;
                                                pay_now_redirect_url?: string | undefined;
                                                pay_over_time_asset_urls_descriptive?: string | undefined;
                                                pay_over_time_asset_urls_standard?: string | undefined;
                                                pay_over_time_name?: string | undefined;
                                                pay_over_time_redirect_url?: string | undefined;
                                                payment_method_categories?: string | undefined;
                                                purchase_country?: string | undefined;
                                                purchase_type?: string | undefined;
                                                redirect_url?: string | undefined;
                                                shipping_delay?: number | undefined;
                                                shipping_first_name?: string | undefined;
                                                shipping_last_name?: string | undefined;
                                            } | undefined;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            multibanco?: {
                                                entity?: (string | null) | undefined;
                                                reference?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            owner: {
                                                address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                email: string | null;
                                                name: string | null;
                                                phone: string | null;
                                                verified_address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                verified_email: string | null;
                                                verified_name: string | null;
                                                verified_phone: string | null;
                                            } | null;
                                            p24?: {
                                                reference?: (string | null) | undefined;
                                            } | undefined;
                                            receiver?: {
                                                address: string | null;
                                                amount_charged: number;
                                                amount_received: number;
                                                amount_returned: number;
                                                refund_attributes_method: string;
                                                refund_attributes_status: string;
                                            } | undefined;
                                            redirect?: {
                                                failure_reason: string | null;
                                                return_url: string;
                                                status: string;
                                                url: string;
                                            } | undefined;
                                            sepa_credit_transfer?: {
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            sepa_debit?: {
                                                bank_code?: (string | null) | undefined;
                                                branch_code?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                mandate_reference?: (string | null) | undefined;
                                                mandate_url?: (string | null) | undefined;
                                            } | undefined;
                                            sofort?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            source_order?: {
                                                amount: number;
                                                currency: string;
                                                email?: string | undefined;
                                                items: {
                                                    amount: number | null;
                                                    currency: string | null;
                                                    description: string | null;
                                                    parent: string | null;
                                                    quantity?: number | undefined;
                                                    type: string | null;
                                                }[] | null;
                                                shipping?: {
                                                    address?: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | undefined;
                                                    carrier?: (string | null) | undefined;
                                                    name?: string | undefined;
                                                    phone?: (string | null) | undefined;
                                                    tracking_number?: (string | null) | undefined;
                                                } | undefined;
                                            } | undefined;
                                            statement_descriptor: string | null;
                                            status: string;
                                            three_d_secure?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                authenticated?: (boolean | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                card?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                customer?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            type: string;
                                            usage: string | null;
                                            wechat?: {
                                                prepay_id?: string | undefined;
                                                qr_code_url?: (string | null) | undefined;
                                                statement_descriptor?: string | undefined;
                                            } | undefined;
                                        } | any | any | null;
                                        statement_descriptor: string | null;
                                        statement_descriptor_suffix: string | null;
                                        status: string;
                                        transfer_data: any | null;
                                        transfer_group: string | null;
                                    } | null;
                                    payment_method: string | null;
                                    payment_method_details: {
                                        ach_credit_transfer?: {
                                            account_number: string | null;
                                            bank_name: string | null;
                                            routing_number: string | null;
                                            swift_code: string | null;
                                        } | undefined;
                                        ach_debit?: {
                                            account_holder_type: string | null;
                                            bank_name: string | null;
                                            country: string | null;
                                            fingerprint: string | null;
                                            last4: string | null;
                                            routing_number: string | null;
                                        } | undefined;
                                        acss_debit?: {
                                            bank_name: string | null;
                                            fingerprint: string | null;
                                            institution_number: string | null;
                                            last4: string | null;
                                            mandate?: string | undefined;
                                            transit_number: string | null;
                                        } | undefined;
                                        affirm?: {
                                            transaction_id: string | null;
                                        } | undefined;
                                        afterpay_clearpay?: {
                                            order_id: string | null;
                                            reference: string | null;
                                        } | undefined;
                                        alipay?: {
                                            buyer_id?: string | undefined;
                                            fingerprint: string | null;
                                            transaction_id: string | null;
                                        } | undefined;
                                        alma?: {} | undefined;
                                        amazon_pay?: {} | undefined;
                                        au_becs_debit?: {
                                            bsb_number: string | null;
                                            fingerprint: string | null;
                                            last4: string | null;
                                            mandate?: string | undefined;
                                        } | undefined;
                                        bacs_debit?: {
                                            fingerprint: string | null;
                                            last4: string | null;
                                            mandate: string | null;
                                            sort_code: string | null;
                                        } | undefined;
                                        bancontact?: {
                                            bank_code: string | null;
                                            bank_name: string | null;
                                            bic: string | null;
                                            generated_sepa_debit: string | any | null;
                                            generated_sepa_debit_mandate: string | any | null;
                                            iban_last4: string | null;
                                            preferred_language: string | null;
                                            verified_name: string | null;
                                        } | undefined;
                                        blik?: {
                                            buyer_id: string | null;
                                        } | undefined;
                                        boleto?: {
                                            tax_id: string;
                                        } | undefined;
                                        card?: {
                                            amount_authorized: number | null;
                                            authorization_code: string | null;
                                            brand: string | null;
                                            capture_before?: number | undefined;
                                            checks: any | null;
                                            country: string | null;
                                            description?: (string | null) | undefined;
                                            exp_month: number;
                                            exp_year: number;
                                            extended_authorization?: any | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            funding: string | null;
                                            iin?: (string | null) | undefined;
                                            incremental_authorization?: any | undefined;
                                            installments: any | null;
                                            issuer?: (string | null) | undefined;
                                            last4: string | null;
                                            mandate: string | null;
                                            moto?: (boolean | null) | undefined;
                                            multicapture?: any | undefined;
                                            network: string | null;
                                            network_token?: any | null | undefined;
                                            overcapture?: any | undefined;
                                            three_d_secure: any | null;
                                            wallet: any | null;
                                        } | undefined;
                                        card_present?: {
                                            amount_authorized: number | null;
                                            brand: string | null;
                                            brand_product: string | null;
                                            capture_before?: number | undefined;
                                            cardholder_name: string | null;
                                            country: string | null;
                                            description?: (string | null) | undefined;
                                            emv_auth_data: string | null;
                                            exp_month: number;
                                            exp_year: number;
                                            fingerprint: string | null;
                                            funding: string | null;
                                            generated_card: string | null;
                                            iin?: (string | null) | undefined;
                                            incremental_authorization_supported: boolean;
                                            issuer?: (string | null) | undefined;
                                            last4: string | null;
                                            network: string | null;
                                            network_transaction_id: string | null;
                                            offline: any | null;
                                            overcapture_supported: boolean;
                                            preferred_locales: Array<string> | null;
                                            read_method: string | null;
                                            receipt: any | null;
                                            wallet?: any | undefined;
                                        } | undefined;
                                        cashapp?: {
                                            buyer_id: string | null;
                                            cashtag: string | null;
                                        } | undefined;
                                        customer_balance?: {} | undefined;
                                        eps?: {
                                            bank: string | null;
                                            verified_name: string | null;
                                        } | undefined;
                                        fpx?: {
                                            account_holder_type: string | null;
                                            bank: string;
                                            transaction_id: string | null;
                                        } | undefined;
                                        giropay?: {
                                            bank_code: string | null;
                                            bank_name: string | null;
                                            bic: string | null;
                                            verified_name: string | null;
                                        } | undefined;
                                        grabpay?: {
                                            transaction_id: string | null;
                                        } | undefined;
                                        ideal?: {
                                            bank: string | null;
                                            bic: string | null;
                                            generated_sepa_debit: string | any | null;
                                            generated_sepa_debit_mandate: string | any | null;
                                            iban_last4: string | null;
                                            verified_name: string | null;
                                        } | undefined;
                                        interac_present?: {
                                            brand: string | null;
                                            cardholder_name: string | null;
                                            country: string | null;
                                            description?: (string | null) | undefined;
                                            emv_auth_data: string | null;
                                            exp_month: number;
                                            exp_year: number;
                                            fingerprint: string | null;
                                            funding: string | null;
                                            generated_card: string | null;
                                            iin?: (string | null) | undefined;
                                            issuer?: (string | null) | undefined;
                                            last4: string | null;
                                            network: string | null;
                                            network_transaction_id: string | null;
                                            preferred_locales: Array<string> | null;
                                            read_method: string | null;
                                            receipt: any | null;
                                        } | undefined;
                                        kakao_pay?: {
                                            buyer_id: string | null;
                                        } | undefined;
                                        klarna?: {
                                            payer_details: any | null;
                                            payment_method_category: string | null;
                                            preferred_locale: string | null;
                                        } | undefined;
                                        konbini?: {
                                            store: any | null;
                                        } | undefined;
                                        kr_card?: {
                                            brand: string | null;
                                            buyer_id: string | null;
                                            last4: string | null;
                                        } | undefined;
                                        link?: {
                                            country: string | null;
                                        } | undefined;
                                        mobilepay?: {
                                            card: any | null;
                                        } | undefined;
                                        multibanco?: {
                                            entity: string | null;
                                            reference: string | null;
                                        } | undefined;
                                        naver_pay?: {
                                            buyer_id: string | null;
                                        } | undefined;
                                        oxxo?: {
                                            number: string | null;
                                        } | undefined;
                                        p24?: {
                                            bank: string | null;
                                            reference: string | null;
                                            verified_name: string | null;
                                        } | undefined;
                                        payco?: {
                                            buyer_id: string | null;
                                        } | undefined;
                                        paynow?: {
                                            reference: string | null;
                                        } | undefined;
                                        paypal?: {
                                            payer_email: string | null;
                                            payer_id: string | null;
                                            payer_name: string | null;
                                            seller_protection: any | null;
                                            transaction_id: string | null;
                                        } | undefined;
                                        pix?: {
                                            bank_transaction_id?: (string | null) | undefined;
                                        } | undefined;
                                        promptpay?: {
                                            reference: string | null;
                                        } | undefined;
                                        revolut_pay?: {} | undefined;
                                        samsung_pay?: {
                                            buyer_id: string | null;
                                        } | undefined;
                                        sepa_credit_transfer?: {
                                            bank_name: string | null;
                                            bic: string | null;
                                            iban: string | null;
                                        } | undefined;
                                        sepa_debit?: {
                                            bank_code: string | null;
                                            branch_code: string | null;
                                            country: string | null;
                                            fingerprint: string | null;
                                            last4: string | null;
                                            mandate: string | null;
                                        } | undefined;
                                        sofort?: {
                                            bank_code: string | null;
                                            bank_name: string | null;
                                            bic: string | null;
                                            country: string | null;
                                            generated_sepa_debit: string | any | null;
                                            generated_sepa_debit_mandate: string | any | null;
                                            iban_last4: string | null;
                                            preferred_language: string | null;
                                            verified_name: string | null;
                                        } | undefined;
                                        stripe_account?: {} | undefined;
                                        swish?: {
                                            fingerprint: string | null;
                                            payment_reference: string | null;
                                            verified_phone_last4: string | null;
                                        } | undefined;
                                        twint?: {} | undefined;
                                        type: string;
                                        us_bank_account?: {
                                            account_holder_type: string | null;
                                            account_type: string | null;
                                            bank_name: string | null;
                                            fingerprint: string | null;
                                            last4: string | null;
                                            mandate?: string | any | undefined;
                                            payment_reference: string | null;
                                            routing_number: string | null;
                                        } | undefined;
                                        wechat?: {} | undefined;
                                        wechat_pay?: {
                                            fingerprint: string | null;
                                            transaction_id: string | null;
                                        } | undefined;
                                        zip?: {} | undefined;
                                    } | null;
                                    radar_options?: {
                                        session?: string | undefined;
                                    } | undefined;
                                    receipt_email: string | null;
                                    receipt_number: string | null;
                                    receipt_url: string | null;
                                    refunded: boolean;
                                    refunds?: {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        balance_transaction: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            available_on: number;
                                            created: number;
                                            currency: string;
                                            description: string | null;
                                            exchange_rate: number | null;
                                            fee: number;
                                            fee_details: any[];
                                            net: number;
                                            reporting_category: string;
                                            source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                            status: string;
                                            type: string;
                                        } | null;
                                        charge: string | any | null;
                                        created: number;
                                        currency: string;
                                        description?: string | undefined;
                                        destination_details?: {
                                            affirm?: any | undefined;
                                            afterpay_clearpay?: any | undefined;
                                            alipay?: any | undefined;
                                            alma?: any | undefined;
                                            amazon_pay?: any | undefined;
                                            au_bank_transfer?: any | undefined;
                                            blik?: any | undefined;
                                            br_bank_transfer?: any | undefined;
                                            card?: any | undefined;
                                            cashapp?: any | undefined;
                                            customer_cash_balance?: any | undefined;
                                            eps?: any | undefined;
                                            eu_bank_transfer?: any | undefined;
                                            gb_bank_transfer?: any | undefined;
                                            giropay?: any | undefined;
                                            grabpay?: any | undefined;
                                            jp_bank_transfer?: any | undefined;
                                            klarna?: any | undefined;
                                            multibanco?: any | undefined;
                                            mx_bank_transfer?: any | undefined;
                                            p24?: any | undefined;
                                            paynow?: any | undefined;
                                            paypal?: any | undefined;
                                            pix?: any | undefined;
                                            revolut?: any | undefined;
                                            sofort?: any | undefined;
                                            swish?: any | undefined;
                                            th_bank_transfer?: any | undefined;
                                            type: string;
                                            us_bank_transfer?: any | undefined;
                                            wechat_pay?: any | undefined;
                                            zip?: any | undefined;
                                        } | undefined;
                                        failure_balance_transaction?: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            available_on: number;
                                            created: number;
                                            currency: string;
                                            description: string | null;
                                            exchange_rate: number | null;
                                            fee: number;
                                            fee_details: any[];
                                            net: number;
                                            reporting_category: string;
                                            source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                            status: string;
                                            type: string;
                                        } | undefined;
                                        failure_reason?: string | undefined;
                                        instructions_email?: string | undefined;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        next_action?: {
                                            display_details?: any | undefined;
                                            type: string;
                                        } | undefined;
                                        payment_intent: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            amount_capturable: number;
                                            amount_details?: any | undefined;
                                            amount_received: number;
                                            application: string | {
                                                id: string;
                                                object: string;
                                                deleted?: void | undefined;
                                                name: string | null;
                                            } | null;
                                            application_fee_amount: number | null;
                                            automatic_payment_methods: any | null;
                                            canceled_at: number | null;
                                            cancellation_reason: string | null;
                                            capture_method: string;
                                            client_secret: string | null;
                                            confirmation_method: string;
                                            created: number;
                                            currency: string;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            description: string | null;
                                            invoice: string | any | null;
                                            last_payment_error: any | null;
                                            latest_charge: string | any | null;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            };
                                            next_action: any | null;
                                            on_behalf_of: string | any | null;
                                            payment_method: string | any | null;
                                            payment_method_configuration_details: any | null;
                                            payment_method_options: any | null;
                                            payment_method_types: Array<string>;
                                            processing: any | null;
                                            receipt_email: string | null;
                                            review: string | any | null;
                                            setup_future_usage: string | null;
                                            shipping: any | null;
                                            source: string | any | any | {
                                                id: string;
                                                object: string;
                                                account?: string | any | null | undefined;
                                                address_city: string | null;
                                                address_country: string | null;
                                                address_line1: string | null;
                                                address_line1_check: string | null;
                                                address_line2: string | null;
                                                address_state: string | null;
                                                address_zip: string | null;
                                                address_zip_check: string | null;
                                                available_payout_methods?: string[] | null | undefined;
                                                brand: string;
                                                country: string | null;
                                                currency?: (string | null) | undefined;
                                                customer?: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null | undefined;
                                                cvc_check: string | null;
                                                default_for_currency?: (boolean | null) | undefined;
                                                deleted?: void | undefined;
                                                description?: string | undefined;
                                                dynamic_last4: string | null;
                                                exp_month: number;
                                                exp_year: number;
                                                fingerprint?: (string | null) | undefined;
                                                funding: string;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4: string;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                networks?: {
                                                    preferred: string | null;
                                                } | undefined;
                                                status?: (string | null) | undefined;
                                                tokenization_method: string | null;
                                            } | {
                                                id: string;
                                                object: string;
                                                ach_credit_transfer?: {
                                                    account_number?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_account_holder_type?: (string | null) | undefined;
                                                    refund_routing_number?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    swift_code?: (string | null) | undefined;
                                                } | undefined;
                                                ach_debit?: {
                                                    bank_name?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    type?: (string | null) | undefined;
                                                } | undefined;
                                                acss_debit?: {
                                                    bank_address_city?: (string | null) | undefined;
                                                    bank_address_line_1?: (string | null) | undefined;
                                                    bank_address_line_2?: (string | null) | undefined;
                                                    bank_address_postal_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    category?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                } | undefined;
                                                alipay?: {
                                                    data_string?: (string | null) | undefined;
                                                    native_url?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                amount: number | null;
                                                au_becs_debit?: {
                                                    bsb_number?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                } | undefined;
                                                bancontact?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                card?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                card_present?: {
                                                    application_cryptogram?: string | undefined;
                                                    application_preferred_name?: string | undefined;
                                                    authorization_code?: (string | null) | undefined;
                                                    authorization_response_code?: string | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvm_type?: string | undefined;
                                                    data_type?: (string | null) | undefined;
                                                    dedicated_file_name?: string | undefined;
                                                    description?: string | undefined;
                                                    emv_auth_data?: string | undefined;
                                                    evidence_customer_signature?: (string | null) | undefined;
                                                    evidence_transaction_certificate?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    pos_device_id?: (string | null) | undefined;
                                                    pos_entry_mode?: string | undefined;
                                                    read_method?: (string | null) | undefined;
                                                    reader?: (string | null) | undefined;
                                                    terminal_verification_results?: string | undefined;
                                                    transaction_status_information?: string | undefined;
                                                } | undefined;
                                                client_secret: string;
                                                code_verification?: {
                                                    attempts_remaining: number;
                                                    status: string;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                customer?: string | undefined;
                                                eps?: {
                                                    reference?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                flow: string;
                                                giropay?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                ideal?: {
                                                    bank?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                klarna?: {
                                                    background_image_url?: string | undefined;
                                                    client_token?: (string | null) | undefined;
                                                    first_name?: string | undefined;
                                                    last_name?: string | undefined;
                                                    locale?: string | undefined;
                                                    logo_url?: string | undefined;
                                                    page_title?: string | undefined;
                                                    pay_later_asset_urls_descriptive?: string | undefined;
                                                    pay_later_asset_urls_standard?: string | undefined;
                                                    pay_later_name?: string | undefined;
                                                    pay_later_redirect_url?: string | undefined;
                                                    pay_now_asset_urls_descriptive?: string | undefined;
                                                    pay_now_asset_urls_standard?: string | undefined;
                                                    pay_now_name?: string | undefined;
                                                    pay_now_redirect_url?: string | undefined;
                                                    pay_over_time_asset_urls_descriptive?: string | undefined;
                                                    pay_over_time_asset_urls_standard?: string | undefined;
                                                    pay_over_time_name?: string | undefined;
                                                    pay_over_time_redirect_url?: string | undefined;
                                                    payment_method_categories?: string | undefined;
                                                    purchase_country?: string | undefined;
                                                    purchase_type?: string | undefined;
                                                    redirect_url?: string | undefined;
                                                    shipping_delay?: number | undefined;
                                                    shipping_first_name?: string | undefined;
                                                    shipping_last_name?: string | undefined;
                                                } | undefined;
                                                livemode: boolean;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                multibanco?: {
                                                    entity?: (string | null) | undefined;
                                                    reference?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                owner: {
                                                    address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    email: string | null;
                                                    name: string | null;
                                                    phone: string | null;
                                                    verified_address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    verified_email: string | null;
                                                    verified_name: string | null;
                                                    verified_phone: string | null;
                                                } | null;
                                                p24?: {
                                                    reference?: (string | null) | undefined;
                                                } | undefined;
                                                receiver?: {
                                                    address: string | null;
                                                    amount_charged: number;
                                                    amount_received: number;
                                                    amount_returned: number;
                                                    refund_attributes_method: string;
                                                    refund_attributes_status: string;
                                                } | undefined;
                                                redirect?: {
                                                    failure_reason: string | null;
                                                    return_url: string;
                                                    status: string;
                                                    url: string;
                                                } | undefined;
                                                sepa_credit_transfer?: {
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                sepa_debit?: {
                                                    bank_code?: (string | null) | undefined;
                                                    branch_code?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    mandate_reference?: (string | null) | undefined;
                                                    mandate_url?: (string | null) | undefined;
                                                } | undefined;
                                                sofort?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                source_order?: {
                                                    amount: number;
                                                    currency: string;
                                                    email?: string | undefined;
                                                    items: {
                                                        amount: number | null;
                                                        currency: string | null;
                                                        description: string | null;
                                                        parent: string | null;
                                                        quantity?: number | undefined;
                                                        type: string | null;
                                                    }[] | null;
                                                    shipping?: {
                                                        address?: {
                                                            city: string | null;
                                                            country: string | null;
                                                            line1: string | null;
                                                            line2: string | null;
                                                            postal_code: string | null;
                                                            state: string | null;
                                                        } | undefined;
                                                        carrier?: (string | null) | undefined;
                                                        name?: string | undefined;
                                                        phone?: (string | null) | undefined;
                                                        tracking_number?: (string | null) | undefined;
                                                    } | undefined;
                                                } | undefined;
                                                statement_descriptor: string | null;
                                                status: string;
                                                three_d_secure?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    authenticated?: (boolean | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    card?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    customer?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                type: string;
                                                usage: string | null;
                                                wechat?: {
                                                    prepay_id?: string | undefined;
                                                    qr_code_url?: (string | null) | undefined;
                                                    statement_descriptor?: string | undefined;
                                                } | undefined;
                                            } | any | any | null;
                                            statement_descriptor: string | null;
                                            statement_descriptor_suffix: string | null;
                                            status: string;
                                            transfer_data: any | null;
                                            transfer_group: string | null;
                                        } | null;
                                        reason: string | null;
                                        receipt_number: string | null;
                                        source_transfer_reversal: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            balance_transaction: string | {
                                                id: string;
                                                object: string;
                                                amount: number;
                                                available_on: number;
                                                created: number;
                                                currency: string;
                                                description: string | null;
                                                exchange_rate: number | null;
                                                fee: number;
                                                fee_details: any[];
                                                net: number;
                                                reporting_category: string;
                                                source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                                status: string;
                                                type: string;
                                            } | null;
                                            created: number;
                                            currency: string;
                                            destination_payment_refund: string | any | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            source_refund: string | any | null;
                                            transfer: string | any;
                                        } | null;
                                        status: string | null;
                                        transfer_reversal: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            balance_transaction: string | {
                                                id: string;
                                                object: string;
                                                amount: number;
                                                available_on: number;
                                                created: number;
                                                currency: string;
                                                description: string | null;
                                                exchange_rate: number | null;
                                                fee: number;
                                                fee_details: any[];
                                                net: number;
                                                reporting_category: string;
                                                source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                                status: string;
                                                type: string;
                                            } | null;
                                            created: number;
                                            currency: string;
                                            destination_payment_refund: string | any | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            source_refund: string | any | null;
                                            transfer: string | any;
                                        } | null;
                                    }[] | null | undefined;
                                    review: string | {
                                        id: string;
                                        object: string;
                                        billing_zip: string | null;
                                        charge: string | any | null;
                                        closed_reason: string | null;
                                        created: number;
                                        ip_address: string | null;
                                        ip_address_location: {
                                            city: string | null;
                                            country: string | null;
                                            latitude: number | null;
                                            longitude: number | null;
                                            region: string | null;
                                        } | null;
                                        livemode: boolean;
                                        open: boolean;
                                        opened_reason: string;
                                        payment_intent?: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            amount_capturable: number;
                                            amount_details?: any | undefined;
                                            amount_received: number;
                                            application: string | {
                                                id: string;
                                                object: string;
                                                deleted?: void | undefined;
                                                name: string | null;
                                            } | null;
                                            application_fee_amount: number | null;
                                            automatic_payment_methods: any | null;
                                            canceled_at: number | null;
                                            cancellation_reason: string | null;
                                            capture_method: string;
                                            client_secret: string | null;
                                            confirmation_method: string;
                                            created: number;
                                            currency: string;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            description: string | null;
                                            invoice: string | any | null;
                                            last_payment_error: any | null;
                                            latest_charge: string | any | null;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            };
                                            next_action: any | null;
                                            on_behalf_of: string | any | null;
                                            payment_method: string | any | null;
                                            payment_method_configuration_details: any | null;
                                            payment_method_options: any | null;
                                            payment_method_types: Array<string>;
                                            processing: any | null;
                                            receipt_email: string | null;
                                            review: string | any | null;
                                            setup_future_usage: string | null;
                                            shipping: any | null;
                                            source: string | any | any | {
                                                id: string;
                                                object: string;
                                                account?: string | any | null | undefined;
                                                address_city: string | null;
                                                address_country: string | null;
                                                address_line1: string | null;
                                                address_line1_check: string | null;
                                                address_line2: string | null;
                                                address_state: string | null;
                                                address_zip: string | null;
                                                address_zip_check: string | null;
                                                available_payout_methods?: string[] | null | undefined;
                                                brand: string;
                                                country: string | null;
                                                currency?: (string | null) | undefined;
                                                customer?: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null | undefined;
                                                cvc_check: string | null;
                                                default_for_currency?: (boolean | null) | undefined;
                                                deleted?: void | undefined;
                                                description?: string | undefined;
                                                dynamic_last4: string | null;
                                                exp_month: number;
                                                exp_year: number;
                                                fingerprint?: (string | null) | undefined;
                                                funding: string;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4: string;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                networks?: {
                                                    preferred: string | null;
                                                } | undefined;
                                                status?: (string | null) | undefined;
                                                tokenization_method: string | null;
                                            } | {
                                                id: string;
                                                object: string;
                                                ach_credit_transfer?: {
                                                    account_number?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_account_holder_type?: (string | null) | undefined;
                                                    refund_routing_number?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    swift_code?: (string | null) | undefined;
                                                } | undefined;
                                                ach_debit?: {
                                                    bank_name?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    type?: (string | null) | undefined;
                                                } | undefined;
                                                acss_debit?: {
                                                    bank_address_city?: (string | null) | undefined;
                                                    bank_address_line_1?: (string | null) | undefined;
                                                    bank_address_line_2?: (string | null) | undefined;
                                                    bank_address_postal_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    category?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                } | undefined;
                                                alipay?: {
                                                    data_string?: (string | null) | undefined;
                                                    native_url?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                amount: number | null;
                                                au_becs_debit?: {
                                                    bsb_number?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                } | undefined;
                                                bancontact?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                card?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                card_present?: {
                                                    application_cryptogram?: string | undefined;
                                                    application_preferred_name?: string | undefined;
                                                    authorization_code?: (string | null) | undefined;
                                                    authorization_response_code?: string | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvm_type?: string | undefined;
                                                    data_type?: (string | null) | undefined;
                                                    dedicated_file_name?: string | undefined;
                                                    description?: string | undefined;
                                                    emv_auth_data?: string | undefined;
                                                    evidence_customer_signature?: (string | null) | undefined;
                                                    evidence_transaction_certificate?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    pos_device_id?: (string | null) | undefined;
                                                    pos_entry_mode?: string | undefined;
                                                    read_method?: (string | null) | undefined;
                                                    reader?: (string | null) | undefined;
                                                    terminal_verification_results?: string | undefined;
                                                    transaction_status_information?: string | undefined;
                                                } | undefined;
                                                client_secret: string;
                                                code_verification?: {
                                                    attempts_remaining: number;
                                                    status: string;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                customer?: string | undefined;
                                                eps?: {
                                                    reference?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                flow: string;
                                                giropay?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                ideal?: {
                                                    bank?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                klarna?: {
                                                    background_image_url?: string | undefined;
                                                    client_token?: (string | null) | undefined;
                                                    first_name?: string | undefined;
                                                    last_name?: string | undefined;
                                                    locale?: string | undefined;
                                                    logo_url?: string | undefined;
                                                    page_title?: string | undefined;
                                                    pay_later_asset_urls_descriptive?: string | undefined;
                                                    pay_later_asset_urls_standard?: string | undefined;
                                                    pay_later_name?: string | undefined;
                                                    pay_later_redirect_url?: string | undefined;
                                                    pay_now_asset_urls_descriptive?: string | undefined;
                                                    pay_now_asset_urls_standard?: string | undefined;
                                                    pay_now_name?: string | undefined;
                                                    pay_now_redirect_url?: string | undefined;
                                                    pay_over_time_asset_urls_descriptive?: string | undefined;
                                                    pay_over_time_asset_urls_standard?: string | undefined;
                                                    pay_over_time_name?: string | undefined;
                                                    pay_over_time_redirect_url?: string | undefined;
                                                    payment_method_categories?: string | undefined;
                                                    purchase_country?: string | undefined;
                                                    purchase_type?: string | undefined;
                                                    redirect_url?: string | undefined;
                                                    shipping_delay?: number | undefined;
                                                    shipping_first_name?: string | undefined;
                                                    shipping_last_name?: string | undefined;
                                                } | undefined;
                                                livemode: boolean;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                multibanco?: {
                                                    entity?: (string | null) | undefined;
                                                    reference?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                owner: {
                                                    address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    email: string | null;
                                                    name: string | null;
                                                    phone: string | null;
                                                    verified_address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    verified_email: string | null;
                                                    verified_name: string | null;
                                                    verified_phone: string | null;
                                                } | null;
                                                p24?: {
                                                    reference?: (string | null) | undefined;
                                                } | undefined;
                                                receiver?: {
                                                    address: string | null;
                                                    amount_charged: number;
                                                    amount_received: number;
                                                    amount_returned: number;
                                                    refund_attributes_method: string;
                                                    refund_attributes_status: string;
                                                } | undefined;
                                                redirect?: {
                                                    failure_reason: string | null;
                                                    return_url: string;
                                                    status: string;
                                                    url: string;
                                                } | undefined;
                                                sepa_credit_transfer?: {
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                sepa_debit?: {
                                                    bank_code?: (string | null) | undefined;
                                                    branch_code?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    mandate_reference?: (string | null) | undefined;
                                                    mandate_url?: (string | null) | undefined;
                                                } | undefined;
                                                sofort?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                source_order?: {
                                                    amount: number;
                                                    currency: string;
                                                    email?: string | undefined;
                                                    items: {
                                                        amount: number | null;
                                                        currency: string | null;
                                                        description: string | null;
                                                        parent: string | null;
                                                        quantity?: number | undefined;
                                                        type: string | null;
                                                    }[] | null;
                                                    shipping?: {
                                                        address?: {
                                                            city: string | null;
                                                            country: string | null;
                                                            line1: string | null;
                                                            line2: string | null;
                                                            postal_code: string | null;
                                                            state: string | null;
                                                        } | undefined;
                                                        carrier?: (string | null) | undefined;
                                                        name?: string | undefined;
                                                        phone?: (string | null) | undefined;
                                                        tracking_number?: (string | null) | undefined;
                                                    } | undefined;
                                                } | undefined;
                                                statement_descriptor: string | null;
                                                status: string;
                                                three_d_secure?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    authenticated?: (boolean | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    card?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    customer?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                type: string;
                                                usage: string | null;
                                                wechat?: {
                                                    prepay_id?: string | undefined;
                                                    qr_code_url?: (string | null) | undefined;
                                                    statement_descriptor?: string | undefined;
                                                } | undefined;
                                            } | any | any | null;
                                            statement_descriptor: string | null;
                                            statement_descriptor_suffix: string | null;
                                            status: string;
                                            transfer_data: any | null;
                                            transfer_group: string | null;
                                        } | undefined;
                                        reason: string;
                                        session: {
                                            browser: string | null;
                                            device: string | null;
                                            platform: string | null;
                                            version: string | null;
                                        } | null;
                                    } | null;
                                    shipping: {
                                        address?: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | undefined;
                                        carrier?: (string | null) | undefined;
                                        name?: string | undefined;
                                        phone?: (string | null) | undefined;
                                        tracking_number?: (string | null) | undefined;
                                    } | null;
                                    source: any | any | {
                                        id: string;
                                        object: string;
                                        account?: string | any | null | undefined;
                                        address_city: string | null;
                                        address_country: string | null;
                                        address_line1: string | null;
                                        address_line1_check: string | null;
                                        address_line2: string | null;
                                        address_state: string | null;
                                        address_zip: string | null;
                                        address_zip_check: string | null;
                                        available_payout_methods?: string[] | null | undefined;
                                        brand: string;
                                        country: string | null;
                                        currency?: (string | null) | undefined;
                                        customer?: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null | undefined;
                                        cvc_check: string | null;
                                        default_for_currency?: (boolean | null) | undefined;
                                        deleted?: void | undefined;
                                        description?: string | undefined;
                                        dynamic_last4: string | null;
                                        exp_month: number;
                                        exp_year: number;
                                        fingerprint?: (string | null) | undefined;
                                        funding: string;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4: string;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        networks?: {
                                            preferred: string | null;
                                        } | undefined;
                                        status?: (string | null) | undefined;
                                        tokenization_method: string | null;
                                    } | {
                                        id: string;
                                        object: string;
                                        ach_credit_transfer?: {
                                            account_number?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_account_holder_type?: (string | null) | undefined;
                                            refund_routing_number?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                            swift_code?: (string | null) | undefined;
                                        } | undefined;
                                        ach_debit?: {
                                            bank_name?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                            type?: (string | null) | undefined;
                                        } | undefined;
                                        acss_debit?: {
                                            bank_address_city?: (string | null) | undefined;
                                            bank_address_line_1?: (string | null) | undefined;
                                            bank_address_line_2?: (string | null) | undefined;
                                            bank_address_postal_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            category?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                        } | undefined;
                                        alipay?: {
                                            data_string?: (string | null) | undefined;
                                            native_url?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        amount: number | null;
                                        au_becs_debit?: {
                                            bsb_number?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                        } | undefined;
                                        bancontact?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            preferred_language?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        card?: {
                                            address_line1_check?: (string | null) | undefined;
                                            address_zip_check?: (string | null) | undefined;
                                            brand?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            cvc_check?: (string | null) | undefined;
                                            description?: string | undefined;
                                            dynamic_last4?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            name?: (string | null) | undefined;
                                            three_d_secure?: string | undefined;
                                            tokenization_method?: (string | null) | undefined;
                                        } | undefined;
                                        card_present?: {
                                            application_cryptogram?: string | undefined;
                                            application_preferred_name?: string | undefined;
                                            authorization_code?: (string | null) | undefined;
                                            authorization_response_code?: string | undefined;
                                            brand?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            cvm_type?: string | undefined;
                                            data_type?: (string | null) | undefined;
                                            dedicated_file_name?: string | undefined;
                                            description?: string | undefined;
                                            emv_auth_data?: string | undefined;
                                            evidence_customer_signature?: (string | null) | undefined;
                                            evidence_transaction_certificate?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            pos_device_id?: (string | null) | undefined;
                                            pos_entry_mode?: string | undefined;
                                            read_method?: (string | null) | undefined;
                                            reader?: (string | null) | undefined;
                                            terminal_verification_results?: string | undefined;
                                            transaction_status_information?: string | undefined;
                                        } | undefined;
                                        client_secret: string;
                                        code_verification?: {
                                            attempts_remaining: number;
                                            status: string;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        customer?: string | undefined;
                                        eps?: {
                                            reference?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        flow: string;
                                        giropay?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        ideal?: {
                                            bank?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        klarna?: {
                                            background_image_url?: string | undefined;
                                            client_token?: (string | null) | undefined;
                                            first_name?: string | undefined;
                                            last_name?: string | undefined;
                                            locale?: string | undefined;
                                            logo_url?: string | undefined;
                                            page_title?: string | undefined;
                                            pay_later_asset_urls_descriptive?: string | undefined;
                                            pay_later_asset_urls_standard?: string | undefined;
                                            pay_later_name?: string | undefined;
                                            pay_later_redirect_url?: string | undefined;
                                            pay_now_asset_urls_descriptive?: string | undefined;
                                            pay_now_asset_urls_standard?: string | undefined;
                                            pay_now_name?: string | undefined;
                                            pay_now_redirect_url?: string | undefined;
                                            pay_over_time_asset_urls_descriptive?: string | undefined;
                                            pay_over_time_asset_urls_standard?: string | undefined;
                                            pay_over_time_name?: string | undefined;
                                            pay_over_time_redirect_url?: string | undefined;
                                            payment_method_categories?: string | undefined;
                                            purchase_country?: string | undefined;
                                            purchase_type?: string | undefined;
                                            redirect_url?: string | undefined;
                                            shipping_delay?: number | undefined;
                                            shipping_first_name?: string | undefined;
                                            shipping_last_name?: string | undefined;
                                        } | undefined;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        multibanco?: {
                                            entity?: (string | null) | undefined;
                                            reference?: (string | null) | undefined;
                                            refund_account_holder_address_city?: (string | null) | undefined;
                                            refund_account_holder_address_country?: (string | null) | undefined;
                                            refund_account_holder_address_line1?: (string | null) | undefined;
                                            refund_account_holder_address_line2?: (string | null) | undefined;
                                            refund_account_holder_address_postal_code?: (string | null) | undefined;
                                            refund_account_holder_address_state?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_iban?: (string | null) | undefined;
                                        } | undefined;
                                        owner: {
                                            address: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | null;
                                            email: string | null;
                                            name: string | null;
                                            phone: string | null;
                                            verified_address: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | null;
                                            verified_email: string | null;
                                            verified_name: string | null;
                                            verified_phone: string | null;
                                        } | null;
                                        p24?: {
                                            reference?: (string | null) | undefined;
                                        } | undefined;
                                        receiver?: {
                                            address: string | null;
                                            amount_charged: number;
                                            amount_received: number;
                                            amount_returned: number;
                                            refund_attributes_method: string;
                                            refund_attributes_status: string;
                                        } | undefined;
                                        redirect?: {
                                            failure_reason: string | null;
                                            return_url: string;
                                            status: string;
                                            url: string;
                                        } | undefined;
                                        sepa_credit_transfer?: {
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban?: (string | null) | undefined;
                                            refund_account_holder_address_city?: (string | null) | undefined;
                                            refund_account_holder_address_country?: (string | null) | undefined;
                                            refund_account_holder_address_line1?: (string | null) | undefined;
                                            refund_account_holder_address_line2?: (string | null) | undefined;
                                            refund_account_holder_address_postal_code?: (string | null) | undefined;
                                            refund_account_holder_address_state?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_iban?: (string | null) | undefined;
                                        } | undefined;
                                        sepa_debit?: {
                                            bank_code?: (string | null) | undefined;
                                            branch_code?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            mandate_reference?: (string | null) | undefined;
                                            mandate_url?: (string | null) | undefined;
                                        } | undefined;
                                        sofort?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            preferred_language?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        source_order?: {
                                            amount: number;
                                            currency: string;
                                            email?: string | undefined;
                                            items: {
                                                amount: number | null;
                                                currency: string | null;
                                                description: string | null;
                                                parent: string | null;
                                                quantity?: number | undefined;
                                                type: string | null;
                                            }[] | null;
                                            shipping?: {
                                                address?: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | undefined;
                                                carrier?: (string | null) | undefined;
                                                name?: string | undefined;
                                                phone?: (string | null) | undefined;
                                                tracking_number?: (string | null) | undefined;
                                            } | undefined;
                                        } | undefined;
                                        statement_descriptor: string | null;
                                        status: string;
                                        three_d_secure?: {
                                            address_line1_check?: (string | null) | undefined;
                                            address_zip_check?: (string | null) | undefined;
                                            authenticated?: (boolean | null) | undefined;
                                            brand?: (string | null) | undefined;
                                            card?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            customer?: (string | null) | undefined;
                                            cvc_check?: (string | null) | undefined;
                                            description?: string | undefined;
                                            dynamic_last4?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            name?: (string | null) | undefined;
                                            three_d_secure?: string | undefined;
                                            tokenization_method?: (string | null) | undefined;
                                        } | undefined;
                                        type: string;
                                        usage: string | null;
                                        wechat?: {
                                            prepay_id?: string | undefined;
                                            qr_code_url?: (string | null) | undefined;
                                            statement_descriptor?: string | undefined;
                                        } | undefined;
                                    } | null;
                                    source_transfer: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        amount_reversed: number;
                                        balance_transaction: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            available_on: number;
                                            created: number;
                                            currency: string;
                                            description: string | null;
                                            exchange_rate: number | null;
                                            fee: number;
                                            fee_details: any[];
                                            net: number;
                                            reporting_category: string;
                                            source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                            status: string;
                                            type: string;
                                        } | null;
                                        created: number;
                                        currency: string;
                                        description: string | null;
                                        destination: string | any | null;
                                        destination_payment?: string | any | undefined;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        };
                                        reversals: {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            balance_transaction: string | {
                                                id: string;
                                                object: string;
                                                amount: number;
                                                available_on: number;
                                                created: number;
                                                currency: string;
                                                description: string | null;
                                                exchange_rate: number | null;
                                                fee: number;
                                                fee_details: any[];
                                                net: number;
                                                reporting_category: string;
                                                source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                                status: string;
                                                type: string;
                                            } | null;
                                            created: number;
                                            currency: string;
                                            destination_payment_refund: string | any | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            source_refund: string | any | null;
                                            transfer: string | any;
                                        }[];
                                        reversed: boolean;
                                        source_transaction: string | any | null;
                                        source_type?: string | undefined;
                                        transfer_group: string | null;
                                    } | null;
                                    statement_descriptor: string | null;
                                    statement_descriptor_suffix: string | null;
                                    status: string;
                                    transfer?: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        amount_reversed: number;
                                        balance_transaction: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            available_on: number;
                                            created: number;
                                            currency: string;
                                            description: string | null;
                                            exchange_rate: number | null;
                                            fee: number;
                                            fee_details: any[];
                                            net: number;
                                            reporting_category: string;
                                            source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                            status: string;
                                            type: string;
                                        } | null;
                                        created: number;
                                        currency: string;
                                        description: string | null;
                                        destination: string | any | null;
                                        destination_payment?: string | any | undefined;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        };
                                        reversals: {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            balance_transaction: string | {
                                                id: string;
                                                object: string;
                                                amount: number;
                                                available_on: number;
                                                created: number;
                                                currency: string;
                                                description: string | null;
                                                exchange_rate: number | null;
                                                fee: number;
                                                fee_details: any[];
                                                net: number;
                                                reporting_category: string;
                                                source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                                status: string;
                                                type: string;
                                            } | null;
                                            created: number;
                                            currency: string;
                                            destination_payment_refund: string | any | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            source_refund: string | any | null;
                                            transfer: string | any;
                                        }[];
                                        reversed: boolean;
                                        source_transaction: string | any | null;
                                        source_type?: string | undefined;
                                        transfer_group: string | null;
                                    } | undefined;
                                    transfer_data: {
                                        amount: number | null;
                                        destination: string | any;
                                    } | null;
                                    transfer_group: string | null;
                                } | null;
                                setup_attempt: string | {
                                    id: string;
                                    object: string;
                                    application: string | {
                                        id: string;
                                        object: string;
                                        deleted?: void | undefined;
                                        name: string | null;
                                    } | null;
                                    attach_to_self?: boolean | undefined;
                                    created: number;
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    flow_directions: string[] | null;
                                    livemode: boolean;
                                    on_behalf_of: string | any | null;
                                    payment_method: string | any;
                                    payment_method_details: {
                                        acss_debit?: {} | undefined;
                                        amazon_pay?: {} | undefined;
                                        au_becs_debit?: {} | undefined;
                                        bacs_debit?: {} | undefined;
                                        bancontact?: {
                                            bank_code: string | null;
                                            bank_name: string | null;
                                            bic: string | null;
                                            generated_sepa_debit: string | any | null;
                                            generated_sepa_debit_mandate: string | any | null;
                                            iban_last4: string | null;
                                            preferred_language: string | null;
                                            verified_name: string | null;
                                        } | undefined;
                                        boleto?: {} | undefined;
                                        card?: {
                                            brand: string | null;
                                            checks: any | null;
                                            country: string | null;
                                            description?: (string | null) | undefined;
                                            exp_month: number | null;
                                            exp_year: number | null;
                                            fingerprint?: (string | null) | undefined;
                                            funding: string | null;
                                            iin?: (string | null) | undefined;
                                            issuer?: (string | null) | undefined;
                                            last4: string | null;
                                            network: string | null;
                                            three_d_secure: any | null;
                                            wallet: any | null;
                                        } | undefined;
                                        card_present?: {
                                            generated_card: string | any | null;
                                            offline: any | null;
                                        } | undefined;
                                        cashapp?: {} | undefined;
                                        ideal?: {
                                            bank: string | null;
                                            bic: string | null;
                                            generated_sepa_debit: string | any | null;
                                            generated_sepa_debit_mandate: string | any | null;
                                            iban_last4: string | null;
                                            verified_name: string | null;
                                        } | undefined;
                                        kakao_pay?: {} | undefined;
                                        klarna?: {} | undefined;
                                        kr_card?: {} | undefined;
                                        link?: {} | undefined;
                                        paypal?: {} | undefined;
                                        revolut_pay?: {} | undefined;
                                        sepa_debit?: {} | undefined;
                                        sofort?: {
                                            bank_code: string | null;
                                            bank_name: string | null;
                                            bic: string | null;
                                            generated_sepa_debit: string | any | null;
                                            generated_sepa_debit_mandate: string | any | null;
                                            iban_last4: string | null;
                                            preferred_language: string | null;
                                            verified_name: string | null;
                                        } | undefined;
                                        type: string;
                                        us_bank_account?: {} | undefined;
                                    };
                                    setup_error: {
                                        charge?: string | undefined;
                                        code?: string | undefined;
                                        decline_code?: string | undefined;
                                        doc_url?: string | undefined;
                                        message?: string | undefined;
                                        param?: string | undefined;
                                        payment_intent?: {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            amount_capturable: number;
                                            amount_details?: any | undefined;
                                            amount_received: number;
                                            application: string | {
                                                id: string;
                                                object: string;
                                                deleted?: void | undefined;
                                                name: string | null;
                                            } | null;
                                            application_fee_amount: number | null;
                                            automatic_payment_methods: any | null;
                                            canceled_at: number | null;
                                            cancellation_reason: string | null;
                                            capture_method: string;
                                            client_secret: string | null;
                                            confirmation_method: string;
                                            created: number;
                                            currency: string;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            description: string | null;
                                            invoice: string | any | null;
                                            last_payment_error: any | null;
                                            latest_charge: string | any | null;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            };
                                            next_action: any | null;
                                            on_behalf_of: string | any | null;
                                            payment_method: string | any | null;
                                            payment_method_configuration_details: any | null;
                                            payment_method_options: any | null;
                                            payment_method_types: Array<string>;
                                            processing: any | null;
                                            receipt_email: string | null;
                                            review: string | any | null;
                                            setup_future_usage: string | null;
                                            shipping: any | null;
                                            source: string | any | any | {
                                                id: string;
                                                object: string;
                                                account?: string | any | null | undefined;
                                                address_city: string | null;
                                                address_country: string | null;
                                                address_line1: string | null;
                                                address_line1_check: string | null;
                                                address_line2: string | null;
                                                address_state: string | null;
                                                address_zip: string | null;
                                                address_zip_check: string | null;
                                                available_payout_methods?: string[] | null | undefined;
                                                brand: string;
                                                country: string | null;
                                                currency?: (string | null) | undefined;
                                                customer?: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null | undefined;
                                                cvc_check: string | null;
                                                default_for_currency?: (boolean | null) | undefined;
                                                deleted?: void | undefined;
                                                description?: string | undefined;
                                                dynamic_last4: string | null;
                                                exp_month: number;
                                                exp_year: number;
                                                fingerprint?: (string | null) | undefined;
                                                funding: string;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4: string;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                networks?: {
                                                    preferred: string | null;
                                                } | undefined;
                                                status?: (string | null) | undefined;
                                                tokenization_method: string | null;
                                            } | {
                                                id: string;
                                                object: string;
                                                ach_credit_transfer?: {
                                                    account_number?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_account_holder_type?: (string | null) | undefined;
                                                    refund_routing_number?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    swift_code?: (string | null) | undefined;
                                                } | undefined;
                                                ach_debit?: {
                                                    bank_name?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    type?: (string | null) | undefined;
                                                } | undefined;
                                                acss_debit?: {
                                                    bank_address_city?: (string | null) | undefined;
                                                    bank_address_line_1?: (string | null) | undefined;
                                                    bank_address_line_2?: (string | null) | undefined;
                                                    bank_address_postal_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    category?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                } | undefined;
                                                alipay?: {
                                                    data_string?: (string | null) | undefined;
                                                    native_url?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                amount: number | null;
                                                au_becs_debit?: {
                                                    bsb_number?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                } | undefined;
                                                bancontact?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                card?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                card_present?: {
                                                    application_cryptogram?: string | undefined;
                                                    application_preferred_name?: string | undefined;
                                                    authorization_code?: (string | null) | undefined;
                                                    authorization_response_code?: string | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvm_type?: string | undefined;
                                                    data_type?: (string | null) | undefined;
                                                    dedicated_file_name?: string | undefined;
                                                    description?: string | undefined;
                                                    emv_auth_data?: string | undefined;
                                                    evidence_customer_signature?: (string | null) | undefined;
                                                    evidence_transaction_certificate?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    pos_device_id?: (string | null) | undefined;
                                                    pos_entry_mode?: string | undefined;
                                                    read_method?: (string | null) | undefined;
                                                    reader?: (string | null) | undefined;
                                                    terminal_verification_results?: string | undefined;
                                                    transaction_status_information?: string | undefined;
                                                } | undefined;
                                                client_secret: string;
                                                code_verification?: {
                                                    attempts_remaining: number;
                                                    status: string;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                customer?: string | undefined;
                                                eps?: {
                                                    reference?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                flow: string;
                                                giropay?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                ideal?: {
                                                    bank?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                klarna?: {
                                                    background_image_url?: string | undefined;
                                                    client_token?: (string | null) | undefined;
                                                    first_name?: string | undefined;
                                                    last_name?: string | undefined;
                                                    locale?: string | undefined;
                                                    logo_url?: string | undefined;
                                                    page_title?: string | undefined;
                                                    pay_later_asset_urls_descriptive?: string | undefined;
                                                    pay_later_asset_urls_standard?: string | undefined;
                                                    pay_later_name?: string | undefined;
                                                    pay_later_redirect_url?: string | undefined;
                                                    pay_now_asset_urls_descriptive?: string | undefined;
                                                    pay_now_asset_urls_standard?: string | undefined;
                                                    pay_now_name?: string | undefined;
                                                    pay_now_redirect_url?: string | undefined;
                                                    pay_over_time_asset_urls_descriptive?: string | undefined;
                                                    pay_over_time_asset_urls_standard?: string | undefined;
                                                    pay_over_time_name?: string | undefined;
                                                    pay_over_time_redirect_url?: string | undefined;
                                                    payment_method_categories?: string | undefined;
                                                    purchase_country?: string | undefined;
                                                    purchase_type?: string | undefined;
                                                    redirect_url?: string | undefined;
                                                    shipping_delay?: number | undefined;
                                                    shipping_first_name?: string | undefined;
                                                    shipping_last_name?: string | undefined;
                                                } | undefined;
                                                livemode: boolean;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                multibanco?: {
                                                    entity?: (string | null) | undefined;
                                                    reference?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                owner: {
                                                    address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    email: string | null;
                                                    name: string | null;
                                                    phone: string | null;
                                                    verified_address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    verified_email: string | null;
                                                    verified_name: string | null;
                                                    verified_phone: string | null;
                                                } | null;
                                                p24?: {
                                                    reference?: (string | null) | undefined;
                                                } | undefined;
                                                receiver?: {
                                                    address: string | null;
                                                    amount_charged: number;
                                                    amount_received: number;
                                                    amount_returned: number;
                                                    refund_attributes_method: string;
                                                    refund_attributes_status: string;
                                                } | undefined;
                                                redirect?: {
                                                    failure_reason: string | null;
                                                    return_url: string;
                                                    status: string;
                                                    url: string;
                                                } | undefined;
                                                sepa_credit_transfer?: {
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                sepa_debit?: {
                                                    bank_code?: (string | null) | undefined;
                                                    branch_code?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    mandate_reference?: (string | null) | undefined;
                                                    mandate_url?: (string | null) | undefined;
                                                } | undefined;
                                                sofort?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                source_order?: {
                                                    amount: number;
                                                    currency: string;
                                                    email?: string | undefined;
                                                    items: {
                                                        amount: number | null;
                                                        currency: string | null;
                                                        description: string | null;
                                                        parent: string | null;
                                                        quantity?: number | undefined;
                                                        type: string | null;
                                                    }[] | null;
                                                    shipping?: {
                                                        address?: {
                                                            city: string | null;
                                                            country: string | null;
                                                            line1: string | null;
                                                            line2: string | null;
                                                            postal_code: string | null;
                                                            state: string | null;
                                                        } | undefined;
                                                        carrier?: (string | null) | undefined;
                                                        name?: string | undefined;
                                                        phone?: (string | null) | undefined;
                                                        tracking_number?: (string | null) | undefined;
                                                    } | undefined;
                                                } | undefined;
                                                statement_descriptor: string | null;
                                                status: string;
                                                three_d_secure?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    authenticated?: (boolean | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    card?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    customer?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                type: string;
                                                usage: string | null;
                                                wechat?: {
                                                    prepay_id?: string | undefined;
                                                    qr_code_url?: (string | null) | undefined;
                                                    statement_descriptor?: string | undefined;
                                                } | undefined;
                                            } | any | any | null;
                                            statement_descriptor: string | null;
                                            statement_descriptor_suffix: string | null;
                                            status: string;
                                            transfer_data: any | null;
                                            transfer_group: string | null;
                                        } | undefined;
                                        payment_method?: any | undefined;
                                        payment_method_type?: string | undefined;
                                        request_log_url?: string | undefined;
                                        setup_intent?: {
                                            id: string;
                                            object: string;
                                            application: string | {
                                                id: string;
                                                object: string;
                                                deleted?: void | undefined;
                                                name: string | null;
                                            } | null;
                                            attach_to_self?: boolean | undefined;
                                            automatic_payment_methods: any | null;
                                            cancellation_reason: string | null;
                                            client_secret: string | null;
                                            created: number;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            description: string | null;
                                            flow_directions: string[] | null;
                                            last_setup_error: any | null;
                                            latest_attempt: string | any | null;
                                            livemode: boolean;
                                            mandate: string | any | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            next_action: any | null;
                                            on_behalf_of: string | any | null;
                                            payment_method: string | any | null;
                                            payment_method_configuration_details: any | null;
                                            payment_method_options: any | null;
                                            payment_method_types: Array<string>;
                                            single_use_mandate: string | any | null;
                                            status: string;
                                            usage: string;
                                        } | undefined;
                                        source?: any | any | {
                                            id: string;
                                            object: string;
                                            account?: string | any | null | undefined;
                                            address_city: string | null;
                                            address_country: string | null;
                                            address_line1: string | null;
                                            address_line1_check: string | null;
                                            address_line2: string | null;
                                            address_state: string | null;
                                            address_zip: string | null;
                                            address_zip_check: string | null;
                                            available_payout_methods?: string[] | null | undefined;
                                            brand: string;
                                            country: string | null;
                                            currency?: (string | null) | undefined;
                                            customer?: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null | undefined;
                                            cvc_check: string | null;
                                            default_for_currency?: (boolean | null) | undefined;
                                            deleted?: void | undefined;
                                            description?: string | undefined;
                                            dynamic_last4: string | null;
                                            exp_month: number;
                                            exp_year: number;
                                            fingerprint?: (string | null) | undefined;
                                            funding: string;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4: string;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            networks?: {
                                                preferred: string | null;
                                            } | undefined;
                                            status?: (string | null) | undefined;
                                            tokenization_method: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            ach_credit_transfer?: {
                                                account_number?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_account_holder_type?: (string | null) | undefined;
                                                refund_routing_number?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                swift_code?: (string | null) | undefined;
                                            } | undefined;
                                            ach_debit?: {
                                                bank_name?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                type?: (string | null) | undefined;
                                            } | undefined;
                                            acss_debit?: {
                                                bank_address_city?: (string | null) | undefined;
                                                bank_address_line_1?: (string | null) | undefined;
                                                bank_address_line_2?: (string | null) | undefined;
                                                bank_address_postal_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                category?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                            } | undefined;
                                            alipay?: {
                                                data_string?: (string | null) | undefined;
                                                native_url?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            amount: number | null;
                                            au_becs_debit?: {
                                                bsb_number?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                            } | undefined;
                                            bancontact?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            card?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            card_present?: {
                                                application_cryptogram?: string | undefined;
                                                application_preferred_name?: string | undefined;
                                                authorization_code?: (string | null) | undefined;
                                                authorization_response_code?: string | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvm_type?: string | undefined;
                                                data_type?: (string | null) | undefined;
                                                dedicated_file_name?: string | undefined;
                                                description?: string | undefined;
                                                emv_auth_data?: string | undefined;
                                                evidence_customer_signature?: (string | null) | undefined;
                                                evidence_transaction_certificate?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                pos_device_id?: (string | null) | undefined;
                                                pos_entry_mode?: string | undefined;
                                                read_method?: (string | null) | undefined;
                                                reader?: (string | null) | undefined;
                                                terminal_verification_results?: string | undefined;
                                                transaction_status_information?: string | undefined;
                                            } | undefined;
                                            client_secret: string;
                                            code_verification?: {
                                                attempts_remaining: number;
                                                status: string;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            customer?: string | undefined;
                                            eps?: {
                                                reference?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            flow: string;
                                            giropay?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            ideal?: {
                                                bank?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            klarna?: {
                                                background_image_url?: string | undefined;
                                                client_token?: (string | null) | undefined;
                                                first_name?: string | undefined;
                                                last_name?: string | undefined;
                                                locale?: string | undefined;
                                                logo_url?: string | undefined;
                                                page_title?: string | undefined;
                                                pay_later_asset_urls_descriptive?: string | undefined;
                                                pay_later_asset_urls_standard?: string | undefined;
                                                pay_later_name?: string | undefined;
                                                pay_later_redirect_url?: string | undefined;
                                                pay_now_asset_urls_descriptive?: string | undefined;
                                                pay_now_asset_urls_standard?: string | undefined;
                                                pay_now_name?: string | undefined;
                                                pay_now_redirect_url?: string | undefined;
                                                pay_over_time_asset_urls_descriptive?: string | undefined;
                                                pay_over_time_asset_urls_standard?: string | undefined;
                                                pay_over_time_name?: string | undefined;
                                                pay_over_time_redirect_url?: string | undefined;
                                                payment_method_categories?: string | undefined;
                                                purchase_country?: string | undefined;
                                                purchase_type?: string | undefined;
                                                redirect_url?: string | undefined;
                                                shipping_delay?: number | undefined;
                                                shipping_first_name?: string | undefined;
                                                shipping_last_name?: string | undefined;
                                            } | undefined;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            multibanco?: {
                                                entity?: (string | null) | undefined;
                                                reference?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            owner: {
                                                address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                email: string | null;
                                                name: string | null;
                                                phone: string | null;
                                                verified_address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                verified_email: string | null;
                                                verified_name: string | null;
                                                verified_phone: string | null;
                                            } | null;
                                            p24?: {
                                                reference?: (string | null) | undefined;
                                            } | undefined;
                                            receiver?: {
                                                address: string | null;
                                                amount_charged: number;
                                                amount_received: number;
                                                amount_returned: number;
                                                refund_attributes_method: string;
                                                refund_attributes_status: string;
                                            } | undefined;
                                            redirect?: {
                                                failure_reason: string | null;
                                                return_url: string;
                                                status: string;
                                                url: string;
                                            } | undefined;
                                            sepa_credit_transfer?: {
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            sepa_debit?: {
                                                bank_code?: (string | null) | undefined;
                                                branch_code?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                mandate_reference?: (string | null) | undefined;
                                                mandate_url?: (string | null) | undefined;
                                            } | undefined;
                                            sofort?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            source_order?: {
                                                amount: number;
                                                currency: string;
                                                email?: string | undefined;
                                                items: {
                                                    amount: number | null;
                                                    currency: string | null;
                                                    description: string | null;
                                                    parent: string | null;
                                                    quantity?: number | undefined;
                                                    type: string | null;
                                                }[] | null;
                                                shipping?: {
                                                    address?: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | undefined;
                                                    carrier?: (string | null) | undefined;
                                                    name?: string | undefined;
                                                    phone?: (string | null) | undefined;
                                                    tracking_number?: (string | null) | undefined;
                                                } | undefined;
                                            } | undefined;
                                            statement_descriptor: string | null;
                                            status: string;
                                            three_d_secure?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                authenticated?: (boolean | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                card?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                customer?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            type: string;
                                            usage: string | null;
                                            wechat?: {
                                                prepay_id?: string | undefined;
                                                qr_code_url?: (string | null) | undefined;
                                                statement_descriptor?: string | undefined;
                                            } | undefined;
                                        } | undefined;
                                        type: string;
                                    } | null;
                                    setup_intent: string | {
                                        id: string;
                                        object: string;
                                        application: string | {
                                            id: string;
                                            object: string;
                                            deleted?: void | undefined;
                                            name: string | null;
                                        } | null;
                                        attach_to_self?: boolean | undefined;
                                        automatic_payment_methods: any | null;
                                        cancellation_reason: string | null;
                                        client_secret: string | null;
                                        created: number;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        description: string | null;
                                        flow_directions: string[] | null;
                                        last_setup_error: any | null;
                                        latest_attempt: string | any | null;
                                        livemode: boolean;
                                        mandate: string | any | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        next_action: any | null;
                                        on_behalf_of: string | any | null;
                                        payment_method: string | any | null;
                                        payment_method_configuration_details: any | null;
                                        payment_method_options: any | null;
                                        payment_method_types: Array<string>;
                                        single_use_mandate: string | any | null;
                                        status: string;
                                        usage: string;
                                    };
                                    status: string;
                                    usage: string;
                                } | null;
                            } | null;
                            last4: string | null;
                        } | undefined;
                        sofort?: {
                            country: string | null;
                        } | undefined;
                        swish?: {} | undefined;
                        twint?: {} | undefined;
                        type: string;
                        us_bank_account?: {
                            account_holder_type: string | null;
                            account_type: string | null;
                            bank_name: string | null;
                            financial_connections_account: string | null;
                            fingerprint: string | null;
                            last4: string | null;
                            networks: {
                                preferred: string | null;
                                supported: string[];
                            } | null;
                            routing_number: string | null;
                            status_details: {
                                blocked?: {
                                    network_code: string | null;
                                    reason: string | null;
                                } | undefined;
                            } | null;
                        } | undefined;
                        wechat_pay?: {} | undefined;
                        zip?: {} | undefined;
                    } | null;
                    footer: string | null;
                    rendering_options: {
                        amount_tax_display: string | null;
                        template: string | null;
                    } | null;
                };
                livemode: boolean;
                metadata: {
                    [x: string]: string;
                };
                name?: (string | null) | undefined;
                next_invoice_sequence?: number | undefined;
                phone?: (string | null) | undefined;
                preferred_locales?: (Array<string> | null) | undefined;
                shipping: {
                    address?: {
                        city: string | null;
                        country: string | null;
                        line1: string | null;
                        line2: string | null;
                        postal_code: string | null;
                        state: string | null;
                    } | undefined;
                    carrier?: (string | null) | undefined;
                    name?: string | undefined;
                    phone?: (string | null) | undefined;
                    tracking_number?: (string | null) | undefined;
                } | null;
                sources?: (any | any | {
                    id: string;
                    object: string;
                    account?: string | any | null | undefined;
                    address_city: string | null;
                    address_country: string | null;
                    address_line1: string | null;
                    address_line1_check: string | null;
                    address_line2: string | null;
                    address_state: string | null;
                    address_zip: string | null;
                    address_zip_check: string | null;
                    available_payout_methods?: string[] | null | undefined;
                    brand: string;
                    country: string | null;
                    currency?: (string | null) | undefined;
                    customer?: string | any | {
                        id: string;
                        object: string;
                        deleted: boolean;
                    } | null | undefined;
                    cvc_check: string | null;
                    default_for_currency?: (boolean | null) | undefined;
                    deleted?: void | undefined;
                    description?: string | undefined;
                    dynamic_last4: string | null;
                    exp_month: number;
                    exp_year: number;
                    fingerprint?: (string | null) | undefined;
                    funding: string;
                    iin?: string | undefined;
                    issuer?: string | undefined;
                    last4: string;
                    metadata: {
                        [x: string]: string;
                    } | null;
                    name: string | null;
                    networks?: {
                        preferred: string | null;
                    } | undefined;
                    status?: (string | null) | undefined;
                    tokenization_method: string | null;
                } | {
                    id: string;
                    object: string;
                    ach_credit_transfer?: {
                        account_number?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        refund_account_holder_name?: (string | null) | undefined;
                        refund_account_holder_type?: (string | null) | undefined;
                        refund_routing_number?: (string | null) | undefined;
                        routing_number?: (string | null) | undefined;
                        swift_code?: (string | null) | undefined;
                    } | undefined;
                    ach_debit?: {
                        bank_name?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        last4?: (string | null) | undefined;
                        routing_number?: (string | null) | undefined;
                        type?: (string | null) | undefined;
                    } | undefined;
                    acss_debit?: {
                        bank_address_city?: (string | null) | undefined;
                        bank_address_line_1?: (string | null) | undefined;
                        bank_address_line_2?: (string | null) | undefined;
                        bank_address_postal_code?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        category?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        last4?: (string | null) | undefined;
                        routing_number?: (string | null) | undefined;
                    } | undefined;
                    alipay?: {
                        data_string?: (string | null) | undefined;
                        native_url?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    amount: number | null;
                    au_becs_debit?: {
                        bsb_number?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        last4?: (string | null) | undefined;
                    } | undefined;
                    bancontact?: {
                        bank_code?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        iban_last4?: (string | null) | undefined;
                        preferred_language?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    card?: {
                        address_line1_check?: (string | null) | undefined;
                        address_zip_check?: (string | null) | undefined;
                        brand?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        cvc_check?: (string | null) | undefined;
                        description?: string | undefined;
                        dynamic_last4?: (string | null) | undefined;
                        exp_month?: (number | null) | undefined;
                        exp_year?: (number | null) | undefined;
                        fingerprint?: string | undefined;
                        funding?: (string | null) | undefined;
                        iin?: string | undefined;
                        issuer?: string | undefined;
                        last4?: (string | null) | undefined;
                        name?: (string | null) | undefined;
                        three_d_secure?: string | undefined;
                        tokenization_method?: (string | null) | undefined;
                    } | undefined;
                    card_present?: {
                        application_cryptogram?: string | undefined;
                        application_preferred_name?: string | undefined;
                        authorization_code?: (string | null) | undefined;
                        authorization_response_code?: string | undefined;
                        brand?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        cvm_type?: string | undefined;
                        data_type?: (string | null) | undefined;
                        dedicated_file_name?: string | undefined;
                        description?: string | undefined;
                        emv_auth_data?: string | undefined;
                        evidence_customer_signature?: (string | null) | undefined;
                        evidence_transaction_certificate?: (string | null) | undefined;
                        exp_month?: (number | null) | undefined;
                        exp_year?: (number | null) | undefined;
                        fingerprint?: string | undefined;
                        funding?: (string | null) | undefined;
                        iin?: string | undefined;
                        issuer?: string | undefined;
                        last4?: (string | null) | undefined;
                        pos_device_id?: (string | null) | undefined;
                        pos_entry_mode?: string | undefined;
                        read_method?: (string | null) | undefined;
                        reader?: (string | null) | undefined;
                        terminal_verification_results?: string | undefined;
                        transaction_status_information?: string | undefined;
                    } | undefined;
                    client_secret: string;
                    code_verification?: {
                        attempts_remaining: number;
                        status: string;
                    } | undefined;
                    created: number;
                    currency: string | null;
                    customer?: string | undefined;
                    eps?: {
                        reference?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    flow: string;
                    giropay?: {
                        bank_code?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    ideal?: {
                        bank?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        iban_last4?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    klarna?: {
                        background_image_url?: string | undefined;
                        client_token?: (string | null) | undefined;
                        first_name?: string | undefined;
                        last_name?: string | undefined;
                        locale?: string | undefined;
                        logo_url?: string | undefined;
                        page_title?: string | undefined;
                        pay_later_asset_urls_descriptive?: string | undefined;
                        pay_later_asset_urls_standard?: string | undefined;
                        pay_later_name?: string | undefined;
                        pay_later_redirect_url?: string | undefined;
                        pay_now_asset_urls_descriptive?: string | undefined;
                        pay_now_asset_urls_standard?: string | undefined;
                        pay_now_name?: string | undefined;
                        pay_now_redirect_url?: string | undefined;
                        pay_over_time_asset_urls_descriptive?: string | undefined;
                        pay_over_time_asset_urls_standard?: string | undefined;
                        pay_over_time_name?: string | undefined;
                        pay_over_time_redirect_url?: string | undefined;
                        payment_method_categories?: string | undefined;
                        purchase_country?: string | undefined;
                        purchase_type?: string | undefined;
                        redirect_url?: string | undefined;
                        shipping_delay?: number | undefined;
                        shipping_first_name?: string | undefined;
                        shipping_last_name?: string | undefined;
                    } | undefined;
                    livemode: boolean;
                    metadata: {
                        [x: string]: string;
                    } | null;
                    multibanco?: {
                        entity?: (string | null) | undefined;
                        reference?: (string | null) | undefined;
                        refund_account_holder_address_city?: (string | null) | undefined;
                        refund_account_holder_address_country?: (string | null) | undefined;
                        refund_account_holder_address_line1?: (string | null) | undefined;
                        refund_account_holder_address_line2?: (string | null) | undefined;
                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                        refund_account_holder_address_state?: (string | null) | undefined;
                        refund_account_holder_name?: (string | null) | undefined;
                        refund_iban?: (string | null) | undefined;
                    } | undefined;
                    owner: {
                        address: {
                            city: string | null;
                            country: string | null;
                            line1: string | null;
                            line2: string | null;
                            postal_code: string | null;
                            state: string | null;
                        } | null;
                        email: string | null;
                        name: string | null;
                        phone: string | null;
                        verified_address: {
                            city: string | null;
                            country: string | null;
                            line1: string | null;
                            line2: string | null;
                            postal_code: string | null;
                            state: string | null;
                        } | null;
                        verified_email: string | null;
                        verified_name: string | null;
                        verified_phone: string | null;
                    } | null;
                    p24?: {
                        reference?: (string | null) | undefined;
                    } | undefined;
                    receiver?: {
                        address: string | null;
                        amount_charged: number;
                        amount_received: number;
                        amount_returned: number;
                        refund_attributes_method: string;
                        refund_attributes_status: string;
                    } | undefined;
                    redirect?: {
                        failure_reason: string | null;
                        return_url: string;
                        status: string;
                        url: string;
                    } | undefined;
                    sepa_credit_transfer?: {
                        bank_name?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        iban?: (string | null) | undefined;
                        refund_account_holder_address_city?: (string | null) | undefined;
                        refund_account_holder_address_country?: (string | null) | undefined;
                        refund_account_holder_address_line1?: (string | null) | undefined;
                        refund_account_holder_address_line2?: (string | null) | undefined;
                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                        refund_account_holder_address_state?: (string | null) | undefined;
                        refund_account_holder_name?: (string | null) | undefined;
                        refund_iban?: (string | null) | undefined;
                    } | undefined;
                    sepa_debit?: {
                        bank_code?: (string | null) | undefined;
                        branch_code?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        last4?: (string | null) | undefined;
                        mandate_reference?: (string | null) | undefined;
                        mandate_url?: (string | null) | undefined;
                    } | undefined;
                    sofort?: {
                        bank_code?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        iban_last4?: (string | null) | undefined;
                        preferred_language?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    source_order?: {
                        amount: number;
                        currency: string;
                        email?: string | undefined;
                        items: {
                            amount: number | null;
                            currency: string | null;
                            description: string | null;
                            parent: string | null;
                            quantity?: number | undefined;
                            type: string | null;
                        }[] | null;
                        shipping?: {
                            address?: {
                                city: string | null;
                                country: string | null;
                                line1: string | null;
                                line2: string | null;
                                postal_code: string | null;
                                state: string | null;
                            } | undefined;
                            carrier?: (string | null) | undefined;
                            name?: string | undefined;
                            phone?: (string | null) | undefined;
                            tracking_number?: (string | null) | undefined;
                        } | undefined;
                    } | undefined;
                    statement_descriptor: string | null;
                    status: string;
                    three_d_secure?: {
                        address_line1_check?: (string | null) | undefined;
                        address_zip_check?: (string | null) | undefined;
                        authenticated?: (boolean | null) | undefined;
                        brand?: (string | null) | undefined;
                        card?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        customer?: (string | null) | undefined;
                        cvc_check?: (string | null) | undefined;
                        description?: string | undefined;
                        dynamic_last4?: (string | null) | undefined;
                        exp_month?: (number | null) | undefined;
                        exp_year?: (number | null) | undefined;
                        fingerprint?: string | undefined;
                        funding?: (string | null) | undefined;
                        iin?: string | undefined;
                        issuer?: string | undefined;
                        last4?: (string | null) | undefined;
                        name?: (string | null) | undefined;
                        three_d_secure?: string | undefined;
                        tokenization_method?: (string | null) | undefined;
                    } | undefined;
                    type: string;
                    usage: string | null;
                    wechat?: {
                        prepay_id?: string | undefined;
                        qr_code_url?: (string | null) | undefined;
                        statement_descriptor?: string | undefined;
                    } | undefined;
                })[] | undefined;
                subscriptions?: {
                    id: string;
                    object: string;
                    application: string | {
                        id: string;
                        object: string;
                        deleted?: void | undefined;
                        name: string | null;
                    } | {
                        id: string;
                        object: string;
                        deleted: boolean;
                        name: string | null;
                    } | null;
                    application_fee_percent: number | null;
                    automatic_tax: any;
                    billing_cycle_anchor: number;
                    billing_cycle_anchor_config: any | null;
                    billing_thresholds: any | null;
                    cancel_at: number | null;
                    cancel_at_period_end: boolean;
                    canceled_at: number | null;
                    cancellation_details: any | null;
                    collection_method: string;
                    created: number;
                    currency: string;
                    current_period_end: number;
                    current_period_start: number;
                    customer: string | any | {
                        id: string;
                        object: string;
                        deleted: boolean;
                    };
                    days_until_due: number | null;
                    default_payment_method: string | any | null;
                    default_source: string | any | any | {
                        id: string;
                        object: string;
                        account?: string | any | null | undefined;
                        address_city: string | null;
                        address_country: string | null;
                        address_line1: string | null;
                        address_line1_check: string | null;
                        address_line2: string | null;
                        address_state: string | null;
                        address_zip: string | null;
                        address_zip_check: string | null;
                        available_payout_methods?: string[] | null | undefined;
                        brand: string;
                        country: string | null;
                        currency?: (string | null) | undefined;
                        customer?: string | any | {
                            id: string;
                            object: string;
                            deleted: boolean;
                        } | null | undefined;
                        cvc_check: string | null;
                        default_for_currency?: (boolean | null) | undefined;
                        deleted?: void | undefined;
                        description?: string | undefined;
                        dynamic_last4: string | null;
                        exp_month: number;
                        exp_year: number;
                        fingerprint?: (string | null) | undefined;
                        funding: string;
                        iin?: string | undefined;
                        issuer?: string | undefined;
                        last4: string;
                        metadata: {
                            [x: string]: string;
                        } | null;
                        name: string | null;
                        networks?: {
                            preferred: string | null;
                        } | undefined;
                        status?: (string | null) | undefined;
                        tokenization_method: string | null;
                    } | {
                        id: string;
                        object: string;
                        ach_credit_transfer?: {
                            account_number?: (string | null) | undefined;
                            bank_name?: (string | null) | undefined;
                            fingerprint?: (string | null) | undefined;
                            refund_account_holder_name?: (string | null) | undefined;
                            refund_account_holder_type?: (string | null) | undefined;
                            refund_routing_number?: (string | null) | undefined;
                            routing_number?: (string | null) | undefined;
                            swift_code?: (string | null) | undefined;
                        } | undefined;
                        ach_debit?: {
                            bank_name?: (string | null) | undefined;
                            country?: (string | null) | undefined;
                            fingerprint?: (string | null) | undefined;
                            last4?: (string | null) | undefined;
                            routing_number?: (string | null) | undefined;
                            type?: (string | null) | undefined;
                        } | undefined;
                        acss_debit?: {
                            bank_address_city?: (string | null) | undefined;
                            bank_address_line_1?: (string | null) | undefined;
                            bank_address_line_2?: (string | null) | undefined;
                            bank_address_postal_code?: (string | null) | undefined;
                            bank_name?: (string | null) | undefined;
                            category?: (string | null) | undefined;
                            country?: (string | null) | undefined;
                            fingerprint?: (string | null) | undefined;
                            last4?: (string | null) | undefined;
                            routing_number?: (string | null) | undefined;
                        } | undefined;
                        alipay?: {
                            data_string?: (string | null) | undefined;
                            native_url?: (string | null) | undefined;
                            statement_descriptor?: (string | null) | undefined;
                        } | undefined;
                        amount: number | null;
                        au_becs_debit?: {
                            bsb_number?: (string | null) | undefined;
                            fingerprint?: (string | null) | undefined;
                            last4?: (string | null) | undefined;
                        } | undefined;
                        bancontact?: {
                            bank_code?: (string | null) | undefined;
                            bank_name?: (string | null) | undefined;
                            bic?: (string | null) | undefined;
                            iban_last4?: (string | null) | undefined;
                            preferred_language?: (string | null) | undefined;
                            statement_descriptor?: (string | null) | undefined;
                        } | undefined;
                        card?: {
                            address_line1_check?: (string | null) | undefined;
                            address_zip_check?: (string | null) | undefined;
                            brand?: (string | null) | undefined;
                            country?: (string | null) | undefined;
                            cvc_check?: (string | null) | undefined;
                            description?: string | undefined;
                            dynamic_last4?: (string | null) | undefined;
                            exp_month?: (number | null) | undefined;
                            exp_year?: (number | null) | undefined;
                            fingerprint?: string | undefined;
                            funding?: (string | null) | undefined;
                            iin?: string | undefined;
                            issuer?: string | undefined;
                            last4?: (string | null) | undefined;
                            name?: (string | null) | undefined;
                            three_d_secure?: string | undefined;
                            tokenization_method?: (string | null) | undefined;
                        } | undefined;
                        card_present?: {
                            application_cryptogram?: string | undefined;
                            application_preferred_name?: string | undefined;
                            authorization_code?: (string | null) | undefined;
                            authorization_response_code?: string | undefined;
                            brand?: (string | null) | undefined;
                            country?: (string | null) | undefined;
                            cvm_type?: string | undefined;
                            data_type?: (string | null) | undefined;
                            dedicated_file_name?: string | undefined;
                            description?: string | undefined;
                            emv_auth_data?: string | undefined;
                            evidence_customer_signature?: (string | null) | undefined;
                            evidence_transaction_certificate?: (string | null) | undefined;
                            exp_month?: (number | null) | undefined;
                            exp_year?: (number | null) | undefined;
                            fingerprint?: string | undefined;
                            funding?: (string | null) | undefined;
                            iin?: string | undefined;
                            issuer?: string | undefined;
                            last4?: (string | null) | undefined;
                            pos_device_id?: (string | null) | undefined;
                            pos_entry_mode?: string | undefined;
                            read_method?: (string | null) | undefined;
                            reader?: (string | null) | undefined;
                            terminal_verification_results?: string | undefined;
                            transaction_status_information?: string | undefined;
                        } | undefined;
                        client_secret: string;
                        code_verification?: {
                            attempts_remaining: number;
                            status: string;
                        } | undefined;
                        created: number;
                        currency: string | null;
                        customer?: string | undefined;
                        eps?: {
                            reference?: (string | null) | undefined;
                            statement_descriptor?: (string | null) | undefined;
                        } | undefined;
                        flow: string;
                        giropay?: {
                            bank_code?: (string | null) | undefined;
                            bank_name?: (string | null) | undefined;
                            bic?: (string | null) | undefined;
                            statement_descriptor?: (string | null) | undefined;
                        } | undefined;
                        ideal?: {
                            bank?: (string | null) | undefined;
                            bic?: (string | null) | undefined;
                            iban_last4?: (string | null) | undefined;
                            statement_descriptor?: (string | null) | undefined;
                        } | undefined;
                        klarna?: {
                            background_image_url?: string | undefined;
                            client_token?: (string | null) | undefined;
                            first_name?: string | undefined;
                            last_name?: string | undefined;
                            locale?: string | undefined;
                            logo_url?: string | undefined;
                            page_title?: string | undefined;
                            pay_later_asset_urls_descriptive?: string | undefined;
                            pay_later_asset_urls_standard?: string | undefined;
                            pay_later_name?: string | undefined;
                            pay_later_redirect_url?: string | undefined;
                            pay_now_asset_urls_descriptive?: string | undefined;
                            pay_now_asset_urls_standard?: string | undefined;
                            pay_now_name?: string | undefined;
                            pay_now_redirect_url?: string | undefined;
                            pay_over_time_asset_urls_descriptive?: string | undefined;
                            pay_over_time_asset_urls_standard?: string | undefined;
                            pay_over_time_name?: string | undefined;
                            pay_over_time_redirect_url?: string | undefined;
                            payment_method_categories?: string | undefined;
                            purchase_country?: string | undefined;
                            purchase_type?: string | undefined;
                            redirect_url?: string | undefined;
                            shipping_delay?: number | undefined;
                            shipping_first_name?: string | undefined;
                            shipping_last_name?: string | undefined;
                        } | undefined;
                        livemode: boolean;
                        metadata: {
                            [x: string]: string;
                        } | null;
                        multibanco?: {
                            entity?: (string | null) | undefined;
                            reference?: (string | null) | undefined;
                            refund_account_holder_address_city?: (string | null) | undefined;
                            refund_account_holder_address_country?: (string | null) | undefined;
                            refund_account_holder_address_line1?: (string | null) | undefined;
                            refund_account_holder_address_line2?: (string | null) | undefined;
                            refund_account_holder_address_postal_code?: (string | null) | undefined;
                            refund_account_holder_address_state?: (string | null) | undefined;
                            refund_account_holder_name?: (string | null) | undefined;
                            refund_iban?: (string | null) | undefined;
                        } | undefined;
                        owner: {
                            address: {
                                city: string | null;
                                country: string | null;
                                line1: string | null;
                                line2: string | null;
                                postal_code: string | null;
                                state: string | null;
                            } | null;
                            email: string | null;
                            name: string | null;
                            phone: string | null;
                            verified_address: {
                                city: string | null;
                                country: string | null;
                                line1: string | null;
                                line2: string | null;
                                postal_code: string | null;
                                state: string | null;
                            } | null;
                            verified_email: string | null;
                            verified_name: string | null;
                            verified_phone: string | null;
                        } | null;
                        p24?: {
                            reference?: (string | null) | undefined;
                        } | undefined;
                        receiver?: {
                            address: string | null;
                            amount_charged: number;
                            amount_received: number;
                            amount_returned: number;
                            refund_attributes_method: string;
                            refund_attributes_status: string;
                        } | undefined;
                        redirect?: {
                            failure_reason: string | null;
                            return_url: string;
                            status: string;
                            url: string;
                        } | undefined;
                        sepa_credit_transfer?: {
                            bank_name?: (string | null) | undefined;
                            bic?: (string | null) | undefined;
                            iban?: (string | null) | undefined;
                            refund_account_holder_address_city?: (string | null) | undefined;
                            refund_account_holder_address_country?: (string | null) | undefined;
                            refund_account_holder_address_line1?: (string | null) | undefined;
                            refund_account_holder_address_line2?: (string | null) | undefined;
                            refund_account_holder_address_postal_code?: (string | null) | undefined;
                            refund_account_holder_address_state?: (string | null) | undefined;
                            refund_account_holder_name?: (string | null) | undefined;
                            refund_iban?: (string | null) | undefined;
                        } | undefined;
                        sepa_debit?: {
                            bank_code?: (string | null) | undefined;
                            branch_code?: (string | null) | undefined;
                            country?: (string | null) | undefined;
                            fingerprint?: (string | null) | undefined;
                            last4?: (string | null) | undefined;
                            mandate_reference?: (string | null) | undefined;
                            mandate_url?: (string | null) | undefined;
                        } | undefined;
                        sofort?: {
                            bank_code?: (string | null) | undefined;
                            bank_name?: (string | null) | undefined;
                            bic?: (string | null) | undefined;
                            country?: (string | null) | undefined;
                            iban_last4?: (string | null) | undefined;
                            preferred_language?: (string | null) | undefined;
                            statement_descriptor?: (string | null) | undefined;
                        } | undefined;
                        source_order?: {
                            amount: number;
                            currency: string;
                            email?: string | undefined;
                            items: {
                                amount: number | null;
                                currency: string | null;
                                description: string | null;
                                parent: string | null;
                                quantity?: number | undefined;
                                type: string | null;
                            }[] | null;
                            shipping?: {
                                address?: {
                                    city: string | null;
                                    country: string | null;
                                    line1: string | null;
                                    line2: string | null;
                                    postal_code: string | null;
                                    state: string | null;
                                } | undefined;
                                carrier?: (string | null) | undefined;
                                name?: string | undefined;
                                phone?: (string | null) | undefined;
                                tracking_number?: (string | null) | undefined;
                            } | undefined;
                        } | undefined;
                        statement_descriptor: string | null;
                        status: string;
                        three_d_secure?: {
                            address_line1_check?: (string | null) | undefined;
                            address_zip_check?: (string | null) | undefined;
                            authenticated?: (boolean | null) | undefined;
                            brand?: (string | null) | undefined;
                            card?: (string | null) | undefined;
                            country?: (string | null) | undefined;
                            customer?: (string | null) | undefined;
                            cvc_check?: (string | null) | undefined;
                            description?: string | undefined;
                            dynamic_last4?: (string | null) | undefined;
                            exp_month?: (number | null) | undefined;
                            exp_year?: (number | null) | undefined;
                            fingerprint?: string | undefined;
                            funding?: (string | null) | undefined;
                            iin?: string | undefined;
                            issuer?: string | undefined;
                            last4?: (string | null) | undefined;
                            name?: (string | null) | undefined;
                            three_d_secure?: string | undefined;
                            tokenization_method?: (string | null) | undefined;
                        } | undefined;
                        type: string;
                        usage: string | null;
                        wechat?: {
                            prepay_id?: string | undefined;
                            qr_code_url?: (string | null) | undefined;
                            statement_descriptor?: string | undefined;
                        } | undefined;
                    } | null;
                    default_tax_rates?: {
                        id: string;
                        object: string;
                        active: boolean;
                        country: string | null;
                        created: number;
                        description: string | null;
                        display_name: string;
                        effective_percentage: number | null;
                        flat_amount: any | null;
                        inclusive: boolean;
                        jurisdiction: string | null;
                        jurisdiction_level: string | null;
                        livemode: boolean;
                        metadata: {
                            [x: string]: string;
                        } | null;
                        percentage: number;
                        rate_type: string | null;
                        state: string | null;
                        tax_type: string | null;
                    }[] | null | undefined;
                    description: string | null;
                    discount: {
                        id: string;
                        object: string;
                        checkout_session: string | null;
                        coupon: {
                            id: string;
                            object: string;
                            amount_off: number | null;
                            applies_to?: {
                                products: Array<string>;
                            } | undefined;
                            created: number;
                            currency: string | null;
                            currency_options?: {
                                [x: string]: {
                                    amount_off: number;
                                };
                            } | undefined;
                            deleted?: void | undefined;
                            duration: string;
                            duration_in_months: number | null;
                            livemode: boolean;
                            max_redemptions: number | null;
                            metadata: {
                                [x: string]: string;
                            } | null;
                            name: string | null;
                            percent_off: number | null;
                            redeem_by: number | null;
                            times_redeemed: number;
                            valid: boolean;
                        };
                        customer: string | any | {
                            id: string;
                            object: string;
                            deleted: boolean;
                        } | null;
                        deleted?: void | undefined;
                        end: number | null;
                        invoice: string | null;
                        invoice_item: string | null;
                        promotion_code: string | {
                            id: string;
                            object: string;
                            active: boolean;
                            code: string;
                            coupon: {
                                id: string;
                                object: string;
                                amount_off: number | null;
                                applies_to?: {
                                    products: Array<string>;
                                } | undefined;
                                created: number;
                                currency: string | null;
                                currency_options?: {
                                    [x: string]: {
                                        amount_off: number;
                                    };
                                } | undefined;
                                deleted?: void | undefined;
                                duration: string;
                                duration_in_months: number | null;
                                livemode: boolean;
                                max_redemptions: number | null;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                name: string | null;
                                percent_off: number | null;
                                redeem_by: number | null;
                                times_redeemed: number;
                                valid: boolean;
                            };
                            created: number;
                            customer: string | any | {
                                id: string;
                                object: string;
                                deleted: boolean;
                            } | null;
                            expires_at: number | null;
                            livemode: boolean;
                            max_redemptions: number | null;
                            metadata: {
                                [x: string]: string;
                            } | null;
                            restrictions: {
                                currency_options?: {
                                    [x: string]: {
                                        minimum_amount: number;
                                    };
                                } | undefined;
                                first_time_transaction: boolean;
                                minimum_amount: number | null;
                                minimum_amount_currency: string | null;
                            };
                            times_redeemed: number;
                        } | null;
                        start: number;
                        subscription: string | null;
                        subscription_item: string | null;
                    } | null;
                    discounts: (string | {
                        id: string;
                        object: string;
                        checkout_session: string | null;
                        coupon: {
                            id: string;
                            object: string;
                            amount_off: number | null;
                            applies_to?: {
                                products: Array<string>;
                            } | undefined;
                            created: number;
                            currency: string | null;
                            currency_options?: {
                                [x: string]: {
                                    amount_off: number;
                                };
                            } | undefined;
                            deleted?: void | undefined;
                            duration: string;
                            duration_in_months: number | null;
                            livemode: boolean;
                            max_redemptions: number | null;
                            metadata: {
                                [x: string]: string;
                            } | null;
                            name: string | null;
                            percent_off: number | null;
                            redeem_by: number | null;
                            times_redeemed: number;
                            valid: boolean;
                        };
                        customer: string | any | {
                            id: string;
                            object: string;
                            deleted: boolean;
                        } | null;
                        deleted?: void | undefined;
                        end: number | null;
                        invoice: string | null;
                        invoice_item: string | null;
                        promotion_code: string | {
                            id: string;
                            object: string;
                            active: boolean;
                            code: string;
                            coupon: {
                                id: string;
                                object: string;
                                amount_off: number | null;
                                applies_to?: {
                                    products: Array<string>;
                                } | undefined;
                                created: number;
                                currency: string | null;
                                currency_options?: {
                                    [x: string]: {
                                        amount_off: number;
                                    };
                                } | undefined;
                                deleted?: void | undefined;
                                duration: string;
                                duration_in_months: number | null;
                                livemode: boolean;
                                max_redemptions: number | null;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                name: string | null;
                                percent_off: number | null;
                                redeem_by: number | null;
                                times_redeemed: number;
                                valid: boolean;
                            };
                            created: number;
                            customer: string | any | {
                                id: string;
                                object: string;
                                deleted: boolean;
                            } | null;
                            expires_at: number | null;
                            livemode: boolean;
                            max_redemptions: number | null;
                            metadata: {
                                [x: string]: string;
                            } | null;
                            restrictions: {
                                currency_options?: {
                                    [x: string]: {
                                        minimum_amount: number;
                                    };
                                } | undefined;
                                first_time_transaction: boolean;
                                minimum_amount: number | null;
                                minimum_amount_currency: string | null;
                            };
                            times_redeemed: number;
                        } | null;
                        start: number;
                        subscription: string | null;
                        subscription_item: string | null;
                    })[];
                    ended_at: number | null;
                    invoice_settings: any;
                    items: any[];
                    latest_invoice: string | any | null;
                    livemode: boolean;
                    metadata: {
                        [x: string]: string;
                    };
                    next_pending_invoice_item_invoice: number | null;
                    on_behalf_of: string | any | null;
                    pause_collection: any | null;
                    payment_settings: any | null;
                    pending_invoice_item_interval: any | null;
                    pending_setup_intent: string | {
                        id: string;
                        object: string;
                        application: string | {
                            id: string;
                            object: string;
                            deleted?: void | undefined;
                            name: string | null;
                        } | null;
                        attach_to_self?: boolean | undefined;
                        automatic_payment_methods: any | null;
                        cancellation_reason: string | null;
                        client_secret: string | null;
                        created: number;
                        customer: string | any | {
                            id: string;
                            object: string;
                            deleted: boolean;
                        } | null;
                        description: string | null;
                        flow_directions: string[] | null;
                        last_setup_error: any | null;
                        latest_attempt: string | any | null;
                        livemode: boolean;
                        mandate: string | any | null;
                        metadata: {
                            [x: string]: string;
                        } | null;
                        next_action: any | null;
                        on_behalf_of: string | any | null;
                        payment_method: string | any | null;
                        payment_method_configuration_details: any | null;
                        payment_method_options: any | null;
                        payment_method_types: Array<string>;
                        single_use_mandate: string | any | null;
                        status: string;
                        usage: string;
                    } | null;
                    pending_update: any | null;
                    schedule: string | any | null;
                    start_date: number;
                    status: string;
                    test_clock: string | any | null;
                    transfer_data: any | null;
                    trial_end: number | null;
                    trial_settings: any | null;
                    trial_start: number | null;
                }[] | undefined;
                tax?: {
                    automatic_tax: string;
                    ip_address: string | null;
                    location: {
                        country: string;
                        source: string;
                        state: string | null;
                    } | null;
                } | undefined;
                tax_exempt?: string | null | undefined;
                tax_ids?: {
                    id: string;
                    object: string;
                    country: string | null;
                    created: number;
                    customer: string | any | null;
                    deleted?: void | undefined;
                    livemode: boolean;
                    owner: any | null;
                    type: string;
                    value: string;
                    verification: any | null;
                }[] | undefined;
                test_clock?: string | {
                    id: string;
                    object: string;
                    created: number;
                    deleted?: void | undefined;
                    deletes_after: number;
                    frozen_time: number;
                    livemode: boolean;
                    name: string | null;
                    status: string;
                    status_details: any;
                } | null | undefined;
            } | {
                id: string;
                object: string;
                deleted: boolean;
            } | null | undefined;
            default_for_currency?: (boolean | null) | undefined;
            deleted?: void | undefined;
            fingerprint: string | null;
            future_requirements?: {
                currently_due: Array<string> | null;
                errors: {
                    code: string;
                    reason: string;
                    requirement: string;
                }[] | null;
                past_due: Array<string> | null;
                pending_verification: Array<string> | null;
            } | null | undefined;
            last4: string;
            metadata?: {
                [x: string]: string;
            } | null | undefined;
            requirements?: {
                currently_due: Array<string> | null;
                errors: {
                    code: string;
                    reason: string;
                    requirement: string;
                }[] | null;
                past_due: Array<string> | null;
                pending_verification: Array<string> | null;
            } | null | undefined;
            routing_number: string | null;
            status: string;
        } | {
            id: string;
            object: string;
            account?: string | any | null | undefined;
            address_city: string | null;
            address_country: string | null;
            address_line1: string | null;
            address_line1_check: string | null;
            address_line2: string | null;
            address_state: string | null;
            address_zip: string | null;
            address_zip_check: string | null;
            available_payout_methods?: string[] | null | undefined;
            brand: string;
            country: string | null;
            currency?: (string | null) | undefined;
            customer?: string | any | {
                id: string;
                object: string;
                deleted: boolean;
            } | null | undefined;
            cvc_check: string | null;
            default_for_currency?: (boolean | null) | undefined;
            deleted?: void | undefined;
            description?: string | undefined;
            dynamic_last4: string | null;
            exp_month: number;
            exp_year: number;
            fingerprint?: (string | null) | undefined;
            funding: string;
            iin?: string | undefined;
            issuer?: string | undefined;
            last4: string;
            metadata: {
                [x: string]: string;
            } | null;
            name: string | null;
            networks?: {
                preferred: string | null;
            } | undefined;
            status?: (string | null) | undefined;
            tokenization_method: string | null;
        })[] | undefined;
        future_requirements?: {
            alternatives: {
                alternative_fields_due: Array<string>;
                original_fields_due: Array<string>;
            }[] | null;
            current_deadline: number | null;
            currently_due: Array<string> | null;
            disabled_reason: string | null;
            errors: {
                code: string;
                reason: string;
                requirement: string;
            }[] | null;
            eventually_due: Array<string> | null;
            past_due: Array<string> | null;
            pending_verification: Array<string> | null;
        } | undefined;
        groups?: {
            payments_pricing: string | null;
        } | null | undefined;
        individual?: {
            id: string;
            object: string;
            account: string;
            additional_tos_acceptances?: {
                account: {
                    date: number | null;
                    ip: string | null;
                    user_agent: string | null;
                } | null;
            } | undefined;
            address?: {
                city: string | null;
                country: string | null;
                line1: string | null;
                line2: string | null;
                postal_code: string | null;
                state: string | null;
            } | undefined;
            address_kana?: {
                city: string | null;
                country: string | null;
                line1: string | null;
                line2: string | null;
                postal_code: string | null;
                state: string | null;
                town: string | null;
            } | null | undefined;
            address_kanji?: {
                city: string | null;
                country: string | null;
                line1: string | null;
                line2: string | null;
                postal_code: string | null;
                state: string | null;
                town: string | null;
            } | null | undefined;
            created: number;
            deleted?: void | undefined;
            dob?: {
                day: number | null;
                month: number | null;
                year: number | null;
            } | undefined;
            email?: (string | null) | undefined;
            first_name?: (string | null) | undefined;
            first_name_kana?: (string | null) | undefined;
            first_name_kanji?: (string | null) | undefined;
            full_name_aliases?: Array<string> | undefined;
            future_requirements?: {
                alternatives: {
                    alternative_fields_due: Array<string>;
                    original_fields_due: Array<string>;
                }[] | null;
                currently_due: Array<string>;
                errors: {
                    code: string;
                    reason: string;
                    requirement: string;
                }[];
                eventually_due: Array<string>;
                past_due: Array<string>;
                pending_verification: Array<string>;
            } | null | undefined;
            gender?: (string | null) | undefined;
            id_number_provided?: boolean | undefined;
            id_number_secondary_provided?: boolean | undefined;
            last_name?: (string | null) | undefined;
            last_name_kana?: (string | null) | undefined;
            last_name_kanji?: (string | null) | undefined;
            maiden_name?: (string | null) | undefined;
            metadata?: {
                [x: string]: string;
            } | undefined;
            nationality?: (string | null) | undefined;
            phone?: (string | null) | undefined;
            political_exposure?: string | undefined;
            registered_address?: {
                city: string | null;
                country: string | null;
                line1: string | null;
                line2: string | null;
                postal_code: string | null;
                state: string | null;
            } | undefined;
            relationship?: {
                director: boolean | null;
                executive: boolean | null;
                legal_guardian: boolean | null;
                owner: boolean | null;
                percent_ownership: number | null;
                representative: boolean | null;
                title: string | null;
            } | undefined;
            requirements?: {
                alternatives: {
                    alternative_fields_due: Array<string>;
                    original_fields_due: Array<string>;
                }[] | null;
                currently_due: Array<string>;
                errors: {
                    code: string;
                    reason: string;
                    requirement: string;
                }[];
                eventually_due: Array<string>;
                past_due: Array<string>;
                pending_verification: Array<string>;
            } | null | undefined;
            ssn_last_4_provided?: boolean | undefined;
            verification?: {
                additional_document?: {
                    back: string | {
                        id: string;
                        object: string;
                        created: number;
                        expires_at: number | null;
                        filename: string | null;
                        links?: {
                            id: string;
                            object: string;
                            created: number;
                            expired: boolean;
                            expires_at: number | null;
                            file: string | any;
                            livemode: boolean;
                            metadata: {
                                [x: string]: string;
                            };
                            url: string | null;
                        }[] | null | undefined;
                        purpose: string;
                        size: number;
                        title: string | null;
                        type: string | null;
                        url: string | null;
                    } | null;
                    details: string | null;
                    details_code: string | null;
                    front: string | {
                        id: string;
                        object: string;
                        created: number;
                        expires_at: number | null;
                        filename: string | null;
                        links?: {
                            id: string;
                            object: string;
                            created: number;
                            expired: boolean;
                            expires_at: number | null;
                            file: string | any;
                            livemode: boolean;
                            metadata: {
                                [x: string]: string;
                            };
                            url: string | null;
                        }[] | null | undefined;
                        purpose: string;
                        size: number;
                        title: string | null;
                        type: string | null;
                        url: string | null;
                    } | null;
                } | null | undefined;
                details?: (string | null) | undefined;
                details_code?: (string | null) | undefined;
                document?: {
                    back: string | {
                        id: string;
                        object: string;
                        created: number;
                        expires_at: number | null;
                        filename: string | null;
                        links?: {
                            id: string;
                            object: string;
                            created: number;
                            expired: boolean;
                            expires_at: number | null;
                            file: string | any;
                            livemode: boolean;
                            metadata: {
                                [x: string]: string;
                            };
                            url: string | null;
                        }[] | null | undefined;
                        purpose: string;
                        size: number;
                        title: string | null;
                        type: string | null;
                        url: string | null;
                    } | null;
                    details: string | null;
                    details_code: string | null;
                    front: string | {
                        id: string;
                        object: string;
                        created: number;
                        expires_at: number | null;
                        filename: string | null;
                        links?: {
                            id: string;
                            object: string;
                            created: number;
                            expired: boolean;
                            expires_at: number | null;
                            file: string | any;
                            livemode: boolean;
                            metadata: {
                                [x: string]: string;
                            };
                            url: string | null;
                        }[] | null | undefined;
                        purpose: string;
                        size: number;
                        title: string | null;
                        type: string | null;
                        url: string | null;
                    } | null;
                } | undefined;
                status: string;
            } | undefined;
        } | undefined;
        metadata?: {
            [x: string]: string;
        } | undefined;
        payouts_enabled: boolean;
        requirements?: {
            alternatives: {
                alternative_fields_due: Array<string>;
                original_fields_due: Array<string>;
            }[] | null;
            current_deadline: number | null;
            currently_due: Array<string> | null;
            disabled_reason: string | null;
            errors: {
                code: string;
                reason: string;
                requirement: string;
            }[] | null;
            eventually_due: Array<string> | null;
            past_due: Array<string> | null;
            pending_verification: Array<string> | null;
        } | undefined;
        settings?: {
            bacs_debit_payments?: {
                display_name: string | null;
                service_user_number: string | null;
            } | undefined;
            branding: {
                icon: string | {
                    id: string;
                    object: string;
                    created: number;
                    expires_at: number | null;
                    filename: string | null;
                    links?: {
                        id: string;
                        object: string;
                        created: number;
                        expired: boolean;
                        expires_at: number | null;
                        file: string | any;
                        livemode: boolean;
                        metadata: {
                            [x: string]: string;
                        };
                        url: string | null;
                    }[] | null | undefined;
                    purpose: string;
                    size: number;
                    title: string | null;
                    type: string | null;
                    url: string | null;
                } | null;
                logo: string | {
                    id: string;
                    object: string;
                    created: number;
                    expires_at: number | null;
                    filename: string | null;
                    links?: {
                        id: string;
                        object: string;
                        created: number;
                        expired: boolean;
                        expires_at: number | null;
                        file: string | any;
                        livemode: boolean;
                        metadata: {
                            [x: string]: string;
                        };
                        url: string | null;
                    }[] | null | undefined;
                    purpose: string;
                    size: number;
                    title: string | null;
                    type: string | null;
                    url: string | null;
                } | null;
                primary_color: string | null;
                secondary_color: string | null;
            };
            card_issuing?: {
                tos_acceptance?: {
                    date: number | null;
                    ip: string | null;
                    user_agent?: string | undefined;
                } | undefined;
            } | undefined;
            card_payments: {
                decline_on?: {
                    avs_failure: boolean;
                    cvc_failure: boolean;
                } | undefined;
                statement_descriptor_prefix: string | null;
                statement_descriptor_prefix_kana: string | null;
                statement_descriptor_prefix_kanji: string | null;
            };
            dashboard: {
                display_name: string | null;
                timezone: string | null;
            };
            invoices?: {
                default_account_tax_ids: (string | {
                    id: string;
                    object: string;
                    country: string | null;
                    created: number;
                    customer: string | any | null;
                    deleted?: void | undefined;
                    livemode: boolean;
                    owner: any | null;
                    type: string;
                    value: string;
                    verification: any | null;
                })[] | null;
            } | undefined;
            payments: {
                statement_descriptor: string | null;
                statement_descriptor_kana: string | null;
                statement_descriptor_kanji: string | null;
                statement_descriptor_prefix_kana: string | null;
                statement_descriptor_prefix_kanji: string | null;
            };
            payouts?: {
                debit_negative_balances: boolean;
                schedule: {
                    delay_days: number;
                    interval: string;
                    monthly_anchor?: number | undefined;
                    weekly_anchor?: string | undefined;
                };
                statement_descriptor: string | null;
            } | undefined;
            sepa_debit_payments?: {
                creditor_id?: string | undefined;
            } | undefined;
            treasury?: {
                tos_acceptance?: {
                    date: number | null;
                    ip: string | null;
                    user_agent?: string | undefined;
                } | undefined;
            } | undefined;
        } | null | undefined;
        tos_acceptance?: {
            date?: (number | null) | undefined;
            ip?: (string | null) | undefined;
            service_agreement?: string | undefined;
            user_agent?: (string | null) | undefined;
        } | undefined;
        type: string;
    } | {
        id: string;
        object: string;
        account?: string | any | null | undefined;
        account_holder_name: string | null;
        account_holder_type: string | null;
        account_type: string | null;
        available_payout_methods?: string[] | null | undefined;
        bank_name: string | null;
        country: string;
        currency: string;
        customer?: string | {
            id: string;
            object: string;
            address?: {
                city: string | null;
                country: string | null;
                line1: string | null;
                line2: string | null;
                postal_code: string | null;
                state: string | null;
            } | null | undefined;
            balance: number;
            cash_balance?: {
                object: string;
                available: {
                    [x: string]: number;
                } | null;
                customer: string;
                livemode: boolean;
                settings: {
                    reconciliation_mode: string;
                    using_merchant_default: boolean;
                };
            } | null | undefined;
            created: number;
            currency?: (string | null) | undefined;
            default_source: string | any | any | {
                id: string;
                object: string;
                account?: string | any | null | undefined;
                address_city: string | null;
                address_country: string | null;
                address_line1: string | null;
                address_line1_check: string | null;
                address_line2: string | null;
                address_state: string | null;
                address_zip: string | null;
                address_zip_check: string | null;
                available_payout_methods?: string[] | null | undefined;
                brand: string;
                country: string | null;
                currency?: (string | null) | undefined;
                customer?: string | any | {
                    id: string;
                    object: string;
                    deleted: boolean;
                } | null | undefined;
                cvc_check: string | null;
                default_for_currency?: (boolean | null) | undefined;
                deleted?: void | undefined;
                description?: string | undefined;
                dynamic_last4: string | null;
                exp_month: number;
                exp_year: number;
                fingerprint?: (string | null) | undefined;
                funding: string;
                iin?: string | undefined;
                issuer?: string | undefined;
                last4: string;
                metadata: {
                    [x: string]: string;
                } | null;
                name: string | null;
                networks?: {
                    preferred: string | null;
                } | undefined;
                status?: (string | null) | undefined;
                tokenization_method: string | null;
            } | {
                id: string;
                object: string;
                ach_credit_transfer?: {
                    account_number?: (string | null) | undefined;
                    bank_name?: (string | null) | undefined;
                    fingerprint?: (string | null) | undefined;
                    refund_account_holder_name?: (string | null) | undefined;
                    refund_account_holder_type?: (string | null) | undefined;
                    refund_routing_number?: (string | null) | undefined;
                    routing_number?: (string | null) | undefined;
                    swift_code?: (string | null) | undefined;
                } | undefined;
                ach_debit?: {
                    bank_name?: (string | null) | undefined;
                    country?: (string | null) | undefined;
                    fingerprint?: (string | null) | undefined;
                    last4?: (string | null) | undefined;
                    routing_number?: (string | null) | undefined;
                    type?: (string | null) | undefined;
                } | undefined;
                acss_debit?: {
                    bank_address_city?: (string | null) | undefined;
                    bank_address_line_1?: (string | null) | undefined;
                    bank_address_line_2?: (string | null) | undefined;
                    bank_address_postal_code?: (string | null) | undefined;
                    bank_name?: (string | null) | undefined;
                    category?: (string | null) | undefined;
                    country?: (string | null) | undefined;
                    fingerprint?: (string | null) | undefined;
                    last4?: (string | null) | undefined;
                    routing_number?: (string | null) | undefined;
                } | undefined;
                alipay?: {
                    data_string?: (string | null) | undefined;
                    native_url?: (string | null) | undefined;
                    statement_descriptor?: (string | null) | undefined;
                } | undefined;
                amount: number | null;
                au_becs_debit?: {
                    bsb_number?: (string | null) | undefined;
                    fingerprint?: (string | null) | undefined;
                    last4?: (string | null) | undefined;
                } | undefined;
                bancontact?: {
                    bank_code?: (string | null) | undefined;
                    bank_name?: (string | null) | undefined;
                    bic?: (string | null) | undefined;
                    iban_last4?: (string | null) | undefined;
                    preferred_language?: (string | null) | undefined;
                    statement_descriptor?: (string | null) | undefined;
                } | undefined;
                card?: {
                    address_line1_check?: (string | null) | undefined;
                    address_zip_check?: (string | null) | undefined;
                    brand?: (string | null) | undefined;
                    country?: (string | null) | undefined;
                    cvc_check?: (string | null) | undefined;
                    description?: string | undefined;
                    dynamic_last4?: (string | null) | undefined;
                    exp_month?: (number | null) | undefined;
                    exp_year?: (number | null) | undefined;
                    fingerprint?: string | undefined;
                    funding?: (string | null) | undefined;
                    iin?: string | undefined;
                    issuer?: string | undefined;
                    last4?: (string | null) | undefined;
                    name?: (string | null) | undefined;
                    three_d_secure?: string | undefined;
                    tokenization_method?: (string | null) | undefined;
                } | undefined;
                card_present?: {
                    application_cryptogram?: string | undefined;
                    application_preferred_name?: string | undefined;
                    authorization_code?: (string | null) | undefined;
                    authorization_response_code?: string | undefined;
                    brand?: (string | null) | undefined;
                    country?: (string | null) | undefined;
                    cvm_type?: string | undefined;
                    data_type?: (string | null) | undefined;
                    dedicated_file_name?: string | undefined;
                    description?: string | undefined;
                    emv_auth_data?: string | undefined;
                    evidence_customer_signature?: (string | null) | undefined;
                    evidence_transaction_certificate?: (string | null) | undefined;
                    exp_month?: (number | null) | undefined;
                    exp_year?: (number | null) | undefined;
                    fingerprint?: string | undefined;
                    funding?: (string | null) | undefined;
                    iin?: string | undefined;
                    issuer?: string | undefined;
                    last4?: (string | null) | undefined;
                    pos_device_id?: (string | null) | undefined;
                    pos_entry_mode?: string | undefined;
                    read_method?: (string | null) | undefined;
                    reader?: (string | null) | undefined;
                    terminal_verification_results?: string | undefined;
                    transaction_status_information?: string | undefined;
                } | undefined;
                client_secret: string;
                code_verification?: {
                    attempts_remaining: number;
                    status: string;
                } | undefined;
                created: number;
                currency: string | null;
                customer?: string | undefined;
                eps?: {
                    reference?: (string | null) | undefined;
                    statement_descriptor?: (string | null) | undefined;
                } | undefined;
                flow: string;
                giropay?: {
                    bank_code?: (string | null) | undefined;
                    bank_name?: (string | null) | undefined;
                    bic?: (string | null) | undefined;
                    statement_descriptor?: (string | null) | undefined;
                } | undefined;
                ideal?: {
                    bank?: (string | null) | undefined;
                    bic?: (string | null) | undefined;
                    iban_last4?: (string | null) | undefined;
                    statement_descriptor?: (string | null) | undefined;
                } | undefined;
                klarna?: {
                    background_image_url?: string | undefined;
                    client_token?: (string | null) | undefined;
                    first_name?: string | undefined;
                    last_name?: string | undefined;
                    locale?: string | undefined;
                    logo_url?: string | undefined;
                    page_title?: string | undefined;
                    pay_later_asset_urls_descriptive?: string | undefined;
                    pay_later_asset_urls_standard?: string | undefined;
                    pay_later_name?: string | undefined;
                    pay_later_redirect_url?: string | undefined;
                    pay_now_asset_urls_descriptive?: string | undefined;
                    pay_now_asset_urls_standard?: string | undefined;
                    pay_now_name?: string | undefined;
                    pay_now_redirect_url?: string | undefined;
                    pay_over_time_asset_urls_descriptive?: string | undefined;
                    pay_over_time_asset_urls_standard?: string | undefined;
                    pay_over_time_name?: string | undefined;
                    pay_over_time_redirect_url?: string | undefined;
                    payment_method_categories?: string | undefined;
                    purchase_country?: string | undefined;
                    purchase_type?: string | undefined;
                    redirect_url?: string | undefined;
                    shipping_delay?: number | undefined;
                    shipping_first_name?: string | undefined;
                    shipping_last_name?: string | undefined;
                } | undefined;
                livemode: boolean;
                metadata: {
                    [x: string]: string;
                } | null;
                multibanco?: {
                    entity?: (string | null) | undefined;
                    reference?: (string | null) | undefined;
                    refund_account_holder_address_city?: (string | null) | undefined;
                    refund_account_holder_address_country?: (string | null) | undefined;
                    refund_account_holder_address_line1?: (string | null) | undefined;
                    refund_account_holder_address_line2?: (string | null) | undefined;
                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                    refund_account_holder_address_state?: (string | null) | undefined;
                    refund_account_holder_name?: (string | null) | undefined;
                    refund_iban?: (string | null) | undefined;
                } | undefined;
                owner: {
                    address: {
                        city: string | null;
                        country: string | null;
                        line1: string | null;
                        line2: string | null;
                        postal_code: string | null;
                        state: string | null;
                    } | null;
                    email: string | null;
                    name: string | null;
                    phone: string | null;
                    verified_address: {
                        city: string | null;
                        country: string | null;
                        line1: string | null;
                        line2: string | null;
                        postal_code: string | null;
                        state: string | null;
                    } | null;
                    verified_email: string | null;
                    verified_name: string | null;
                    verified_phone: string | null;
                } | null;
                p24?: {
                    reference?: (string | null) | undefined;
                } | undefined;
                receiver?: {
                    address: string | null;
                    amount_charged: number;
                    amount_received: number;
                    amount_returned: number;
                    refund_attributes_method: string;
                    refund_attributes_status: string;
                } | undefined;
                redirect?: {
                    failure_reason: string | null;
                    return_url: string;
                    status: string;
                    url: string;
                } | undefined;
                sepa_credit_transfer?: {
                    bank_name?: (string | null) | undefined;
                    bic?: (string | null) | undefined;
                    iban?: (string | null) | undefined;
                    refund_account_holder_address_city?: (string | null) | undefined;
                    refund_account_holder_address_country?: (string | null) | undefined;
                    refund_account_holder_address_line1?: (string | null) | undefined;
                    refund_account_holder_address_line2?: (string | null) | undefined;
                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                    refund_account_holder_address_state?: (string | null) | undefined;
                    refund_account_holder_name?: (string | null) | undefined;
                    refund_iban?: (string | null) | undefined;
                } | undefined;
                sepa_debit?: {
                    bank_code?: (string | null) | undefined;
                    branch_code?: (string | null) | undefined;
                    country?: (string | null) | undefined;
                    fingerprint?: (string | null) | undefined;
                    last4?: (string | null) | undefined;
                    mandate_reference?: (string | null) | undefined;
                    mandate_url?: (string | null) | undefined;
                } | undefined;
                sofort?: {
                    bank_code?: (string | null) | undefined;
                    bank_name?: (string | null) | undefined;
                    bic?: (string | null) | undefined;
                    country?: (string | null) | undefined;
                    iban_last4?: (string | null) | undefined;
                    preferred_language?: (string | null) | undefined;
                    statement_descriptor?: (string | null) | undefined;
                } | undefined;
                source_order?: {
                    amount: number;
                    currency: string;
                    email?: string | undefined;
                    items: {
                        amount: number | null;
                        currency: string | null;
                        description: string | null;
                        parent: string | null;
                        quantity?: number | undefined;
                        type: string | null;
                    }[] | null;
                    shipping?: {
                        address?: {
                            city: string | null;
                            country: string | null;
                            line1: string | null;
                            line2: string | null;
                            postal_code: string | null;
                            state: string | null;
                        } | undefined;
                        carrier?: (string | null) | undefined;
                        name?: string | undefined;
                        phone?: (string | null) | undefined;
                        tracking_number?: (string | null) | undefined;
                    } | undefined;
                } | undefined;
                statement_descriptor: string | null;
                status: string;
                three_d_secure?: {
                    address_line1_check?: (string | null) | undefined;
                    address_zip_check?: (string | null) | undefined;
                    authenticated?: (boolean | null) | undefined;
                    brand?: (string | null) | undefined;
                    card?: (string | null) | undefined;
                    country?: (string | null) | undefined;
                    customer?: (string | null) | undefined;
                    cvc_check?: (string | null) | undefined;
                    description?: string | undefined;
                    dynamic_last4?: (string | null) | undefined;
                    exp_month?: (number | null) | undefined;
                    exp_year?: (number | null) | undefined;
                    fingerprint?: string | undefined;
                    funding?: (string | null) | undefined;
                    iin?: string | undefined;
                    issuer?: string | undefined;
                    last4?: (string | null) | undefined;
                    name?: (string | null) | undefined;
                    three_d_secure?: string | undefined;
                    tokenization_method?: (string | null) | undefined;
                } | undefined;
                type: string;
                usage: string | null;
                wechat?: {
                    prepay_id?: string | undefined;
                    qr_code_url?: (string | null) | undefined;
                    statement_descriptor?: string | undefined;
                } | undefined;
            } | null;
            deleted?: void | undefined;
            delinquent?: (boolean | null) | undefined;
            description: string | null;
            discount?: {
                id: string;
                object: string;
                checkout_session: string | null;
                coupon: {
                    id: string;
                    object: string;
                    amount_off: number | null;
                    applies_to?: {
                        products: Array<string>;
                    } | undefined;
                    created: number;
                    currency: string | null;
                    currency_options?: {
                        [x: string]: {
                            amount_off: number;
                        };
                    } | undefined;
                    deleted?: void | undefined;
                    duration: string;
                    duration_in_months: number | null;
                    livemode: boolean;
                    max_redemptions: number | null;
                    metadata: {
                        [x: string]: string;
                    } | null;
                    name: string | null;
                    percent_off: number | null;
                    redeem_by: number | null;
                    times_redeemed: number;
                    valid: boolean;
                };
                customer: string | any | {
                    id: string;
                    object: string;
                    deleted: boolean;
                } | null;
                deleted?: void | undefined;
                end: number | null;
                invoice: string | null;
                invoice_item: string | null;
                promotion_code: string | {
                    id: string;
                    object: string;
                    active: boolean;
                    code: string;
                    coupon: {
                        id: string;
                        object: string;
                        amount_off: number | null;
                        applies_to?: {
                            products: Array<string>;
                        } | undefined;
                        created: number;
                        currency: string | null;
                        currency_options?: {
                            [x: string]: {
                                amount_off: number;
                            };
                        } | undefined;
                        deleted?: void | undefined;
                        duration: string;
                        duration_in_months: number | null;
                        livemode: boolean;
                        max_redemptions: number | null;
                        metadata: {
                            [x: string]: string;
                        } | null;
                        name: string | null;
                        percent_off: number | null;
                        redeem_by: number | null;
                        times_redeemed: number;
                        valid: boolean;
                    };
                    created: number;
                    customer: string | any | {
                        id: string;
                        object: string;
                        deleted: boolean;
                    } | null;
                    expires_at: number | null;
                    livemode: boolean;
                    max_redemptions: number | null;
                    metadata: {
                        [x: string]: string;
                    } | null;
                    restrictions: {
                        currency_options?: {
                            [x: string]: {
                                minimum_amount: number;
                            };
                        } | undefined;
                        first_time_transaction: boolean;
                        minimum_amount: number | null;
                        minimum_amount_currency: string | null;
                    };
                    times_redeemed: number;
                } | null;
                start: number;
                subscription: string | null;
                subscription_item: string | null;
            } | null | undefined;
            email: string | null;
            invoice_credit_balance?: {
                [x: string]: number;
            } | undefined;
            invoice_prefix?: (string | null) | undefined;
            invoice_settings: {
                custom_fields: {
                    name: string;
                    value: string;
                }[] | null;
                default_payment_method: string | {
                    id: string;
                    object: string;
                    acss_debit?: {
                        bank_name: string | null;
                        fingerprint: string | null;
                        institution_number: string | null;
                        last4: string | null;
                        transit_number: string | null;
                    } | undefined;
                    affirm?: {} | undefined;
                    afterpay_clearpay?: {} | undefined;
                    alipay?: {} | undefined;
                    allow_redisplay?: string | undefined;
                    alma?: {} | undefined;
                    amazon_pay?: {} | undefined;
                    au_becs_debit?: {
                        bsb_number: string | null;
                        fingerprint: string | null;
                        last4: string | null;
                    } | undefined;
                    bacs_debit?: {
                        fingerprint: string | null;
                        last4: string | null;
                        sort_code: string | null;
                    } | undefined;
                    bancontact?: {} | undefined;
                    billing_details: {
                        address: {
                            city: string | null;
                            country: string | null;
                            line1: string | null;
                            line2: string | null;
                            postal_code: string | null;
                            state: string | null;
                        } | null;
                        email: string | null;
                        name: string | null;
                        phone: string | null;
                    };
                    blik?: {} | undefined;
                    boleto?: {
                        tax_id: string;
                    } | undefined;
                    card?: {
                        brand: string;
                        checks: {
                            address_line1_check: string | null;
                            address_postal_code_check: string | null;
                            cvc_check: string | null;
                        } | null;
                        country: string | null;
                        description?: (string | null) | undefined;
                        display_brand: string | null;
                        exp_month: number;
                        exp_year: number;
                        fingerprint?: (string | null) | undefined;
                        funding: string;
                        generated_from: {
                            charge: string | null;
                            payment_method_details: {
                                card_present?: {
                                    amount_authorized: number | null;
                                    brand: string | null;
                                    brand_product: string | null;
                                    capture_before?: number | undefined;
                                    cardholder_name: string | null;
                                    country: string | null;
                                    description?: (string | null) | undefined;
                                    emv_auth_data: string | null;
                                    exp_month: number;
                                    exp_year: number;
                                    fingerprint: string | null;
                                    funding: string | null;
                                    generated_card: string | null;
                                    iin?: (string | null) | undefined;
                                    incremental_authorization_supported: boolean;
                                    issuer?: (string | null) | undefined;
                                    last4: string | null;
                                    network: string | null;
                                    network_transaction_id: string | null;
                                    offline: {
                                        stored_at: number | null;
                                        type: string | null;
                                    } | null;
                                    overcapture_supported: boolean;
                                    preferred_locales: Array<string> | null;
                                    read_method: string | null;
                                    receipt: {
                                        account_type?: string | undefined;
                                        application_cryptogram: string | null;
                                        application_preferred_name: string | null;
                                        authorization_code: string | null;
                                        authorization_response_code: string | null;
                                        cardholder_verification_method: string | null;
                                        dedicated_file_name: string | null;
                                        terminal_verification_results: string | null;
                                        transaction_status_information: string | null;
                                    } | null;
                                    wallet?: {
                                        type: string;
                                    } | undefined;
                                } | undefined;
                                type: string;
                            } | null;
                            setup_attempt: string | {
                                id: string;
                                object: string;
                                application: string | {
                                    id: string;
                                    object: string;
                                    deleted?: void | undefined;
                                    name: string | null;
                                } | null;
                                attach_to_self?: boolean | undefined;
                                created: number;
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null;
                                flow_directions: string[] | null;
                                livemode: boolean;
                                on_behalf_of: string | any | null;
                                payment_method: string | any;
                                payment_method_details: {
                                    acss_debit?: {} | undefined;
                                    amazon_pay?: {} | undefined;
                                    au_becs_debit?: {} | undefined;
                                    bacs_debit?: {} | undefined;
                                    bancontact?: {
                                        bank_code: string | null;
                                        bank_name: string | null;
                                        bic: string | null;
                                        generated_sepa_debit: string | any | null;
                                        generated_sepa_debit_mandate: string | any | null;
                                        iban_last4: string | null;
                                        preferred_language: string | null;
                                        verified_name: string | null;
                                    } | undefined;
                                    boleto?: {} | undefined;
                                    card?: {
                                        brand: string | null;
                                        checks: any | null;
                                        country: string | null;
                                        description?: (string | null) | undefined;
                                        exp_month: number | null;
                                        exp_year: number | null;
                                        fingerprint?: (string | null) | undefined;
                                        funding: string | null;
                                        iin?: (string | null) | undefined;
                                        issuer?: (string | null) | undefined;
                                        last4: string | null;
                                        network: string | null;
                                        three_d_secure: any | null;
                                        wallet: any | null;
                                    } | undefined;
                                    card_present?: {
                                        generated_card: string | any | null;
                                        offline: any | null;
                                    } | undefined;
                                    cashapp?: {} | undefined;
                                    ideal?: {
                                        bank: string | null;
                                        bic: string | null;
                                        generated_sepa_debit: string | any | null;
                                        generated_sepa_debit_mandate: string | any | null;
                                        iban_last4: string | null;
                                        verified_name: string | null;
                                    } | undefined;
                                    kakao_pay?: {} | undefined;
                                    klarna?: {} | undefined;
                                    kr_card?: {} | undefined;
                                    link?: {} | undefined;
                                    paypal?: {} | undefined;
                                    revolut_pay?: {} | undefined;
                                    sepa_debit?: {} | undefined;
                                    sofort?: {
                                        bank_code: string | null;
                                        bank_name: string | null;
                                        bic: string | null;
                                        generated_sepa_debit: string | any | null;
                                        generated_sepa_debit_mandate: string | any | null;
                                        iban_last4: string | null;
                                        preferred_language: string | null;
                                        verified_name: string | null;
                                    } | undefined;
                                    type: string;
                                    us_bank_account?: {} | undefined;
                                };
                                setup_error: {
                                    charge?: string | undefined;
                                    code?: string | undefined;
                                    decline_code?: string | undefined;
                                    doc_url?: string | undefined;
                                    message?: string | undefined;
                                    param?: string | undefined;
                                    payment_intent?: {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        amount_capturable: number;
                                        amount_details?: any | undefined;
                                        amount_received: number;
                                        application: string | {
                                            id: string;
                                            object: string;
                                            deleted?: void | undefined;
                                            name: string | null;
                                        } | null;
                                        application_fee_amount: number | null;
                                        automatic_payment_methods: any | null;
                                        canceled_at: number | null;
                                        cancellation_reason: string | null;
                                        capture_method: string;
                                        client_secret: string | null;
                                        confirmation_method: string;
                                        created: number;
                                        currency: string;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        description: string | null;
                                        invoice: string | any | null;
                                        last_payment_error: any | null;
                                        latest_charge: string | any | null;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        };
                                        next_action: any | null;
                                        on_behalf_of: string | any | null;
                                        payment_method: string | any | null;
                                        payment_method_configuration_details: any | null;
                                        payment_method_options: any | null;
                                        payment_method_types: Array<string>;
                                        processing: any | null;
                                        receipt_email: string | null;
                                        review: string | any | null;
                                        setup_future_usage: string | null;
                                        shipping: any | null;
                                        source: string | any | any | {
                                            id: string;
                                            object: string;
                                            account?: string | any | null | undefined;
                                            address_city: string | null;
                                            address_country: string | null;
                                            address_line1: string | null;
                                            address_line1_check: string | null;
                                            address_line2: string | null;
                                            address_state: string | null;
                                            address_zip: string | null;
                                            address_zip_check: string | null;
                                            available_payout_methods?: string[] | null | undefined;
                                            brand: string;
                                            country: string | null;
                                            currency?: (string | null) | undefined;
                                            customer?: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null | undefined;
                                            cvc_check: string | null;
                                            default_for_currency?: (boolean | null) | undefined;
                                            deleted?: void | undefined;
                                            description?: string | undefined;
                                            dynamic_last4: string | null;
                                            exp_month: number;
                                            exp_year: number;
                                            fingerprint?: (string | null) | undefined;
                                            funding: string;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4: string;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            networks?: {
                                                preferred: string | null;
                                            } | undefined;
                                            status?: (string | null) | undefined;
                                            tokenization_method: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            ach_credit_transfer?: {
                                                account_number?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_account_holder_type?: (string | null) | undefined;
                                                refund_routing_number?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                swift_code?: (string | null) | undefined;
                                            } | undefined;
                                            ach_debit?: {
                                                bank_name?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                type?: (string | null) | undefined;
                                            } | undefined;
                                            acss_debit?: {
                                                bank_address_city?: (string | null) | undefined;
                                                bank_address_line_1?: (string | null) | undefined;
                                                bank_address_line_2?: (string | null) | undefined;
                                                bank_address_postal_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                category?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                            } | undefined;
                                            alipay?: {
                                                data_string?: (string | null) | undefined;
                                                native_url?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            amount: number | null;
                                            au_becs_debit?: {
                                                bsb_number?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                            } | undefined;
                                            bancontact?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            card?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            card_present?: {
                                                application_cryptogram?: string | undefined;
                                                application_preferred_name?: string | undefined;
                                                authorization_code?: (string | null) | undefined;
                                                authorization_response_code?: string | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvm_type?: string | undefined;
                                                data_type?: (string | null) | undefined;
                                                dedicated_file_name?: string | undefined;
                                                description?: string | undefined;
                                                emv_auth_data?: string | undefined;
                                                evidence_customer_signature?: (string | null) | undefined;
                                                evidence_transaction_certificate?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                pos_device_id?: (string | null) | undefined;
                                                pos_entry_mode?: string | undefined;
                                                read_method?: (string | null) | undefined;
                                                reader?: (string | null) | undefined;
                                                terminal_verification_results?: string | undefined;
                                                transaction_status_information?: string | undefined;
                                            } | undefined;
                                            client_secret: string;
                                            code_verification?: {
                                                attempts_remaining: number;
                                                status: string;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            customer?: string | undefined;
                                            eps?: {
                                                reference?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            flow: string;
                                            giropay?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            ideal?: {
                                                bank?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            klarna?: {
                                                background_image_url?: string | undefined;
                                                client_token?: (string | null) | undefined;
                                                first_name?: string | undefined;
                                                last_name?: string | undefined;
                                                locale?: string | undefined;
                                                logo_url?: string | undefined;
                                                page_title?: string | undefined;
                                                pay_later_asset_urls_descriptive?: string | undefined;
                                                pay_later_asset_urls_standard?: string | undefined;
                                                pay_later_name?: string | undefined;
                                                pay_later_redirect_url?: string | undefined;
                                                pay_now_asset_urls_descriptive?: string | undefined;
                                                pay_now_asset_urls_standard?: string | undefined;
                                                pay_now_name?: string | undefined;
                                                pay_now_redirect_url?: string | undefined;
                                                pay_over_time_asset_urls_descriptive?: string | undefined;
                                                pay_over_time_asset_urls_standard?: string | undefined;
                                                pay_over_time_name?: string | undefined;
                                                pay_over_time_redirect_url?: string | undefined;
                                                payment_method_categories?: string | undefined;
                                                purchase_country?: string | undefined;
                                                purchase_type?: string | undefined;
                                                redirect_url?: string | undefined;
                                                shipping_delay?: number | undefined;
                                                shipping_first_name?: string | undefined;
                                                shipping_last_name?: string | undefined;
                                            } | undefined;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            multibanco?: {
                                                entity?: (string | null) | undefined;
                                                reference?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            owner: {
                                                address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                email: string | null;
                                                name: string | null;
                                                phone: string | null;
                                                verified_address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                verified_email: string | null;
                                                verified_name: string | null;
                                                verified_phone: string | null;
                                            } | null;
                                            p24?: {
                                                reference?: (string | null) | undefined;
                                            } | undefined;
                                            receiver?: {
                                                address: string | null;
                                                amount_charged: number;
                                                amount_received: number;
                                                amount_returned: number;
                                                refund_attributes_method: string;
                                                refund_attributes_status: string;
                                            } | undefined;
                                            redirect?: {
                                                failure_reason: string | null;
                                                return_url: string;
                                                status: string;
                                                url: string;
                                            } | undefined;
                                            sepa_credit_transfer?: {
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            sepa_debit?: {
                                                bank_code?: (string | null) | undefined;
                                                branch_code?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                mandate_reference?: (string | null) | undefined;
                                                mandate_url?: (string | null) | undefined;
                                            } | undefined;
                                            sofort?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            source_order?: {
                                                amount: number;
                                                currency: string;
                                                email?: string | undefined;
                                                items: {
                                                    amount: number | null;
                                                    currency: string | null;
                                                    description: string | null;
                                                    parent: string | null;
                                                    quantity?: number | undefined;
                                                    type: string | null;
                                                }[] | null;
                                                shipping?: {
                                                    address?: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | undefined;
                                                    carrier?: (string | null) | undefined;
                                                    name?: string | undefined;
                                                    phone?: (string | null) | undefined;
                                                    tracking_number?: (string | null) | undefined;
                                                } | undefined;
                                            } | undefined;
                                            statement_descriptor: string | null;
                                            status: string;
                                            three_d_secure?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                authenticated?: (boolean | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                card?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                customer?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            type: string;
                                            usage: string | null;
                                            wechat?: {
                                                prepay_id?: string | undefined;
                                                qr_code_url?: (string | null) | undefined;
                                                statement_descriptor?: string | undefined;
                                            } | undefined;
                                        } | any | any | null;
                                        statement_descriptor: string | null;
                                        statement_descriptor_suffix: string | null;
                                        status: string;
                                        transfer_data: any | null;
                                        transfer_group: string | null;
                                    } | undefined;
                                    payment_method?: any | undefined;
                                    payment_method_type?: string | undefined;
                                    request_log_url?: string | undefined;
                                    setup_intent?: {
                                        id: string;
                                        object: string;
                                        application: string | {
                                            id: string;
                                            object: string;
                                            deleted?: void | undefined;
                                            name: string | null;
                                        } | null;
                                        attach_to_self?: boolean | undefined;
                                        automatic_payment_methods: any | null;
                                        cancellation_reason: string | null;
                                        client_secret: string | null;
                                        created: number;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        description: string | null;
                                        flow_directions: string[] | null;
                                        last_setup_error: any | null;
                                        latest_attempt: string | any | null;
                                        livemode: boolean;
                                        mandate: string | any | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        next_action: any | null;
                                        on_behalf_of: string | any | null;
                                        payment_method: string | any | null;
                                        payment_method_configuration_details: any | null;
                                        payment_method_options: any | null;
                                        payment_method_types: Array<string>;
                                        single_use_mandate: string | any | null;
                                        status: string;
                                        usage: string;
                                    } | undefined;
                                    source?: any | any | {
                                        id: string;
                                        object: string;
                                        account?: string | any | null | undefined;
                                        address_city: string | null;
                                        address_country: string | null;
                                        address_line1: string | null;
                                        address_line1_check: string | null;
                                        address_line2: string | null;
                                        address_state: string | null;
                                        address_zip: string | null;
                                        address_zip_check: string | null;
                                        available_payout_methods?: string[] | null | undefined;
                                        brand: string;
                                        country: string | null;
                                        currency?: (string | null) | undefined;
                                        customer?: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null | undefined;
                                        cvc_check: string | null;
                                        default_for_currency?: (boolean | null) | undefined;
                                        deleted?: void | undefined;
                                        description?: string | undefined;
                                        dynamic_last4: string | null;
                                        exp_month: number;
                                        exp_year: number;
                                        fingerprint?: (string | null) | undefined;
                                        funding: string;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4: string;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        networks?: {
                                            preferred: string | null;
                                        } | undefined;
                                        status?: (string | null) | undefined;
                                        tokenization_method: string | null;
                                    } | {
                                        id: string;
                                        object: string;
                                        ach_credit_transfer?: {
                                            account_number?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_account_holder_type?: (string | null) | undefined;
                                            refund_routing_number?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                            swift_code?: (string | null) | undefined;
                                        } | undefined;
                                        ach_debit?: {
                                            bank_name?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                            type?: (string | null) | undefined;
                                        } | undefined;
                                        acss_debit?: {
                                            bank_address_city?: (string | null) | undefined;
                                            bank_address_line_1?: (string | null) | undefined;
                                            bank_address_line_2?: (string | null) | undefined;
                                            bank_address_postal_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            category?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                        } | undefined;
                                        alipay?: {
                                            data_string?: (string | null) | undefined;
                                            native_url?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        amount: number | null;
                                        au_becs_debit?: {
                                            bsb_number?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                        } | undefined;
                                        bancontact?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            preferred_language?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        card?: {
                                            address_line1_check?: (string | null) | undefined;
                                            address_zip_check?: (string | null) | undefined;
                                            brand?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            cvc_check?: (string | null) | undefined;
                                            description?: string | undefined;
                                            dynamic_last4?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            name?: (string | null) | undefined;
                                            three_d_secure?: string | undefined;
                                            tokenization_method?: (string | null) | undefined;
                                        } | undefined;
                                        card_present?: {
                                            application_cryptogram?: string | undefined;
                                            application_preferred_name?: string | undefined;
                                            authorization_code?: (string | null) | undefined;
                                            authorization_response_code?: string | undefined;
                                            brand?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            cvm_type?: string | undefined;
                                            data_type?: (string | null) | undefined;
                                            dedicated_file_name?: string | undefined;
                                            description?: string | undefined;
                                            emv_auth_data?: string | undefined;
                                            evidence_customer_signature?: (string | null) | undefined;
                                            evidence_transaction_certificate?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            pos_device_id?: (string | null) | undefined;
                                            pos_entry_mode?: string | undefined;
                                            read_method?: (string | null) | undefined;
                                            reader?: (string | null) | undefined;
                                            terminal_verification_results?: string | undefined;
                                            transaction_status_information?: string | undefined;
                                        } | undefined;
                                        client_secret: string;
                                        code_verification?: {
                                            attempts_remaining: number;
                                            status: string;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        customer?: string | undefined;
                                        eps?: {
                                            reference?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        flow: string;
                                        giropay?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        ideal?: {
                                            bank?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        klarna?: {
                                            background_image_url?: string | undefined;
                                            client_token?: (string | null) | undefined;
                                            first_name?: string | undefined;
                                            last_name?: string | undefined;
                                            locale?: string | undefined;
                                            logo_url?: string | undefined;
                                            page_title?: string | undefined;
                                            pay_later_asset_urls_descriptive?: string | undefined;
                                            pay_later_asset_urls_standard?: string | undefined;
                                            pay_later_name?: string | undefined;
                                            pay_later_redirect_url?: string | undefined;
                                            pay_now_asset_urls_descriptive?: string | undefined;
                                            pay_now_asset_urls_standard?: string | undefined;
                                            pay_now_name?: string | undefined;
                                            pay_now_redirect_url?: string | undefined;
                                            pay_over_time_asset_urls_descriptive?: string | undefined;
                                            pay_over_time_asset_urls_standard?: string | undefined;
                                            pay_over_time_name?: string | undefined;
                                            pay_over_time_redirect_url?: string | undefined;
                                            payment_method_categories?: string | undefined;
                                            purchase_country?: string | undefined;
                                            purchase_type?: string | undefined;
                                            redirect_url?: string | undefined;
                                            shipping_delay?: number | undefined;
                                            shipping_first_name?: string | undefined;
                                            shipping_last_name?: string | undefined;
                                        } | undefined;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        multibanco?: {
                                            entity?: (string | null) | undefined;
                                            reference?: (string | null) | undefined;
                                            refund_account_holder_address_city?: (string | null) | undefined;
                                            refund_account_holder_address_country?: (string | null) | undefined;
                                            refund_account_holder_address_line1?: (string | null) | undefined;
                                            refund_account_holder_address_line2?: (string | null) | undefined;
                                            refund_account_holder_address_postal_code?: (string | null) | undefined;
                                            refund_account_holder_address_state?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_iban?: (string | null) | undefined;
                                        } | undefined;
                                        owner: {
                                            address: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | null;
                                            email: string | null;
                                            name: string | null;
                                            phone: string | null;
                                            verified_address: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | null;
                                            verified_email: string | null;
                                            verified_name: string | null;
                                            verified_phone: string | null;
                                        } | null;
                                        p24?: {
                                            reference?: (string | null) | undefined;
                                        } | undefined;
                                        receiver?: {
                                            address: string | null;
                                            amount_charged: number;
                                            amount_received: number;
                                            amount_returned: number;
                                            refund_attributes_method: string;
                                            refund_attributes_status: string;
                                        } | undefined;
                                        redirect?: {
                                            failure_reason: string | null;
                                            return_url: string;
                                            status: string;
                                            url: string;
                                        } | undefined;
                                        sepa_credit_transfer?: {
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban?: (string | null) | undefined;
                                            refund_account_holder_address_city?: (string | null) | undefined;
                                            refund_account_holder_address_country?: (string | null) | undefined;
                                            refund_account_holder_address_line1?: (string | null) | undefined;
                                            refund_account_holder_address_line2?: (string | null) | undefined;
                                            refund_account_holder_address_postal_code?: (string | null) | undefined;
                                            refund_account_holder_address_state?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_iban?: (string | null) | undefined;
                                        } | undefined;
                                        sepa_debit?: {
                                            bank_code?: (string | null) | undefined;
                                            branch_code?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            mandate_reference?: (string | null) | undefined;
                                            mandate_url?: (string | null) | undefined;
                                        } | undefined;
                                        sofort?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            preferred_language?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        source_order?: {
                                            amount: number;
                                            currency: string;
                                            email?: string | undefined;
                                            items: {
                                                amount: number | null;
                                                currency: string | null;
                                                description: string | null;
                                                parent: string | null;
                                                quantity?: number | undefined;
                                                type: string | null;
                                            }[] | null;
                                            shipping?: {
                                                address?: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | undefined;
                                                carrier?: (string | null) | undefined;
                                                name?: string | undefined;
                                                phone?: (string | null) | undefined;
                                                tracking_number?: (string | null) | undefined;
                                            } | undefined;
                                        } | undefined;
                                        statement_descriptor: string | null;
                                        status: string;
                                        three_d_secure?: {
                                            address_line1_check?: (string | null) | undefined;
                                            address_zip_check?: (string | null) | undefined;
                                            authenticated?: (boolean | null) | undefined;
                                            brand?: (string | null) | undefined;
                                            card?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            customer?: (string | null) | undefined;
                                            cvc_check?: (string | null) | undefined;
                                            description?: string | undefined;
                                            dynamic_last4?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            name?: (string | null) | undefined;
                                            three_d_secure?: string | undefined;
                                            tokenization_method?: (string | null) | undefined;
                                        } | undefined;
                                        type: string;
                                        usage: string | null;
                                        wechat?: {
                                            prepay_id?: string | undefined;
                                            qr_code_url?: (string | null) | undefined;
                                            statement_descriptor?: string | undefined;
                                        } | undefined;
                                    } | undefined;
                                    type: string;
                                } | null;
                                setup_intent: string | {
                                    id: string;
                                    object: string;
                                    application: string | {
                                        id: string;
                                        object: string;
                                        deleted?: void | undefined;
                                        name: string | null;
                                    } | null;
                                    attach_to_self?: boolean | undefined;
                                    automatic_payment_methods: any | null;
                                    cancellation_reason: string | null;
                                    client_secret: string | null;
                                    created: number;
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    description: string | null;
                                    flow_directions: string[] | null;
                                    last_setup_error: any | null;
                                    latest_attempt: string | any | null;
                                    livemode: boolean;
                                    mandate: string | any | null;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    next_action: any | null;
                                    on_behalf_of: string | any | null;
                                    payment_method: string | any | null;
                                    payment_method_configuration_details: any | null;
                                    payment_method_options: any | null;
                                    payment_method_types: Array<string>;
                                    single_use_mandate: string | any | null;
                                    status: string;
                                    usage: string;
                                };
                                status: string;
                                usage: string;
                            } | null;
                        } | null;
                        iin?: (string | null) | undefined;
                        issuer?: (string | null) | undefined;
                        last4: string;
                        networks: {
                            available: Array<string>;
                            preferred: string | null;
                        } | null;
                        three_d_secure_usage: {
                            supported: boolean;
                        } | null;
                        wallet: {
                            amex_express_checkout?: {} | undefined;
                            apple_pay?: {} | undefined;
                            dynamic_last4: string | null;
                            google_pay?: {} | undefined;
                            link?: {} | undefined;
                            masterpass?: {
                                billing_address: {
                                    city: string | null;
                                    country: string | null;
                                    line1: string | null;
                                    line2: string | null;
                                    postal_code: string | null;
                                    state: string | null;
                                } | null;
                                email: string | null;
                                name: string | null;
                                shipping_address: {
                                    city: string | null;
                                    country: string | null;
                                    line1: string | null;
                                    line2: string | null;
                                    postal_code: string | null;
                                    state: string | null;
                                } | null;
                            } | undefined;
                            samsung_pay?: {} | undefined;
                            type: string;
                            visa_checkout?: {
                                billing_address: {
                                    city: string | null;
                                    country: string | null;
                                    line1: string | null;
                                    line2: string | null;
                                    postal_code: string | null;
                                    state: string | null;
                                } | null;
                                email: string | null;
                                name: string | null;
                                shipping_address: {
                                    city: string | null;
                                    country: string | null;
                                    line1: string | null;
                                    line2: string | null;
                                    postal_code: string | null;
                                    state: string | null;
                                } | null;
                            } | undefined;
                        } | null;
                    } | undefined;
                    card_present?: {
                        brand: string | null;
                        brand_product: string | null;
                        cardholder_name: string | null;
                        country: string | null;
                        description?: (string | null) | undefined;
                        exp_month: number;
                        exp_year: number;
                        fingerprint: string | null;
                        funding: string | null;
                        iin?: (string | null) | undefined;
                        issuer?: (string | null) | undefined;
                        last4: string | null;
                        networks: {
                            available: Array<string>;
                            preferred: string | null;
                        } | null;
                        offline: {
                            stored_at: number | null;
                            type: string | null;
                        } | null;
                        preferred_locales: Array<string> | null;
                        read_method: string | null;
                        wallet?: {
                            type: string;
                        } | undefined;
                    } | undefined;
                    cashapp?: {
                        buyer_id: string | null;
                        cashtag: string | null;
                    } | undefined;
                    created: number;
                    customer: string | any | null;
                    customer_balance?: {} | undefined;
                    eps?: {
                        bank: string | null;
                    } | undefined;
                    fpx?: {
                        account_holder_type: string | null;
                        bank: string;
                    } | undefined;
                    giropay?: {} | undefined;
                    grabpay?: {} | undefined;
                    ideal?: {
                        bank: string | null;
                        bic: string | null;
                    } | undefined;
                    interac_present?: {
                        brand: string | null;
                        cardholder_name: string | null;
                        country: string | null;
                        description?: (string | null) | undefined;
                        exp_month: number;
                        exp_year: number;
                        fingerprint: string | null;
                        funding: string | null;
                        iin?: (string | null) | undefined;
                        issuer?: (string | null) | undefined;
                        last4: string | null;
                        networks: {
                            available: Array<string>;
                            preferred: string | null;
                        } | null;
                        preferred_locales: Array<string> | null;
                        read_method: string | null;
                    } | undefined;
                    kakao_pay?: {} | undefined;
                    klarna?: {
                        dob?: {
                            day: number | null;
                            month: number | null;
                            year: number | null;
                        } | null | undefined;
                    } | undefined;
                    konbini?: {} | undefined;
                    kr_card?: {
                        brand: string | null;
                        last4: string | null;
                    } | undefined;
                    link?: {
                        email: string | null;
                        persistent_token?: string | undefined;
                    } | undefined;
                    livemode: boolean;
                    metadata: {
                        [x: string]: string;
                    } | null;
                    mobilepay?: {} | undefined;
                    multibanco?: {} | undefined;
                    naver_pay?: {
                        funding: string;
                    } | undefined;
                    oxxo?: {} | undefined;
                    p24?: {
                        bank: string | null;
                    } | undefined;
                    payco?: {} | undefined;
                    paynow?: {} | undefined;
                    paypal?: {
                        payer_email: string | null;
                        payer_id: string | null;
                    } | undefined;
                    pix?: {} | undefined;
                    promptpay?: {} | undefined;
                    radar_options?: {
                        session?: string | undefined;
                    } | undefined;
                    revolut_pay?: {} | undefined;
                    samsung_pay?: {} | undefined;
                    sepa_debit?: {
                        bank_code: string | null;
                        branch_code: string | null;
                        country: string | null;
                        fingerprint: string | null;
                        generated_from: {
                            charge: string | {
                                id: string;
                                object: string;
                                amount: number;
                                amount_captured: number;
                                amount_refunded: number;
                                application: string | {
                                    id: string;
                                    object: string;
                                    deleted?: void | undefined;
                                    name: string | null;
                                } | null;
                                application_fee: string | {
                                    id: string;
                                    object: string;
                                    account: string | any;
                                    amount: number;
                                    amount_refunded: number;
                                    application: string | {
                                        id: string;
                                        object: string;
                                        deleted?: void | undefined;
                                        name: string | null;
                                    };
                                    balance_transaction: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        available_on: number;
                                        created: number;
                                        currency: string;
                                        description: string | null;
                                        exchange_rate: number | null;
                                        fee: number;
                                        fee_details: any[];
                                        net: number;
                                        reporting_category: string;
                                        source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                        status: string;
                                        type: string;
                                    } | null;
                                    charge: string | any;
                                    created: number;
                                    currency: string;
                                    fee_source: {
                                        charge?: string | undefined;
                                        payout?: string | undefined;
                                        type: string;
                                    } | null;
                                    livemode: boolean;
                                    originating_transaction: string | any | null;
                                    refunded: boolean;
                                    refunds: {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        balance_transaction: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            available_on: number;
                                            created: number;
                                            currency: string;
                                            description: string | null;
                                            exchange_rate: number | null;
                                            fee: number;
                                            fee_details: any[];
                                            net: number;
                                            reporting_category: string;
                                            source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                            status: string;
                                            type: string;
                                        } | null;
                                        created: number;
                                        currency: string;
                                        fee: string | any;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                    }[];
                                } | null;
                                application_fee_amount: number | null;
                                authorization_code?: string | undefined;
                                balance_transaction: string | {
                                    id: string;
                                    object: string;
                                    amount: number;
                                    available_on: number;
                                    created: number;
                                    currency: string;
                                    description: string | null;
                                    exchange_rate: number | null;
                                    fee: number;
                                    fee_details: any[];
                                    net: number;
                                    reporting_category: string;
                                    source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                    status: string;
                                    type: string;
                                } | null;
                                billing_details: {
                                    address: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | null;
                                    email: string | null;
                                    name: string | null;
                                    phone: string | null;
                                };
                                calculated_statement_descriptor: string | null;
                                captured: boolean;
                                created: number;
                                currency: string;
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null;
                                description: string | null;
                                disputed: boolean;
                                failure_balance_transaction: string | {
                                    id: string;
                                    object: string;
                                    amount: number;
                                    available_on: number;
                                    created: number;
                                    currency: string;
                                    description: string | null;
                                    exchange_rate: number | null;
                                    fee: number;
                                    fee_details: any[];
                                    net: number;
                                    reporting_category: string;
                                    source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                    status: string;
                                    type: string;
                                } | null;
                                failure_code: string | null;
                                failure_message: string | null;
                                fraud_details: {
                                    stripe_report?: string | undefined;
                                    user_report?: string | undefined;
                                } | null;
                                invoice: string | {
                                    id: string;
                                    object: string;
                                    account_country: string | null;
                                    account_name: string | null;
                                    account_tax_ids: (string | {
                                        id: string;
                                        object: string;
                                        country: string | null;
                                        created: number;
                                        customer: string | any | null;
                                        deleted?: void | undefined;
                                        livemode: boolean;
                                        owner: any | null;
                                        type: string;
                                        value: string;
                                        verification: any | null;
                                    } | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    })[] | null;
                                    amount_due: number;
                                    amount_paid: number;
                                    amount_remaining: number;
                                    amount_shipping: number;
                                    application: string | {
                                        id: string;
                                        object: string;
                                        deleted?: void | undefined;
                                        name: string | null;
                                    } | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                        name: string | null;
                                    } | null;
                                    application_fee_amount: number | null;
                                    attempt_count: number;
                                    attempted: boolean;
                                    auto_advance?: boolean | undefined;
                                    automatic_tax: {
                                        enabled: boolean;
                                        liability: any | null;
                                        status: string | null;
                                    };
                                    automatically_finalizes_at: number | null;
                                    billing_reason: string | null;
                                    charge: string | any | null;
                                    collection_method: string;
                                    created: number;
                                    currency: string;
                                    custom_fields: {
                                        name: string;
                                        value: string;
                                    }[] | null;
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    customer_address: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | null;
                                    customer_email: string | null;
                                    customer_name: string | null;
                                    customer_phone: string | null;
                                    customer_shipping: {
                                        address?: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | undefined;
                                        carrier?: (string | null) | undefined;
                                        name?: string | undefined;
                                        phone?: (string | null) | undefined;
                                        tracking_number?: (string | null) | undefined;
                                    } | null;
                                    customer_tax_exempt: string | null;
                                    customer_tax_ids?: {
                                        type: string;
                                        value: string | null;
                                    }[] | null | undefined;
                                    default_payment_method: string | any | null;
                                    default_source: string | any | any | {
                                        id: string;
                                        object: string;
                                        account?: string | any | null | undefined;
                                        address_city: string | null;
                                        address_country: string | null;
                                        address_line1: string | null;
                                        address_line1_check: string | null;
                                        address_line2: string | null;
                                        address_state: string | null;
                                        address_zip: string | null;
                                        address_zip_check: string | null;
                                        available_payout_methods?: string[] | null | undefined;
                                        brand: string;
                                        country: string | null;
                                        currency?: (string | null) | undefined;
                                        customer?: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null | undefined;
                                        cvc_check: string | null;
                                        default_for_currency?: (boolean | null) | undefined;
                                        deleted?: void | undefined;
                                        description?: string | undefined;
                                        dynamic_last4: string | null;
                                        exp_month: number;
                                        exp_year: number;
                                        fingerprint?: (string | null) | undefined;
                                        funding: string;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4: string;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        networks?: {
                                            preferred: string | null;
                                        } | undefined;
                                        status?: (string | null) | undefined;
                                        tokenization_method: string | null;
                                    } | {
                                        id: string;
                                        object: string;
                                        ach_credit_transfer?: {
                                            account_number?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_account_holder_type?: (string | null) | undefined;
                                            refund_routing_number?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                            swift_code?: (string | null) | undefined;
                                        } | undefined;
                                        ach_debit?: {
                                            bank_name?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                            type?: (string | null) | undefined;
                                        } | undefined;
                                        acss_debit?: {
                                            bank_address_city?: (string | null) | undefined;
                                            bank_address_line_1?: (string | null) | undefined;
                                            bank_address_line_2?: (string | null) | undefined;
                                            bank_address_postal_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            category?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                        } | undefined;
                                        alipay?: {
                                            data_string?: (string | null) | undefined;
                                            native_url?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        amount: number | null;
                                        au_becs_debit?: {
                                            bsb_number?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                        } | undefined;
                                        bancontact?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            preferred_language?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        card?: {
                                            address_line1_check?: (string | null) | undefined;
                                            address_zip_check?: (string | null) | undefined;
                                            brand?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            cvc_check?: (string | null) | undefined;
                                            description?: string | undefined;
                                            dynamic_last4?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            name?: (string | null) | undefined;
                                            three_d_secure?: string | undefined;
                                            tokenization_method?: (string | null) | undefined;
                                        } | undefined;
                                        card_present?: {
                                            application_cryptogram?: string | undefined;
                                            application_preferred_name?: string | undefined;
                                            authorization_code?: (string | null) | undefined;
                                            authorization_response_code?: string | undefined;
                                            brand?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            cvm_type?: string | undefined;
                                            data_type?: (string | null) | undefined;
                                            dedicated_file_name?: string | undefined;
                                            description?: string | undefined;
                                            emv_auth_data?: string | undefined;
                                            evidence_customer_signature?: (string | null) | undefined;
                                            evidence_transaction_certificate?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            pos_device_id?: (string | null) | undefined;
                                            pos_entry_mode?: string | undefined;
                                            read_method?: (string | null) | undefined;
                                            reader?: (string | null) | undefined;
                                            terminal_verification_results?: string | undefined;
                                            transaction_status_information?: string | undefined;
                                        } | undefined;
                                        client_secret: string;
                                        code_verification?: {
                                            attempts_remaining: number;
                                            status: string;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        customer?: string | undefined;
                                        eps?: {
                                            reference?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        flow: string;
                                        giropay?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        ideal?: {
                                            bank?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        klarna?: {
                                            background_image_url?: string | undefined;
                                            client_token?: (string | null) | undefined;
                                            first_name?: string | undefined;
                                            last_name?: string | undefined;
                                            locale?: string | undefined;
                                            logo_url?: string | undefined;
                                            page_title?: string | undefined;
                                            pay_later_asset_urls_descriptive?: string | undefined;
                                            pay_later_asset_urls_standard?: string | undefined;
                                            pay_later_name?: string | undefined;
                                            pay_later_redirect_url?: string | undefined;
                                            pay_now_asset_urls_descriptive?: string | undefined;
                                            pay_now_asset_urls_standard?: string | undefined;
                                            pay_now_name?: string | undefined;
                                            pay_now_redirect_url?: string | undefined;
                                            pay_over_time_asset_urls_descriptive?: string | undefined;
                                            pay_over_time_asset_urls_standard?: string | undefined;
                                            pay_over_time_name?: string | undefined;
                                            pay_over_time_redirect_url?: string | undefined;
                                            payment_method_categories?: string | undefined;
                                            purchase_country?: string | undefined;
                                            purchase_type?: string | undefined;
                                            redirect_url?: string | undefined;
                                            shipping_delay?: number | undefined;
                                            shipping_first_name?: string | undefined;
                                            shipping_last_name?: string | undefined;
                                        } | undefined;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        multibanco?: {
                                            entity?: (string | null) | undefined;
                                            reference?: (string | null) | undefined;
                                            refund_account_holder_address_city?: (string | null) | undefined;
                                            refund_account_holder_address_country?: (string | null) | undefined;
                                            refund_account_holder_address_line1?: (string | null) | undefined;
                                            refund_account_holder_address_line2?: (string | null) | undefined;
                                            refund_account_holder_address_postal_code?: (string | null) | undefined;
                                            refund_account_holder_address_state?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_iban?: (string | null) | undefined;
                                        } | undefined;
                                        owner: {
                                            address: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | null;
                                            email: string | null;
                                            name: string | null;
                                            phone: string | null;
                                            verified_address: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | null;
                                            verified_email: string | null;
                                            verified_name: string | null;
                                            verified_phone: string | null;
                                        } | null;
                                        p24?: {
                                            reference?: (string | null) | undefined;
                                        } | undefined;
                                        receiver?: {
                                            address: string | null;
                                            amount_charged: number;
                                            amount_received: number;
                                            amount_returned: number;
                                            refund_attributes_method: string;
                                            refund_attributes_status: string;
                                        } | undefined;
                                        redirect?: {
                                            failure_reason: string | null;
                                            return_url: string;
                                            status: string;
                                            url: string;
                                        } | undefined;
                                        sepa_credit_transfer?: {
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban?: (string | null) | undefined;
                                            refund_account_holder_address_city?: (string | null) | undefined;
                                            refund_account_holder_address_country?: (string | null) | undefined;
                                            refund_account_holder_address_line1?: (string | null) | undefined;
                                            refund_account_holder_address_line2?: (string | null) | undefined;
                                            refund_account_holder_address_postal_code?: (string | null) | undefined;
                                            refund_account_holder_address_state?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_iban?: (string | null) | undefined;
                                        } | undefined;
                                        sepa_debit?: {
                                            bank_code?: (string | null) | undefined;
                                            branch_code?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            mandate_reference?: (string | null) | undefined;
                                            mandate_url?: (string | null) | undefined;
                                        } | undefined;
                                        sofort?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            preferred_language?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        source_order?: {
                                            amount: number;
                                            currency: string;
                                            email?: string | undefined;
                                            items: {
                                                amount: number | null;
                                                currency: string | null;
                                                description: string | null;
                                                parent: string | null;
                                                quantity?: number | undefined;
                                                type: string | null;
                                            }[] | null;
                                            shipping?: {
                                                address?: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | undefined;
                                                carrier?: (string | null) | undefined;
                                                name?: string | undefined;
                                                phone?: (string | null) | undefined;
                                                tracking_number?: (string | null) | undefined;
                                            } | undefined;
                                        } | undefined;
                                        statement_descriptor: string | null;
                                        status: string;
                                        three_d_secure?: {
                                            address_line1_check?: (string | null) | undefined;
                                            address_zip_check?: (string | null) | undefined;
                                            authenticated?: (boolean | null) | undefined;
                                            brand?: (string | null) | undefined;
                                            card?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            customer?: (string | null) | undefined;
                                            cvc_check?: (string | null) | undefined;
                                            description?: string | undefined;
                                            dynamic_last4?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            name?: (string | null) | undefined;
                                            three_d_secure?: string | undefined;
                                            tokenization_method?: (string | null) | undefined;
                                        } | undefined;
                                        type: string;
                                        usage: string | null;
                                        wechat?: {
                                            prepay_id?: string | undefined;
                                            qr_code_url?: (string | null) | undefined;
                                            statement_descriptor?: string | undefined;
                                        } | undefined;
                                    } | null;
                                    default_tax_rates: {
                                        id: string;
                                        object: string;
                                        active: boolean;
                                        country: string | null;
                                        created: number;
                                        description: string | null;
                                        display_name: string;
                                        effective_percentage: number | null;
                                        flat_amount: any | null;
                                        inclusive: boolean;
                                        jurisdiction: string | null;
                                        jurisdiction_level: string | null;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        percentage: number;
                                        rate_type: string | null;
                                        state: string | null;
                                        tax_type: string | null;
                                    }[];
                                    deleted?: void | undefined;
                                    description: string | null;
                                    discount: {
                                        id: string;
                                        object: string;
                                        checkout_session: string | null;
                                        coupon: {
                                            id: string;
                                            object: string;
                                            amount_off: number | null;
                                            applies_to?: {
                                                products: Array<string>;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            currency_options?: {
                                                [x: string]: {
                                                    amount_off: number;
                                                };
                                            } | undefined;
                                            deleted?: void | undefined;
                                            duration: string;
                                            duration_in_months: number | null;
                                            livemode: boolean;
                                            max_redemptions: number | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            percent_off: number | null;
                                            redeem_by: number | null;
                                            times_redeemed: number;
                                            valid: boolean;
                                        };
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        deleted?: void | undefined;
                                        end: number | null;
                                        invoice: string | null;
                                        invoice_item: string | null;
                                        promotion_code: string | {
                                            id: string;
                                            object: string;
                                            active: boolean;
                                            code: string;
                                            coupon: {
                                                id: string;
                                                object: string;
                                                amount_off: number | null;
                                                applies_to?: {
                                                    products: Array<string>;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                currency_options?: {
                                                    [x: string]: {
                                                        amount_off: number;
                                                    };
                                                } | undefined;
                                                deleted?: void | undefined;
                                                duration: string;
                                                duration_in_months: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                percent_off: number | null;
                                                redeem_by: number | null;
                                                times_redeemed: number;
                                                valid: boolean;
                                            };
                                            created: number;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            expires_at: number | null;
                                            livemode: boolean;
                                            max_redemptions: number | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            restrictions: {
                                                currency_options?: {
                                                    [x: string]: {
                                                        minimum_amount: number;
                                                    };
                                                } | undefined;
                                                first_time_transaction: boolean;
                                                minimum_amount: number | null;
                                                minimum_amount_currency: string | null;
                                            };
                                            times_redeemed: number;
                                        } | null;
                                        start: number;
                                        subscription: string | null;
                                        subscription_item: string | null;
                                    } | null;
                                    discounts: (string | {
                                        id: string;
                                        object: string;
                                        checkout_session: string | null;
                                        coupon: {
                                            id: string;
                                            object: string;
                                            amount_off: number | null;
                                            applies_to?: {
                                                products: Array<string>;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            currency_options?: {
                                                [x: string]: {
                                                    amount_off: number;
                                                };
                                            } | undefined;
                                            deleted?: void | undefined;
                                            duration: string;
                                            duration_in_months: number | null;
                                            livemode: boolean;
                                            max_redemptions: number | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            percent_off: number | null;
                                            redeem_by: number | null;
                                            times_redeemed: number;
                                            valid: boolean;
                                        };
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        deleted?: void | undefined;
                                        end: number | null;
                                        invoice: string | null;
                                        invoice_item: string | null;
                                        promotion_code: string | {
                                            id: string;
                                            object: string;
                                            active: boolean;
                                            code: string;
                                            coupon: {
                                                id: string;
                                                object: string;
                                                amount_off: number | null;
                                                applies_to?: {
                                                    products: Array<string>;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                currency_options?: {
                                                    [x: string]: {
                                                        amount_off: number;
                                                    };
                                                } | undefined;
                                                deleted?: void | undefined;
                                                duration: string;
                                                duration_in_months: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                percent_off: number | null;
                                                redeem_by: number | null;
                                                times_redeemed: number;
                                                valid: boolean;
                                            };
                                            created: number;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            expires_at: number | null;
                                            livemode: boolean;
                                            max_redemptions: number | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            restrictions: {
                                                currency_options?: {
                                                    [x: string]: {
                                                        minimum_amount: number;
                                                    };
                                                } | undefined;
                                                first_time_transaction: boolean;
                                                minimum_amount: number | null;
                                                minimum_amount_currency: string | null;
                                            };
                                            times_redeemed: number;
                                        } | null;
                                        start: number;
                                        subscription: string | null;
                                        subscription_item: string | null;
                                    } | {
                                        id: string;
                                        object: string;
                                        checkout_session: string | null;
                                        coupon: {
                                            id: string;
                                            object: string;
                                            amount_off: number | null;
                                            applies_to?: {
                                                products: Array<string>;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            currency_options?: {
                                                [x: string]: {
                                                    amount_off: number;
                                                };
                                            } | undefined;
                                            deleted?: void | undefined;
                                            duration: string;
                                            duration_in_months: number | null;
                                            livemode: boolean;
                                            max_redemptions: number | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            percent_off: number | null;
                                            redeem_by: number | null;
                                            times_redeemed: number;
                                            valid: boolean;
                                        };
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        deleted: boolean;
                                        invoice: string | null;
                                        invoice_item: string | null;
                                        promotion_code: string | {
                                            id: string;
                                            object: string;
                                            active: boolean;
                                            code: string;
                                            coupon: {
                                                id: string;
                                                object: string;
                                                amount_off: number | null;
                                                applies_to?: {
                                                    products: Array<string>;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                currency_options?: {
                                                    [x: string]: {
                                                        amount_off: number;
                                                    };
                                                } | undefined;
                                                deleted?: void | undefined;
                                                duration: string;
                                                duration_in_months: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                percent_off: number | null;
                                                redeem_by: number | null;
                                                times_redeemed: number;
                                                valid: boolean;
                                            };
                                            created: number;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            expires_at: number | null;
                                            livemode: boolean;
                                            max_redemptions: number | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            restrictions: {
                                                currency_options?: {
                                                    [x: string]: {
                                                        minimum_amount: number;
                                                    };
                                                } | undefined;
                                                first_time_transaction: boolean;
                                                minimum_amount: number | null;
                                                minimum_amount_currency: string | null;
                                            };
                                            times_redeemed: number;
                                        } | null;
                                        start: number;
                                        subscription: string | null;
                                        subscription_item: string | null;
                                    })[];
                                    due_date: number | null;
                                    effective_at: number | null;
                                    ending_balance: number | null;
                                    footer: string | null;
                                    from_invoice: {
                                        action: string;
                                        invoice: string | any;
                                    } | null;
                                    hosted_invoice_url?: (string | null) | undefined;
                                    invoice_pdf?: (string | null) | undefined;
                                    issuer: {
                                        account?: string | any | undefined;
                                        type: string;
                                    };
                                    last_finalization_error: {
                                        charge?: string | undefined;
                                        code?: string | undefined;
                                        decline_code?: string | undefined;
                                        doc_url?: string | undefined;
                                        message?: string | undefined;
                                        param?: string | undefined;
                                        payment_intent?: {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            amount_capturable: number;
                                            amount_details?: any | undefined;
                                            amount_received: number;
                                            application: string | {
                                                id: string;
                                                object: string;
                                                deleted?: void | undefined;
                                                name: string | null;
                                            } | null;
                                            application_fee_amount: number | null;
                                            automatic_payment_methods: any | null;
                                            canceled_at: number | null;
                                            cancellation_reason: string | null;
                                            capture_method: string;
                                            client_secret: string | null;
                                            confirmation_method: string;
                                            created: number;
                                            currency: string;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            description: string | null;
                                            invoice: string | any | null;
                                            last_payment_error: any | null;
                                            latest_charge: string | any | null;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            };
                                            next_action: any | null;
                                            on_behalf_of: string | any | null;
                                            payment_method: string | any | null;
                                            payment_method_configuration_details: any | null;
                                            payment_method_options: any | null;
                                            payment_method_types: Array<string>;
                                            processing: any | null;
                                            receipt_email: string | null;
                                            review: string | any | null;
                                            setup_future_usage: string | null;
                                            shipping: any | null;
                                            source: string | any | any | {
                                                id: string;
                                                object: string;
                                                account?: string | any | null | undefined;
                                                address_city: string | null;
                                                address_country: string | null;
                                                address_line1: string | null;
                                                address_line1_check: string | null;
                                                address_line2: string | null;
                                                address_state: string | null;
                                                address_zip: string | null;
                                                address_zip_check: string | null;
                                                available_payout_methods?: string[] | null | undefined;
                                                brand: string;
                                                country: string | null;
                                                currency?: (string | null) | undefined;
                                                customer?: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null | undefined;
                                                cvc_check: string | null;
                                                default_for_currency?: (boolean | null) | undefined;
                                                deleted?: void | undefined;
                                                description?: string | undefined;
                                                dynamic_last4: string | null;
                                                exp_month: number;
                                                exp_year: number;
                                                fingerprint?: (string | null) | undefined;
                                                funding: string;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4: string;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                networks?: {
                                                    preferred: string | null;
                                                } | undefined;
                                                status?: (string | null) | undefined;
                                                tokenization_method: string | null;
                                            } | {
                                                id: string;
                                                object: string;
                                                ach_credit_transfer?: {
                                                    account_number?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_account_holder_type?: (string | null) | undefined;
                                                    refund_routing_number?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    swift_code?: (string | null) | undefined;
                                                } | undefined;
                                                ach_debit?: {
                                                    bank_name?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                    type?: (string | null) | undefined;
                                                } | undefined;
                                                acss_debit?: {
                                                    bank_address_city?: (string | null) | undefined;
                                                    bank_address_line_1?: (string | null) | undefined;
                                                    bank_address_line_2?: (string | null) | undefined;
                                                    bank_address_postal_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    category?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    routing_number?: (string | null) | undefined;
                                                } | undefined;
                                                alipay?: {
                                                    data_string?: (string | null) | undefined;
                                                    native_url?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                amount: number | null;
                                                au_becs_debit?: {
                                                    bsb_number?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                } | undefined;
                                                bancontact?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                card?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                card_present?: {
                                                    application_cryptogram?: string | undefined;
                                                    application_preferred_name?: string | undefined;
                                                    authorization_code?: (string | null) | undefined;
                                                    authorization_response_code?: string | undefined;
                                                    brand?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    cvm_type?: string | undefined;
                                                    data_type?: (string | null) | undefined;
                                                    dedicated_file_name?: string | undefined;
                                                    description?: string | undefined;
                                                    emv_auth_data?: string | undefined;
                                                    evidence_customer_signature?: (string | null) | undefined;
                                                    evidence_transaction_certificate?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    pos_device_id?: (string | null) | undefined;
                                                    pos_entry_mode?: string | undefined;
                                                    read_method?: (string | null) | undefined;
                                                    reader?: (string | null) | undefined;
                                                    terminal_verification_results?: string | undefined;
                                                    transaction_status_information?: string | undefined;
                                                } | undefined;
                                                client_secret: string;
                                                code_verification?: {
                                                    attempts_remaining: number;
                                                    status: string;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                customer?: string | undefined;
                                                eps?: {
                                                    reference?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                flow: string;
                                                giropay?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                ideal?: {
                                                    bank?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                klarna?: {
                                                    background_image_url?: string | undefined;
                                                    client_token?: (string | null) | undefined;
                                                    first_name?: string | undefined;
                                                    last_name?: string | undefined;
                                                    locale?: string | undefined;
                                                    logo_url?: string | undefined;
                                                    page_title?: string | undefined;
                                                    pay_later_asset_urls_descriptive?: string | undefined;
                                                    pay_later_asset_urls_standard?: string | undefined;
                                                    pay_later_name?: string | undefined;
                                                    pay_later_redirect_url?: string | undefined;
                                                    pay_now_asset_urls_descriptive?: string | undefined;
                                                    pay_now_asset_urls_standard?: string | undefined;
                                                    pay_now_name?: string | undefined;
                                                    pay_now_redirect_url?: string | undefined;
                                                    pay_over_time_asset_urls_descriptive?: string | undefined;
                                                    pay_over_time_asset_urls_standard?: string | undefined;
                                                    pay_over_time_name?: string | undefined;
                                                    pay_over_time_redirect_url?: string | undefined;
                                                    payment_method_categories?: string | undefined;
                                                    purchase_country?: string | undefined;
                                                    purchase_type?: string | undefined;
                                                    redirect_url?: string | undefined;
                                                    shipping_delay?: number | undefined;
                                                    shipping_first_name?: string | undefined;
                                                    shipping_last_name?: string | undefined;
                                                } | undefined;
                                                livemode: boolean;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                multibanco?: {
                                                    entity?: (string | null) | undefined;
                                                    reference?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                owner: {
                                                    address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    email: string | null;
                                                    name: string | null;
                                                    phone: string | null;
                                                    verified_address: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | null;
                                                    verified_email: string | null;
                                                    verified_name: string | null;
                                                    verified_phone: string | null;
                                                } | null;
                                                p24?: {
                                                    reference?: (string | null) | undefined;
                                                } | undefined;
                                                receiver?: {
                                                    address: string | null;
                                                    amount_charged: number;
                                                    amount_received: number;
                                                    amount_returned: number;
                                                    refund_attributes_method: string;
                                                    refund_attributes_status: string;
                                                } | undefined;
                                                redirect?: {
                                                    failure_reason: string | null;
                                                    return_url: string;
                                                    status: string;
                                                    url: string;
                                                } | undefined;
                                                sepa_credit_transfer?: {
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    iban?: (string | null) | undefined;
                                                    refund_account_holder_address_city?: (string | null) | undefined;
                                                    refund_account_holder_address_country?: (string | null) | undefined;
                                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                    refund_account_holder_address_state?: (string | null) | undefined;
                                                    refund_account_holder_name?: (string | null) | undefined;
                                                    refund_iban?: (string | null) | undefined;
                                                } | undefined;
                                                sepa_debit?: {
                                                    bank_code?: (string | null) | undefined;
                                                    branch_code?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    fingerprint?: (string | null) | undefined;
                                                    last4?: (string | null) | undefined;
                                                    mandate_reference?: (string | null) | undefined;
                                                    mandate_url?: (string | null) | undefined;
                                                } | undefined;
                                                sofort?: {
                                                    bank_code?: (string | null) | undefined;
                                                    bank_name?: (string | null) | undefined;
                                                    bic?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    iban_last4?: (string | null) | undefined;
                                                    preferred_language?: (string | null) | undefined;
                                                    statement_descriptor?: (string | null) | undefined;
                                                } | undefined;
                                                source_order?: {
                                                    amount: number;
                                                    currency: string;
                                                    email?: string | undefined;
                                                    items: {
                                                        amount: number | null;
                                                        currency: string | null;
                                                        description: string | null;
                                                        parent: string | null;
                                                        quantity?: number | undefined;
                                                        type: string | null;
                                                    }[] | null;
                                                    shipping?: {
                                                        address?: {
                                                            city: string | null;
                                                            country: string | null;
                                                            line1: string | null;
                                                            line2: string | null;
                                                            postal_code: string | null;
                                                            state: string | null;
                                                        } | undefined;
                                                        carrier?: (string | null) | undefined;
                                                        name?: string | undefined;
                                                        phone?: (string | null) | undefined;
                                                        tracking_number?: (string | null) | undefined;
                                                    } | undefined;
                                                } | undefined;
                                                statement_descriptor: string | null;
                                                status: string;
                                                three_d_secure?: {
                                                    address_line1_check?: (string | null) | undefined;
                                                    address_zip_check?: (string | null) | undefined;
                                                    authenticated?: (boolean | null) | undefined;
                                                    brand?: (string | null) | undefined;
                                                    card?: (string | null) | undefined;
                                                    country?: (string | null) | undefined;
                                                    customer?: (string | null) | undefined;
                                                    cvc_check?: (string | null) | undefined;
                                                    description?: string | undefined;
                                                    dynamic_last4?: (string | null) | undefined;
                                                    exp_month?: (number | null) | undefined;
                                                    exp_year?: (number | null) | undefined;
                                                    fingerprint?: string | undefined;
                                                    funding?: (string | null) | undefined;
                                                    iin?: string | undefined;
                                                    issuer?: string | undefined;
                                                    last4?: (string | null) | undefined;
                                                    name?: (string | null) | undefined;
                                                    three_d_secure?: string | undefined;
                                                    tokenization_method?: (string | null) | undefined;
                                                } | undefined;
                                                type: string;
                                                usage: string | null;
                                                wechat?: {
                                                    prepay_id?: string | undefined;
                                                    qr_code_url?: (string | null) | undefined;
                                                    statement_descriptor?: string | undefined;
                                                } | undefined;
                                            } | any | any | null;
                                            statement_descriptor: string | null;
                                            statement_descriptor_suffix: string | null;
                                            status: string;
                                            transfer_data: any | null;
                                            transfer_group: string | null;
                                        } | undefined;
                                        payment_method?: any | undefined;
                                        payment_method_type?: string | undefined;
                                        request_log_url?: string | undefined;
                                        setup_intent?: {
                                            id: string;
                                            object: string;
                                            application: string | {
                                                id: string;
                                                object: string;
                                                deleted?: void | undefined;
                                                name: string | null;
                                            } | null;
                                            attach_to_self?: boolean | undefined;
                                            automatic_payment_methods: any | null;
                                            cancellation_reason: string | null;
                                            client_secret: string | null;
                                            created: number;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            description: string | null;
                                            flow_directions: string[] | null;
                                            last_setup_error: any | null;
                                            latest_attempt: string | any | null;
                                            livemode: boolean;
                                            mandate: string | any | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            next_action: any | null;
                                            on_behalf_of: string | any | null;
                                            payment_method: string | any | null;
                                            payment_method_configuration_details: any | null;
                                            payment_method_options: any | null;
                                            payment_method_types: Array<string>;
                                            single_use_mandate: string | any | null;
                                            status: string;
                                            usage: string;
                                        } | undefined;
                                        source?: any | any | {
                                            id: string;
                                            object: string;
                                            account?: string | any | null | undefined;
                                            address_city: string | null;
                                            address_country: string | null;
                                            address_line1: string | null;
                                            address_line1_check: string | null;
                                            address_line2: string | null;
                                            address_state: string | null;
                                            address_zip: string | null;
                                            address_zip_check: string | null;
                                            available_payout_methods?: string[] | null | undefined;
                                            brand: string;
                                            country: string | null;
                                            currency?: (string | null) | undefined;
                                            customer?: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null | undefined;
                                            cvc_check: string | null;
                                            default_for_currency?: (boolean | null) | undefined;
                                            deleted?: void | undefined;
                                            description?: string | undefined;
                                            dynamic_last4: string | null;
                                            exp_month: number;
                                            exp_year: number;
                                            fingerprint?: (string | null) | undefined;
                                            funding: string;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4: string;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            networks?: {
                                                preferred: string | null;
                                            } | undefined;
                                            status?: (string | null) | undefined;
                                            tokenization_method: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            ach_credit_transfer?: {
                                                account_number?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_account_holder_type?: (string | null) | undefined;
                                                refund_routing_number?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                swift_code?: (string | null) | undefined;
                                            } | undefined;
                                            ach_debit?: {
                                                bank_name?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                type?: (string | null) | undefined;
                                            } | undefined;
                                            acss_debit?: {
                                                bank_address_city?: (string | null) | undefined;
                                                bank_address_line_1?: (string | null) | undefined;
                                                bank_address_line_2?: (string | null) | undefined;
                                                bank_address_postal_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                category?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                            } | undefined;
                                            alipay?: {
                                                data_string?: (string | null) | undefined;
                                                native_url?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            amount: number | null;
                                            au_becs_debit?: {
                                                bsb_number?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                            } | undefined;
                                            bancontact?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            card?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            card_present?: {
                                                application_cryptogram?: string | undefined;
                                                application_preferred_name?: string | undefined;
                                                authorization_code?: (string | null) | undefined;
                                                authorization_response_code?: string | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvm_type?: string | undefined;
                                                data_type?: (string | null) | undefined;
                                                dedicated_file_name?: string | undefined;
                                                description?: string | undefined;
                                                emv_auth_data?: string | undefined;
                                                evidence_customer_signature?: (string | null) | undefined;
                                                evidence_transaction_certificate?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                pos_device_id?: (string | null) | undefined;
                                                pos_entry_mode?: string | undefined;
                                                read_method?: (string | null) | undefined;
                                                reader?: (string | null) | undefined;
                                                terminal_verification_results?: string | undefined;
                                                transaction_status_information?: string | undefined;
                                            } | undefined;
                                            client_secret: string;
                                            code_verification?: {
                                                attempts_remaining: number;
                                                status: string;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            customer?: string | undefined;
                                            eps?: {
                                                reference?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            flow: string;
                                            giropay?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            ideal?: {
                                                bank?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            klarna?: {
                                                background_image_url?: string | undefined;
                                                client_token?: (string | null) | undefined;
                                                first_name?: string | undefined;
                                                last_name?: string | undefined;
                                                locale?: string | undefined;
                                                logo_url?: string | undefined;
                                                page_title?: string | undefined;
                                                pay_later_asset_urls_descriptive?: string | undefined;
                                                pay_later_asset_urls_standard?: string | undefined;
                                                pay_later_name?: string | undefined;
                                                pay_later_redirect_url?: string | undefined;
                                                pay_now_asset_urls_descriptive?: string | undefined;
                                                pay_now_asset_urls_standard?: string | undefined;
                                                pay_now_name?: string | undefined;
                                                pay_now_redirect_url?: string | undefined;
                                                pay_over_time_asset_urls_descriptive?: string | undefined;
                                                pay_over_time_asset_urls_standard?: string | undefined;
                                                pay_over_time_name?: string | undefined;
                                                pay_over_time_redirect_url?: string | undefined;
                                                payment_method_categories?: string | undefined;
                                                purchase_country?: string | undefined;
                                                purchase_type?: string | undefined;
                                                redirect_url?: string | undefined;
                                                shipping_delay?: number | undefined;
                                                shipping_first_name?: string | undefined;
                                                shipping_last_name?: string | undefined;
                                            } | undefined;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            multibanco?: {
                                                entity?: (string | null) | undefined;
                                                reference?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            owner: {
                                                address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                email: string | null;
                                                name: string | null;
                                                phone: string | null;
                                                verified_address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                verified_email: string | null;
                                                verified_name: string | null;
                                                verified_phone: string | null;
                                            } | null;
                                            p24?: {
                                                reference?: (string | null) | undefined;
                                            } | undefined;
                                            receiver?: {
                                                address: string | null;
                                                amount_charged: number;
                                                amount_received: number;
                                                amount_returned: number;
                                                refund_attributes_method: string;
                                                refund_attributes_status: string;
                                            } | undefined;
                                            redirect?: {
                                                failure_reason: string | null;
                                                return_url: string;
                                                status: string;
                                                url: string;
                                            } | undefined;
                                            sepa_credit_transfer?: {
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            sepa_debit?: {
                                                bank_code?: (string | null) | undefined;
                                                branch_code?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                mandate_reference?: (string | null) | undefined;
                                                mandate_url?: (string | null) | undefined;
                                            } | undefined;
                                            sofort?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            source_order?: {
                                                amount: number;
                                                currency: string;
                                                email?: string | undefined;
                                                items: {
                                                    amount: number | null;
                                                    currency: string | null;
                                                    description: string | null;
                                                    parent: string | null;
                                                    quantity?: number | undefined;
                                                    type: string | null;
                                                }[] | null;
                                                shipping?: {
                                                    address?: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | undefined;
                                                    carrier?: (string | null) | undefined;
                                                    name?: string | undefined;
                                                    phone?: (string | null) | undefined;
                                                    tracking_number?: (string | null) | undefined;
                                                } | undefined;
                                            } | undefined;
                                            statement_descriptor: string | null;
                                            status: string;
                                            three_d_secure?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                authenticated?: (boolean | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                card?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                customer?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            type: string;
                                            usage: string | null;
                                            wechat?: {
                                                prepay_id?: string | undefined;
                                                qr_code_url?: (string | null) | undefined;
                                                statement_descriptor?: string | undefined;
                                            } | undefined;
                                        } | undefined;
                                        type: string;
                                    } | null;
                                    latest_revision: string | any | null;
                                    lines: {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        amount_excluding_tax: number | null;
                                        currency: string;
                                        description: string | null;
                                        discount_amounts: any[] | null;
                                        discountable: boolean;
                                        discounts: (string | {
                                            id: string;
                                            object: string;
                                            checkout_session: string | null;
                                            coupon: {
                                                id: string;
                                                object: string;
                                                amount_off: number | null;
                                                applies_to?: {
                                                    products: Array<string>;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                currency_options?: {
                                                    [x: string]: {
                                                        amount_off: number;
                                                    };
                                                } | undefined;
                                                deleted?: void | undefined;
                                                duration: string;
                                                duration_in_months: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                percent_off: number | null;
                                                redeem_by: number | null;
                                                times_redeemed: number;
                                                valid: boolean;
                                            };
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            deleted?: void | undefined;
                                            end: number | null;
                                            invoice: string | null;
                                            invoice_item: string | null;
                                            promotion_code: string | {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                code: string;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                created: number;
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                expires_at: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                restrictions: {
                                                    currency_options?: {
                                                        [x: string]: {
                                                            minimum_amount: number;
                                                        };
                                                    } | undefined;
                                                    first_time_transaction: boolean;
                                                    minimum_amount: number | null;
                                                    minimum_amount_currency: string | null;
                                                };
                                                times_redeemed: number;
                                            } | null;
                                            start: number;
                                            subscription: string | null;
                                            subscription_item: string | null;
                                        })[];
                                        invoice: string | null;
                                        invoice_item?: string | any | undefined;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        };
                                        period: any;
                                        plan: any | null;
                                        pretax_credit_amounts?: any[] | null | undefined;
                                        price: any | null;
                                        proration: boolean;
                                        proration_details: any | null;
                                        quantity: number | null;
                                        subscription: string | any | null;
                                        subscription_item?: string | any | undefined;
                                        tax_amounts: any[];
                                        tax_rates: {
                                            id: string;
                                            object: string;
                                            active: boolean;
                                            country: string | null;
                                            created: number;
                                            description: string | null;
                                            display_name: string;
                                            effective_percentage: number | null;
                                            flat_amount: any | null;
                                            inclusive: boolean;
                                            jurisdiction: string | null;
                                            jurisdiction_level: string | null;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            percentage: number;
                                            rate_type: string | null;
                                            state: string | null;
                                            tax_type: string | null;
                                        }[];
                                        type: string;
                                        unit_amount_excluding_tax: string | null;
                                    }[];
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    next_payment_attempt: number | null;
                                    number: string | null;
                                    on_behalf_of: string | any | null;
                                    paid: boolean;
                                    paid_out_of_band: boolean;
                                    payment_intent: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        amount_capturable: number;
                                        amount_details?: any | undefined;
                                        amount_received: number;
                                        application: string | {
                                            id: string;
                                            object: string;
                                            deleted?: void | undefined;
                                            name: string | null;
                                        } | null;
                                        application_fee_amount: number | null;
                                        automatic_payment_methods: any | null;
                                        canceled_at: number | null;
                                        cancellation_reason: string | null;
                                        capture_method: string;
                                        client_secret: string | null;
                                        confirmation_method: string;
                                        created: number;
                                        currency: string;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        description: string | null;
                                        invoice: string | any | null;
                                        last_payment_error: any | null;
                                        latest_charge: string | any | null;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        };
                                        next_action: any | null;
                                        on_behalf_of: string | any | null;
                                        payment_method: string | any | null;
                                        payment_method_configuration_details: any | null;
                                        payment_method_options: any | null;
                                        payment_method_types: Array<string>;
                                        processing: any | null;
                                        receipt_email: string | null;
                                        review: string | any | null;
                                        setup_future_usage: string | null;
                                        shipping: any | null;
                                        source: string | any | any | {
                                            id: string;
                                            object: string;
                                            account?: string | any | null | undefined;
                                            address_city: string | null;
                                            address_country: string | null;
                                            address_line1: string | null;
                                            address_line1_check: string | null;
                                            address_line2: string | null;
                                            address_state: string | null;
                                            address_zip: string | null;
                                            address_zip_check: string | null;
                                            available_payout_methods?: string[] | null | undefined;
                                            brand: string;
                                            country: string | null;
                                            currency?: (string | null) | undefined;
                                            customer?: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null | undefined;
                                            cvc_check: string | null;
                                            default_for_currency?: (boolean | null) | undefined;
                                            deleted?: void | undefined;
                                            description?: string | undefined;
                                            dynamic_last4: string | null;
                                            exp_month: number;
                                            exp_year: number;
                                            fingerprint?: (string | null) | undefined;
                                            funding: string;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4: string;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            networks?: {
                                                preferred: string | null;
                                            } | undefined;
                                            status?: (string | null) | undefined;
                                            tokenization_method: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            ach_credit_transfer?: {
                                                account_number?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_account_holder_type?: (string | null) | undefined;
                                                refund_routing_number?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                swift_code?: (string | null) | undefined;
                                            } | undefined;
                                            ach_debit?: {
                                                bank_name?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                type?: (string | null) | undefined;
                                            } | undefined;
                                            acss_debit?: {
                                                bank_address_city?: (string | null) | undefined;
                                                bank_address_line_1?: (string | null) | undefined;
                                                bank_address_line_2?: (string | null) | undefined;
                                                bank_address_postal_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                category?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                            } | undefined;
                                            alipay?: {
                                                data_string?: (string | null) | undefined;
                                                native_url?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            amount: number | null;
                                            au_becs_debit?: {
                                                bsb_number?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                            } | undefined;
                                            bancontact?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            card?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            card_present?: {
                                                application_cryptogram?: string | undefined;
                                                application_preferred_name?: string | undefined;
                                                authorization_code?: (string | null) | undefined;
                                                authorization_response_code?: string | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvm_type?: string | undefined;
                                                data_type?: (string | null) | undefined;
                                                dedicated_file_name?: string | undefined;
                                                description?: string | undefined;
                                                emv_auth_data?: string | undefined;
                                                evidence_customer_signature?: (string | null) | undefined;
                                                evidence_transaction_certificate?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                pos_device_id?: (string | null) | undefined;
                                                pos_entry_mode?: string | undefined;
                                                read_method?: (string | null) | undefined;
                                                reader?: (string | null) | undefined;
                                                terminal_verification_results?: string | undefined;
                                                transaction_status_information?: string | undefined;
                                            } | undefined;
                                            client_secret: string;
                                            code_verification?: {
                                                attempts_remaining: number;
                                                status: string;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            customer?: string | undefined;
                                            eps?: {
                                                reference?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            flow: string;
                                            giropay?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            ideal?: {
                                                bank?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            klarna?: {
                                                background_image_url?: string | undefined;
                                                client_token?: (string | null) | undefined;
                                                first_name?: string | undefined;
                                                last_name?: string | undefined;
                                                locale?: string | undefined;
                                                logo_url?: string | undefined;
                                                page_title?: string | undefined;
                                                pay_later_asset_urls_descriptive?: string | undefined;
                                                pay_later_asset_urls_standard?: string | undefined;
                                                pay_later_name?: string | undefined;
                                                pay_later_redirect_url?: string | undefined;
                                                pay_now_asset_urls_descriptive?: string | undefined;
                                                pay_now_asset_urls_standard?: string | undefined;
                                                pay_now_name?: string | undefined;
                                                pay_now_redirect_url?: string | undefined;
                                                pay_over_time_asset_urls_descriptive?: string | undefined;
                                                pay_over_time_asset_urls_standard?: string | undefined;
                                                pay_over_time_name?: string | undefined;
                                                pay_over_time_redirect_url?: string | undefined;
                                                payment_method_categories?: string | undefined;
                                                purchase_country?: string | undefined;
                                                purchase_type?: string | undefined;
                                                redirect_url?: string | undefined;
                                                shipping_delay?: number | undefined;
                                                shipping_first_name?: string | undefined;
                                                shipping_last_name?: string | undefined;
                                            } | undefined;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            multibanco?: {
                                                entity?: (string | null) | undefined;
                                                reference?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            owner: {
                                                address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                email: string | null;
                                                name: string | null;
                                                phone: string | null;
                                                verified_address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                verified_email: string | null;
                                                verified_name: string | null;
                                                verified_phone: string | null;
                                            } | null;
                                            p24?: {
                                                reference?: (string | null) | undefined;
                                            } | undefined;
                                            receiver?: {
                                                address: string | null;
                                                amount_charged: number;
                                                amount_received: number;
                                                amount_returned: number;
                                                refund_attributes_method: string;
                                                refund_attributes_status: string;
                                            } | undefined;
                                            redirect?: {
                                                failure_reason: string | null;
                                                return_url: string;
                                                status: string;
                                                url: string;
                                            } | undefined;
                                            sepa_credit_transfer?: {
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            sepa_debit?: {
                                                bank_code?: (string | null) | undefined;
                                                branch_code?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                mandate_reference?: (string | null) | undefined;
                                                mandate_url?: (string | null) | undefined;
                                            } | undefined;
                                            sofort?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            source_order?: {
                                                amount: number;
                                                currency: string;
                                                email?: string | undefined;
                                                items: {
                                                    amount: number | null;
                                                    currency: string | null;
                                                    description: string | null;
                                                    parent: string | null;
                                                    quantity?: number | undefined;
                                                    type: string | null;
                                                }[] | null;
                                                shipping?: {
                                                    address?: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | undefined;
                                                    carrier?: (string | null) | undefined;
                                                    name?: string | undefined;
                                                    phone?: (string | null) | undefined;
                                                    tracking_number?: (string | null) | undefined;
                                                } | undefined;
                                            } | undefined;
                                            statement_descriptor: string | null;
                                            status: string;
                                            three_d_secure?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                authenticated?: (boolean | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                card?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                customer?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            type: string;
                                            usage: string | null;
                                            wechat?: {
                                                prepay_id?: string | undefined;
                                                qr_code_url?: (string | null) | undefined;
                                                statement_descriptor?: string | undefined;
                                            } | undefined;
                                        } | any | any | null;
                                        statement_descriptor: string | null;
                                        statement_descriptor_suffix: string | null;
                                        status: string;
                                        transfer_data: any | null;
                                        transfer_group: string | null;
                                    } | null;
                                    payment_settings: {
                                        default_mandate: string | null;
                                        payment_method_options: any | null;
                                        payment_method_types: string[] | null;
                                    };
                                    period_end: number;
                                    period_start: number;
                                    post_payment_credit_notes_amount: number;
                                    pre_payment_credit_notes_amount: number;
                                    quote: string | {
                                        id: string;
                                        object: string;
                                        amount_subtotal: number;
                                        amount_total: number;
                                        application: string | {
                                            id: string;
                                            object: string;
                                            deleted?: void | undefined;
                                            name: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                            name: string | null;
                                        } | null;
                                        application_fee_amount: number | null;
                                        application_fee_percent: number | null;
                                        automatic_tax: any;
                                        collection_method: string;
                                        computed: any;
                                        created: number;
                                        currency: string | null;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        default_tax_rates?: (string | {
                                            id: string;
                                            object: string;
                                            active: boolean;
                                            country: string | null;
                                            created: number;
                                            description: string | null;
                                            display_name: string;
                                            effective_percentage: number | null;
                                            flat_amount: any | null;
                                            inclusive: boolean;
                                            jurisdiction: string | null;
                                            jurisdiction_level: string | null;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            percentage: number;
                                            rate_type: string | null;
                                            state: string | null;
                                            tax_type: string | null;
                                        })[] | undefined;
                                        description: string | null;
                                        discounts: (string | {
                                            id: string;
                                            object: string;
                                            checkout_session: string | null;
                                            coupon: {
                                                id: string;
                                                object: string;
                                                amount_off: number | null;
                                                applies_to?: {
                                                    products: Array<string>;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                currency_options?: {
                                                    [x: string]: {
                                                        amount_off: number;
                                                    };
                                                } | undefined;
                                                deleted?: void | undefined;
                                                duration: string;
                                                duration_in_months: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                percent_off: number | null;
                                                redeem_by: number | null;
                                                times_redeemed: number;
                                                valid: boolean;
                                            };
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            deleted?: void | undefined;
                                            end: number | null;
                                            invoice: string | null;
                                            invoice_item: string | null;
                                            promotion_code: string | {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                code: string;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                created: number;
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                expires_at: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                restrictions: {
                                                    currency_options?: {
                                                        [x: string]: {
                                                            minimum_amount: number;
                                                        };
                                                    } | undefined;
                                                    first_time_transaction: boolean;
                                                    minimum_amount: number | null;
                                                    minimum_amount_currency: string | null;
                                                };
                                                times_redeemed: number;
                                            } | null;
                                            start: number;
                                            subscription: string | null;
                                            subscription_item: string | null;
                                        })[];
                                        expires_at: number;
                                        footer: string | null;
                                        from_quote: any | null;
                                        header: string | null;
                                        invoice: string | any | any | null;
                                        invoice_settings: any;
                                        line_items?: any[] | undefined;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        };
                                        number: string | null;
                                        on_behalf_of: string | any | null;
                                        status: string;
                                        status_transitions: any;
                                        subscription: string | any | null;
                                        subscription_data: any;
                                        subscription_schedule: string | any | null;
                                        test_clock: string | any | null;
                                        total_details: any;
                                        transfer_data: any | null;
                                    } | null;
                                    receipt_number: string | null;
                                    rendering: {
                                        amount_tax_display: string | null;
                                        pdf: any | null;
                                        template: string | null;
                                        template_version: number | null;
                                    } | null;
                                    shipping_cost: {
                                        amount_subtotal: number;
                                        amount_tax: number;
                                        amount_total: number;
                                        shipping_rate: string | any | null;
                                        taxes?: any[] | undefined;
                                    } | null;
                                    shipping_details: {
                                        address?: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | undefined;
                                        carrier?: (string | null) | undefined;
                                        name?: string | undefined;
                                        phone?: (string | null) | undefined;
                                        tracking_number?: (string | null) | undefined;
                                    } | null;
                                    starting_balance: number;
                                    statement_descriptor: string | null;
                                    status: string | null;
                                    status_transitions: {
                                        finalized_at: number | null;
                                        marked_uncollectible_at: number | null;
                                        paid_at: number | null;
                                        voided_at: number | null;
                                    };
                                    subscription: string | {
                                        id: string;
                                        object: string;
                                        application: string | {
                                            id: string;
                                            object: string;
                                            deleted?: void | undefined;
                                            name: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                            name: string | null;
                                        } | null;
                                        application_fee_percent: number | null;
                                        automatic_tax: any;
                                        billing_cycle_anchor: number;
                                        billing_cycle_anchor_config: any | null;
                                        billing_thresholds: any | null;
                                        cancel_at: number | null;
                                        cancel_at_period_end: boolean;
                                        canceled_at: number | null;
                                        cancellation_details: any | null;
                                        collection_method: string;
                                        created: number;
                                        currency: string;
                                        current_period_end: number;
                                        current_period_start: number;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        };
                                        days_until_due: number | null;
                                        default_payment_method: string | any | null;
                                        default_source: string | any | any | {
                                            id: string;
                                            object: string;
                                            account?: string | any | null | undefined;
                                            address_city: string | null;
                                            address_country: string | null;
                                            address_line1: string | null;
                                            address_line1_check: string | null;
                                            address_line2: string | null;
                                            address_state: string | null;
                                            address_zip: string | null;
                                            address_zip_check: string | null;
                                            available_payout_methods?: string[] | null | undefined;
                                            brand: string;
                                            country: string | null;
                                            currency?: (string | null) | undefined;
                                            customer?: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null | undefined;
                                            cvc_check: string | null;
                                            default_for_currency?: (boolean | null) | undefined;
                                            deleted?: void | undefined;
                                            description?: string | undefined;
                                            dynamic_last4: string | null;
                                            exp_month: number;
                                            exp_year: number;
                                            fingerprint?: (string | null) | undefined;
                                            funding: string;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4: string;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            networks?: {
                                                preferred: string | null;
                                            } | undefined;
                                            status?: (string | null) | undefined;
                                            tokenization_method: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            ach_credit_transfer?: {
                                                account_number?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_account_holder_type?: (string | null) | undefined;
                                                refund_routing_number?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                swift_code?: (string | null) | undefined;
                                            } | undefined;
                                            ach_debit?: {
                                                bank_name?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                type?: (string | null) | undefined;
                                            } | undefined;
                                            acss_debit?: {
                                                bank_address_city?: (string | null) | undefined;
                                                bank_address_line_1?: (string | null) | undefined;
                                                bank_address_line_2?: (string | null) | undefined;
                                                bank_address_postal_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                category?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                            } | undefined;
                                            alipay?: {
                                                data_string?: (string | null) | undefined;
                                                native_url?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            amount: number | null;
                                            au_becs_debit?: {
                                                bsb_number?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                            } | undefined;
                                            bancontact?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            card?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            card_present?: {
                                                application_cryptogram?: string | undefined;
                                                application_preferred_name?: string | undefined;
                                                authorization_code?: (string | null) | undefined;
                                                authorization_response_code?: string | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvm_type?: string | undefined;
                                                data_type?: (string | null) | undefined;
                                                dedicated_file_name?: string | undefined;
                                                description?: string | undefined;
                                                emv_auth_data?: string | undefined;
                                                evidence_customer_signature?: (string | null) | undefined;
                                                evidence_transaction_certificate?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                pos_device_id?: (string | null) | undefined;
                                                pos_entry_mode?: string | undefined;
                                                read_method?: (string | null) | undefined;
                                                reader?: (string | null) | undefined;
                                                terminal_verification_results?: string | undefined;
                                                transaction_status_information?: string | undefined;
                                            } | undefined;
                                            client_secret: string;
                                            code_verification?: {
                                                attempts_remaining: number;
                                                status: string;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            customer?: string | undefined;
                                            eps?: {
                                                reference?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            flow: string;
                                            giropay?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            ideal?: {
                                                bank?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            klarna?: {
                                                background_image_url?: string | undefined;
                                                client_token?: (string | null) | undefined;
                                                first_name?: string | undefined;
                                                last_name?: string | undefined;
                                                locale?: string | undefined;
                                                logo_url?: string | undefined;
                                                page_title?: string | undefined;
                                                pay_later_asset_urls_descriptive?: string | undefined;
                                                pay_later_asset_urls_standard?: string | undefined;
                                                pay_later_name?: string | undefined;
                                                pay_later_redirect_url?: string | undefined;
                                                pay_now_asset_urls_descriptive?: string | undefined;
                                                pay_now_asset_urls_standard?: string | undefined;
                                                pay_now_name?: string | undefined;
                                                pay_now_redirect_url?: string | undefined;
                                                pay_over_time_asset_urls_descriptive?: string | undefined;
                                                pay_over_time_asset_urls_standard?: string | undefined;
                                                pay_over_time_name?: string | undefined;
                                                pay_over_time_redirect_url?: string | undefined;
                                                payment_method_categories?: string | undefined;
                                                purchase_country?: string | undefined;
                                                purchase_type?: string | undefined;
                                                redirect_url?: string | undefined;
                                                shipping_delay?: number | undefined;
                                                shipping_first_name?: string | undefined;
                                                shipping_last_name?: string | undefined;
                                            } | undefined;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            multibanco?: {
                                                entity?: (string | null) | undefined;
                                                reference?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            owner: {
                                                address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                email: string | null;
                                                name: string | null;
                                                phone: string | null;
                                                verified_address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                verified_email: string | null;
                                                verified_name: string | null;
                                                verified_phone: string | null;
                                            } | null;
                                            p24?: {
                                                reference?: (string | null) | undefined;
                                            } | undefined;
                                            receiver?: {
                                                address: string | null;
                                                amount_charged: number;
                                                amount_received: number;
                                                amount_returned: number;
                                                refund_attributes_method: string;
                                                refund_attributes_status: string;
                                            } | undefined;
                                            redirect?: {
                                                failure_reason: string | null;
                                                return_url: string;
                                                status: string;
                                                url: string;
                                            } | undefined;
                                            sepa_credit_transfer?: {
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            sepa_debit?: {
                                                bank_code?: (string | null) | undefined;
                                                branch_code?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                mandate_reference?: (string | null) | undefined;
                                                mandate_url?: (string | null) | undefined;
                                            } | undefined;
                                            sofort?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            source_order?: {
                                                amount: number;
                                                currency: string;
                                                email?: string | undefined;
                                                items: {
                                                    amount: number | null;
                                                    currency: string | null;
                                                    description: string | null;
                                                    parent: string | null;
                                                    quantity?: number | undefined;
                                                    type: string | null;
                                                }[] | null;
                                                shipping?: {
                                                    address?: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | undefined;
                                                    carrier?: (string | null) | undefined;
                                                    name?: string | undefined;
                                                    phone?: (string | null) | undefined;
                                                    tracking_number?: (string | null) | undefined;
                                                } | undefined;
                                            } | undefined;
                                            statement_descriptor: string | null;
                                            status: string;
                                            three_d_secure?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                authenticated?: (boolean | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                card?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                customer?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            type: string;
                                            usage: string | null;
                                            wechat?: {
                                                prepay_id?: string | undefined;
                                                qr_code_url?: (string | null) | undefined;
                                                statement_descriptor?: string | undefined;
                                            } | undefined;
                                        } | null;
                                        default_tax_rates?: {
                                            id: string;
                                            object: string;
                                            active: boolean;
                                            country: string | null;
                                            created: number;
                                            description: string | null;
                                            display_name: string;
                                            effective_percentage: number | null;
                                            flat_amount: any | null;
                                            inclusive: boolean;
                                            jurisdiction: string | null;
                                            jurisdiction_level: string | null;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            percentage: number;
                                            rate_type: string | null;
                                            state: string | null;
                                            tax_type: string | null;
                                        }[] | null | undefined;
                                        description: string | null;
                                        discount: {
                                            id: string;
                                            object: string;
                                            checkout_session: string | null;
                                            coupon: {
                                                id: string;
                                                object: string;
                                                amount_off: number | null;
                                                applies_to?: {
                                                    products: Array<string>;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                currency_options?: {
                                                    [x: string]: {
                                                        amount_off: number;
                                                    };
                                                } | undefined;
                                                deleted?: void | undefined;
                                                duration: string;
                                                duration_in_months: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                percent_off: number | null;
                                                redeem_by: number | null;
                                                times_redeemed: number;
                                                valid: boolean;
                                            };
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            deleted?: void | undefined;
                                            end: number | null;
                                            invoice: string | null;
                                            invoice_item: string | null;
                                            promotion_code: string | {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                code: string;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                created: number;
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                expires_at: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                restrictions: {
                                                    currency_options?: {
                                                        [x: string]: {
                                                            minimum_amount: number;
                                                        };
                                                    } | undefined;
                                                    first_time_transaction: boolean;
                                                    minimum_amount: number | null;
                                                    minimum_amount_currency: string | null;
                                                };
                                                times_redeemed: number;
                                            } | null;
                                            start: number;
                                            subscription: string | null;
                                            subscription_item: string | null;
                                        } | null;
                                        discounts: (string | {
                                            id: string;
                                            object: string;
                                            checkout_session: string | null;
                                            coupon: {
                                                id: string;
                                                object: string;
                                                amount_off: number | null;
                                                applies_to?: {
                                                    products: Array<string>;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                currency_options?: {
                                                    [x: string]: {
                                                        amount_off: number;
                                                    };
                                                } | undefined;
                                                deleted?: void | undefined;
                                                duration: string;
                                                duration_in_months: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                percent_off: number | null;
                                                redeem_by: number | null;
                                                times_redeemed: number;
                                                valid: boolean;
                                            };
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            deleted?: void | undefined;
                                            end: number | null;
                                            invoice: string | null;
                                            invoice_item: string | null;
                                            promotion_code: string | {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                code: string;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                created: number;
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                expires_at: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                restrictions: {
                                                    currency_options?: {
                                                        [x: string]: {
                                                            minimum_amount: number;
                                                        };
                                                    } | undefined;
                                                    first_time_transaction: boolean;
                                                    minimum_amount: number | null;
                                                    minimum_amount_currency: string | null;
                                                };
                                                times_redeemed: number;
                                            } | null;
                                            start: number;
                                            subscription: string | null;
                                            subscription_item: string | null;
                                        })[];
                                        ended_at: number | null;
                                        invoice_settings: any;
                                        items: any[];
                                        latest_invoice: string | any | null;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        };
                                        next_pending_invoice_item_invoice: number | null;
                                        on_behalf_of: string | any | null;
                                        pause_collection: any | null;
                                        payment_settings: any | null;
                                        pending_invoice_item_interval: any | null;
                                        pending_setup_intent: string | {
                                            id: string;
                                            object: string;
                                            application: string | {
                                                id: string;
                                                object: string;
                                                deleted?: void | undefined;
                                                name: string | null;
                                            } | null;
                                            attach_to_self?: boolean | undefined;
                                            automatic_payment_methods: any | null;
                                            cancellation_reason: string | null;
                                            client_secret: string | null;
                                            created: number;
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            description: string | null;
                                            flow_directions: string[] | null;
                                            last_setup_error: any | null;
                                            latest_attempt: string | any | null;
                                            livemode: boolean;
                                            mandate: string | any | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            next_action: any | null;
                                            on_behalf_of: string | any | null;
                                            payment_method: string | any | null;
                                            payment_method_configuration_details: any | null;
                                            payment_method_options: any | null;
                                            payment_method_types: Array<string>;
                                            single_use_mandate: string | any | null;
                                            status: string;
                                            usage: string;
                                        } | null;
                                        pending_update: any | null;
                                        schedule: string | any | null;
                                        start_date: number;
                                        status: string;
                                        test_clock: string | any | null;
                                        transfer_data: any | null;
                                        trial_end: number | null;
                                        trial_settings: any | null;
                                        trial_start: number | null;
                                    } | null;
                                    subscription_details: {
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                    } | null;
                                    subscription_proration_date?: number | undefined;
                                    subtotal: number;
                                    subtotal_excluding_tax: number | null;
                                    tax: number | null;
                                    test_clock: string | {
                                        id: string;
                                        object: string;
                                        created: number;
                                        deleted?: void | undefined;
                                        deletes_after: number;
                                        frozen_time: number;
                                        livemode: boolean;
                                        name: string | null;
                                        status: string;
                                        status_details: any;
                                    } | null;
                                    threshold_reason?: {
                                        amount_gte: number | null;
                                        item_reasons: any[];
                                    } | undefined;
                                    total: number;
                                    total_discount_amounts: {
                                        amount: number;
                                        discount: string | {
                                            id: string;
                                            object: string;
                                            checkout_session: string | null;
                                            coupon: {
                                                id: string;
                                                object: string;
                                                amount_off: number | null;
                                                applies_to?: {
                                                    products: Array<string>;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                currency_options?: {
                                                    [x: string]: {
                                                        amount_off: number;
                                                    };
                                                } | undefined;
                                                deleted?: void | undefined;
                                                duration: string;
                                                duration_in_months: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                percent_off: number | null;
                                                redeem_by: number | null;
                                                times_redeemed: number;
                                                valid: boolean;
                                            };
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            deleted?: void | undefined;
                                            end: number | null;
                                            invoice: string | null;
                                            invoice_item: string | null;
                                            promotion_code: string | {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                code: string;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                created: number;
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                expires_at: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                restrictions: {
                                                    currency_options?: {
                                                        [x: string]: {
                                                            minimum_amount: number;
                                                        };
                                                    } | undefined;
                                                    first_time_transaction: boolean;
                                                    minimum_amount: number | null;
                                                    minimum_amount_currency: string | null;
                                                };
                                                times_redeemed: number;
                                            } | null;
                                            start: number;
                                            subscription: string | null;
                                            subscription_item: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            checkout_session: string | null;
                                            coupon: {
                                                id: string;
                                                object: string;
                                                amount_off: number | null;
                                                applies_to?: {
                                                    products: Array<string>;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                currency_options?: {
                                                    [x: string]: {
                                                        amount_off: number;
                                                    };
                                                } | undefined;
                                                deleted?: void | undefined;
                                                duration: string;
                                                duration_in_months: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                percent_off: number | null;
                                                redeem_by: number | null;
                                                times_redeemed: number;
                                                valid: boolean;
                                            };
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            deleted: boolean;
                                            invoice: string | null;
                                            invoice_item: string | null;
                                            promotion_code: string | {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                code: string;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                created: number;
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                expires_at: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                restrictions: {
                                                    currency_options?: {
                                                        [x: string]: {
                                                            minimum_amount: number;
                                                        };
                                                    } | undefined;
                                                    first_time_transaction: boolean;
                                                    minimum_amount: number | null;
                                                    minimum_amount_currency: string | null;
                                                };
                                                times_redeemed: number;
                                            } | null;
                                            start: number;
                                            subscription: string | null;
                                            subscription_item: string | null;
                                        };
                                    }[] | null;
                                    total_excluding_tax: number | null;
                                    total_pretax_credit_amounts?: {
                                        amount: number;
                                        credit_balance_transaction?: string | any | null | undefined;
                                        discount?: string | {
                                            id: string;
                                            object: string;
                                            checkout_session: string | null;
                                            coupon: {
                                                id: string;
                                                object: string;
                                                amount_off: number | null;
                                                applies_to?: {
                                                    products: Array<string>;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                currency_options?: {
                                                    [x: string]: {
                                                        amount_off: number;
                                                    };
                                                } | undefined;
                                                deleted?: void | undefined;
                                                duration: string;
                                                duration_in_months: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                percent_off: number | null;
                                                redeem_by: number | null;
                                                times_redeemed: number;
                                                valid: boolean;
                                            };
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            deleted?: void | undefined;
                                            end: number | null;
                                            invoice: string | null;
                                            invoice_item: string | null;
                                            promotion_code: string | {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                code: string;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                created: number;
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                expires_at: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                restrictions: {
                                                    currency_options?: {
                                                        [x: string]: {
                                                            minimum_amount: number;
                                                        };
                                                    } | undefined;
                                                    first_time_transaction: boolean;
                                                    minimum_amount: number | null;
                                                    minimum_amount_currency: string | null;
                                                };
                                                times_redeemed: number;
                                            } | null;
                                            start: number;
                                            subscription: string | null;
                                            subscription_item: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            checkout_session: string | null;
                                            coupon: {
                                                id: string;
                                                object: string;
                                                amount_off: number | null;
                                                applies_to?: {
                                                    products: Array<string>;
                                                } | undefined;
                                                created: number;
                                                currency: string | null;
                                                currency_options?: {
                                                    [x: string]: {
                                                        amount_off: number;
                                                    };
                                                } | undefined;
                                                deleted?: void | undefined;
                                                duration: string;
                                                duration_in_months: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                name: string | null;
                                                percent_off: number | null;
                                                redeem_by: number | null;
                                                times_redeemed: number;
                                                valid: boolean;
                                            };
                                            customer: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null;
                                            deleted: boolean;
                                            invoice: string | null;
                                            invoice_item: string | null;
                                            promotion_code: string | {
                                                id: string;
                                                object: string;
                                                active: boolean;
                                                code: string;
                                                coupon: {
                                                    id: string;
                                                    object: string;
                                                    amount_off: number | null;
                                                    applies_to?: {
                                                        products: Array<string>;
                                                    } | undefined;
                                                    created: number;
                                                    currency: string | null;
                                                    currency_options?: {
                                                        [x: string]: {
                                                            amount_off: number;
                                                        };
                                                    } | undefined;
                                                    deleted?: void | undefined;
                                                    duration: string;
                                                    duration_in_months: number | null;
                                                    livemode: boolean;
                                                    max_redemptions: number | null;
                                                    metadata: {
                                                        [x: string]: string;
                                                    } | null;
                                                    name: string | null;
                                                    percent_off: number | null;
                                                    redeem_by: number | null;
                                                    times_redeemed: number;
                                                    valid: boolean;
                                                };
                                                created: number;
                                                customer: string | any | {
                                                    id: string;
                                                    object: string;
                                                    deleted: boolean;
                                                } | null;
                                                expires_at: number | null;
                                                livemode: boolean;
                                                max_redemptions: number | null;
                                                metadata: {
                                                    [x: string]: string;
                                                } | null;
                                                restrictions: {
                                                    currency_options?: {
                                                        [x: string]: {
                                                            minimum_amount: number;
                                                        };
                                                    } | undefined;
                                                    first_time_transaction: boolean;
                                                    minimum_amount: number | null;
                                                    minimum_amount_currency: string | null;
                                                };
                                                times_redeemed: number;
                                            } | null;
                                            start: number;
                                            subscription: string | null;
                                            subscription_item: string | null;
                                        } | undefined;
                                        type: string;
                                    }[] | null | undefined;
                                    total_tax_amounts: {
                                        amount: number;
                                        inclusive: boolean;
                                        tax_rate: string | {
                                            id: string;
                                            object: string;
                                            active: boolean;
                                            country: string | null;
                                            created: number;
                                            description: string | null;
                                            display_name: string;
                                            effective_percentage: number | null;
                                            flat_amount: any | null;
                                            inclusive: boolean;
                                            jurisdiction: string | null;
                                            jurisdiction_level: string | null;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            percentage: number;
                                            rate_type: string | null;
                                            state: string | null;
                                            tax_type: string | null;
                                        };
                                        taxability_reason: string | null;
                                        taxable_amount: number | null;
                                    }[];
                                    transfer_data: {
                                        amount: number | null;
                                        destination: string | any;
                                    } | null;
                                    webhooks_delivered_at: number | null;
                                } | null;
                                level3?: {
                                    customer_reference?: string | undefined;
                                    line_items: {
                                        discount_amount: number | null;
                                        product_code: string;
                                        product_description: string;
                                        quantity: number | null;
                                        tax_amount: number | null;
                                        unit_cost: number | null;
                                    }[];
                                    merchant_reference: string;
                                    shipping_address_zip?: string | undefined;
                                    shipping_amount?: number | undefined;
                                    shipping_from_zip?: string | undefined;
                                } | undefined;
                                livemode: boolean;
                                metadata: {
                                    [x: string]: string;
                                };
                                on_behalf_of: string | any | null;
                                outcome: {
                                    network_status: string | null;
                                    reason: string | null;
                                    risk_level?: string | undefined;
                                    risk_score?: number | undefined;
                                    rule?: string | {
                                        action: string;
                                        id: string;
                                        predicate: string;
                                    } | undefined;
                                    seller_message: string | null;
                                    type: string;
                                } | null;
                                paid: boolean;
                                payment_intent: string | {
                                    id: string;
                                    object: string;
                                    amount: number;
                                    amount_capturable: number;
                                    amount_details?: any | undefined;
                                    amount_received: number;
                                    application: string | {
                                        id: string;
                                        object: string;
                                        deleted?: void | undefined;
                                        name: string | null;
                                    } | null;
                                    application_fee_amount: number | null;
                                    automatic_payment_methods: any | null;
                                    canceled_at: number | null;
                                    cancellation_reason: string | null;
                                    capture_method: string;
                                    client_secret: string | null;
                                    confirmation_method: string;
                                    created: number;
                                    currency: string;
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    description: string | null;
                                    invoice: string | any | null;
                                    last_payment_error: any | null;
                                    latest_charge: string | any | null;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    };
                                    next_action: any | null;
                                    on_behalf_of: string | any | null;
                                    payment_method: string | any | null;
                                    payment_method_configuration_details: any | null;
                                    payment_method_options: any | null;
                                    payment_method_types: Array<string>;
                                    processing: any | null;
                                    receipt_email: string | null;
                                    review: string | any | null;
                                    setup_future_usage: string | null;
                                    shipping: any | null;
                                    source: string | any | any | {
                                        id: string;
                                        object: string;
                                        account?: string | any | null | undefined;
                                        address_city: string | null;
                                        address_country: string | null;
                                        address_line1: string | null;
                                        address_line1_check: string | null;
                                        address_line2: string | null;
                                        address_state: string | null;
                                        address_zip: string | null;
                                        address_zip_check: string | null;
                                        available_payout_methods?: string[] | null | undefined;
                                        brand: string;
                                        country: string | null;
                                        currency?: (string | null) | undefined;
                                        customer?: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null | undefined;
                                        cvc_check: string | null;
                                        default_for_currency?: (boolean | null) | undefined;
                                        deleted?: void | undefined;
                                        description?: string | undefined;
                                        dynamic_last4: string | null;
                                        exp_month: number;
                                        exp_year: number;
                                        fingerprint?: (string | null) | undefined;
                                        funding: string;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4: string;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        networks?: {
                                            preferred: string | null;
                                        } | undefined;
                                        status?: (string | null) | undefined;
                                        tokenization_method: string | null;
                                    } | {
                                        id: string;
                                        object: string;
                                        ach_credit_transfer?: {
                                            account_number?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_account_holder_type?: (string | null) | undefined;
                                            refund_routing_number?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                            swift_code?: (string | null) | undefined;
                                        } | undefined;
                                        ach_debit?: {
                                            bank_name?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                            type?: (string | null) | undefined;
                                        } | undefined;
                                        acss_debit?: {
                                            bank_address_city?: (string | null) | undefined;
                                            bank_address_line_1?: (string | null) | undefined;
                                            bank_address_line_2?: (string | null) | undefined;
                                            bank_address_postal_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            category?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                        } | undefined;
                                        alipay?: {
                                            data_string?: (string | null) | undefined;
                                            native_url?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        amount: number | null;
                                        au_becs_debit?: {
                                            bsb_number?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                        } | undefined;
                                        bancontact?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            preferred_language?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        card?: {
                                            address_line1_check?: (string | null) | undefined;
                                            address_zip_check?: (string | null) | undefined;
                                            brand?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            cvc_check?: (string | null) | undefined;
                                            description?: string | undefined;
                                            dynamic_last4?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            name?: (string | null) | undefined;
                                            three_d_secure?: string | undefined;
                                            tokenization_method?: (string | null) | undefined;
                                        } | undefined;
                                        card_present?: {
                                            application_cryptogram?: string | undefined;
                                            application_preferred_name?: string | undefined;
                                            authorization_code?: (string | null) | undefined;
                                            authorization_response_code?: string | undefined;
                                            brand?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            cvm_type?: string | undefined;
                                            data_type?: (string | null) | undefined;
                                            dedicated_file_name?: string | undefined;
                                            description?: string | undefined;
                                            emv_auth_data?: string | undefined;
                                            evidence_customer_signature?: (string | null) | undefined;
                                            evidence_transaction_certificate?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            pos_device_id?: (string | null) | undefined;
                                            pos_entry_mode?: string | undefined;
                                            read_method?: (string | null) | undefined;
                                            reader?: (string | null) | undefined;
                                            terminal_verification_results?: string | undefined;
                                            transaction_status_information?: string | undefined;
                                        } | undefined;
                                        client_secret: string;
                                        code_verification?: {
                                            attempts_remaining: number;
                                            status: string;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        customer?: string | undefined;
                                        eps?: {
                                            reference?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        flow: string;
                                        giropay?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        ideal?: {
                                            bank?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        klarna?: {
                                            background_image_url?: string | undefined;
                                            client_token?: (string | null) | undefined;
                                            first_name?: string | undefined;
                                            last_name?: string | undefined;
                                            locale?: string | undefined;
                                            logo_url?: string | undefined;
                                            page_title?: string | undefined;
                                            pay_later_asset_urls_descriptive?: string | undefined;
                                            pay_later_asset_urls_standard?: string | undefined;
                                            pay_later_name?: string | undefined;
                                            pay_later_redirect_url?: string | undefined;
                                            pay_now_asset_urls_descriptive?: string | undefined;
                                            pay_now_asset_urls_standard?: string | undefined;
                                            pay_now_name?: string | undefined;
                                            pay_now_redirect_url?: string | undefined;
                                            pay_over_time_asset_urls_descriptive?: string | undefined;
                                            pay_over_time_asset_urls_standard?: string | undefined;
                                            pay_over_time_name?: string | undefined;
                                            pay_over_time_redirect_url?: string | undefined;
                                            payment_method_categories?: string | undefined;
                                            purchase_country?: string | undefined;
                                            purchase_type?: string | undefined;
                                            redirect_url?: string | undefined;
                                            shipping_delay?: number | undefined;
                                            shipping_first_name?: string | undefined;
                                            shipping_last_name?: string | undefined;
                                        } | undefined;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        multibanco?: {
                                            entity?: (string | null) | undefined;
                                            reference?: (string | null) | undefined;
                                            refund_account_holder_address_city?: (string | null) | undefined;
                                            refund_account_holder_address_country?: (string | null) | undefined;
                                            refund_account_holder_address_line1?: (string | null) | undefined;
                                            refund_account_holder_address_line2?: (string | null) | undefined;
                                            refund_account_holder_address_postal_code?: (string | null) | undefined;
                                            refund_account_holder_address_state?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_iban?: (string | null) | undefined;
                                        } | undefined;
                                        owner: {
                                            address: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | null;
                                            email: string | null;
                                            name: string | null;
                                            phone: string | null;
                                            verified_address: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | null;
                                            verified_email: string | null;
                                            verified_name: string | null;
                                            verified_phone: string | null;
                                        } | null;
                                        p24?: {
                                            reference?: (string | null) | undefined;
                                        } | undefined;
                                        receiver?: {
                                            address: string | null;
                                            amount_charged: number;
                                            amount_received: number;
                                            amount_returned: number;
                                            refund_attributes_method: string;
                                            refund_attributes_status: string;
                                        } | undefined;
                                        redirect?: {
                                            failure_reason: string | null;
                                            return_url: string;
                                            status: string;
                                            url: string;
                                        } | undefined;
                                        sepa_credit_transfer?: {
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban?: (string | null) | undefined;
                                            refund_account_holder_address_city?: (string | null) | undefined;
                                            refund_account_holder_address_country?: (string | null) | undefined;
                                            refund_account_holder_address_line1?: (string | null) | undefined;
                                            refund_account_holder_address_line2?: (string | null) | undefined;
                                            refund_account_holder_address_postal_code?: (string | null) | undefined;
                                            refund_account_holder_address_state?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_iban?: (string | null) | undefined;
                                        } | undefined;
                                        sepa_debit?: {
                                            bank_code?: (string | null) | undefined;
                                            branch_code?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            mandate_reference?: (string | null) | undefined;
                                            mandate_url?: (string | null) | undefined;
                                        } | undefined;
                                        sofort?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            preferred_language?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        source_order?: {
                                            amount: number;
                                            currency: string;
                                            email?: string | undefined;
                                            items: {
                                                amount: number | null;
                                                currency: string | null;
                                                description: string | null;
                                                parent: string | null;
                                                quantity?: number | undefined;
                                                type: string | null;
                                            }[] | null;
                                            shipping?: {
                                                address?: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | undefined;
                                                carrier?: (string | null) | undefined;
                                                name?: string | undefined;
                                                phone?: (string | null) | undefined;
                                                tracking_number?: (string | null) | undefined;
                                            } | undefined;
                                        } | undefined;
                                        statement_descriptor: string | null;
                                        status: string;
                                        three_d_secure?: {
                                            address_line1_check?: (string | null) | undefined;
                                            address_zip_check?: (string | null) | undefined;
                                            authenticated?: (boolean | null) | undefined;
                                            brand?: (string | null) | undefined;
                                            card?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            customer?: (string | null) | undefined;
                                            cvc_check?: (string | null) | undefined;
                                            description?: string | undefined;
                                            dynamic_last4?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            name?: (string | null) | undefined;
                                            three_d_secure?: string | undefined;
                                            tokenization_method?: (string | null) | undefined;
                                        } | undefined;
                                        type: string;
                                        usage: string | null;
                                        wechat?: {
                                            prepay_id?: string | undefined;
                                            qr_code_url?: (string | null) | undefined;
                                            statement_descriptor?: string | undefined;
                                        } | undefined;
                                    } | any | any | null;
                                    statement_descriptor: string | null;
                                    statement_descriptor_suffix: string | null;
                                    status: string;
                                    transfer_data: any | null;
                                    transfer_group: string | null;
                                } | null;
                                payment_method: string | null;
                                payment_method_details: {
                                    ach_credit_transfer?: {
                                        account_number: string | null;
                                        bank_name: string | null;
                                        routing_number: string | null;
                                        swift_code: string | null;
                                    } | undefined;
                                    ach_debit?: {
                                        account_holder_type: string | null;
                                        bank_name: string | null;
                                        country: string | null;
                                        fingerprint: string | null;
                                        last4: string | null;
                                        routing_number: string | null;
                                    } | undefined;
                                    acss_debit?: {
                                        bank_name: string | null;
                                        fingerprint: string | null;
                                        institution_number: string | null;
                                        last4: string | null;
                                        mandate?: string | undefined;
                                        transit_number: string | null;
                                    } | undefined;
                                    affirm?: {
                                        transaction_id: string | null;
                                    } | undefined;
                                    afterpay_clearpay?: {
                                        order_id: string | null;
                                        reference: string | null;
                                    } | undefined;
                                    alipay?: {
                                        buyer_id?: string | undefined;
                                        fingerprint: string | null;
                                        transaction_id: string | null;
                                    } | undefined;
                                    alma?: {} | undefined;
                                    amazon_pay?: {} | undefined;
                                    au_becs_debit?: {
                                        bsb_number: string | null;
                                        fingerprint: string | null;
                                        last4: string | null;
                                        mandate?: string | undefined;
                                    } | undefined;
                                    bacs_debit?: {
                                        fingerprint: string | null;
                                        last4: string | null;
                                        mandate: string | null;
                                        sort_code: string | null;
                                    } | undefined;
                                    bancontact?: {
                                        bank_code: string | null;
                                        bank_name: string | null;
                                        bic: string | null;
                                        generated_sepa_debit: string | any | null;
                                        generated_sepa_debit_mandate: string | any | null;
                                        iban_last4: string | null;
                                        preferred_language: string | null;
                                        verified_name: string | null;
                                    } | undefined;
                                    blik?: {
                                        buyer_id: string | null;
                                    } | undefined;
                                    boleto?: {
                                        tax_id: string;
                                    } | undefined;
                                    card?: {
                                        amount_authorized: number | null;
                                        authorization_code: string | null;
                                        brand: string | null;
                                        capture_before?: number | undefined;
                                        checks: any | null;
                                        country: string | null;
                                        description?: (string | null) | undefined;
                                        exp_month: number;
                                        exp_year: number;
                                        extended_authorization?: any | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        funding: string | null;
                                        iin?: (string | null) | undefined;
                                        incremental_authorization?: any | undefined;
                                        installments: any | null;
                                        issuer?: (string | null) | undefined;
                                        last4: string | null;
                                        mandate: string | null;
                                        moto?: (boolean | null) | undefined;
                                        multicapture?: any | undefined;
                                        network: string | null;
                                        network_token?: any | null | undefined;
                                        overcapture?: any | undefined;
                                        three_d_secure: any | null;
                                        wallet: any | null;
                                    } | undefined;
                                    card_present?: {
                                        amount_authorized: number | null;
                                        brand: string | null;
                                        brand_product: string | null;
                                        capture_before?: number | undefined;
                                        cardholder_name: string | null;
                                        country: string | null;
                                        description?: (string | null) | undefined;
                                        emv_auth_data: string | null;
                                        exp_month: number;
                                        exp_year: number;
                                        fingerprint: string | null;
                                        funding: string | null;
                                        generated_card: string | null;
                                        iin?: (string | null) | undefined;
                                        incremental_authorization_supported: boolean;
                                        issuer?: (string | null) | undefined;
                                        last4: string | null;
                                        network: string | null;
                                        network_transaction_id: string | null;
                                        offline: any | null;
                                        overcapture_supported: boolean;
                                        preferred_locales: Array<string> | null;
                                        read_method: string | null;
                                        receipt: any | null;
                                        wallet?: any | undefined;
                                    } | undefined;
                                    cashapp?: {
                                        buyer_id: string | null;
                                        cashtag: string | null;
                                    } | undefined;
                                    customer_balance?: {} | undefined;
                                    eps?: {
                                        bank: string | null;
                                        verified_name: string | null;
                                    } | undefined;
                                    fpx?: {
                                        account_holder_type: string | null;
                                        bank: string;
                                        transaction_id: string | null;
                                    } | undefined;
                                    giropay?: {
                                        bank_code: string | null;
                                        bank_name: string | null;
                                        bic: string | null;
                                        verified_name: string | null;
                                    } | undefined;
                                    grabpay?: {
                                        transaction_id: string | null;
                                    } | undefined;
                                    ideal?: {
                                        bank: string | null;
                                        bic: string | null;
                                        generated_sepa_debit: string | any | null;
                                        generated_sepa_debit_mandate: string | any | null;
                                        iban_last4: string | null;
                                        verified_name: string | null;
                                    } | undefined;
                                    interac_present?: {
                                        brand: string | null;
                                        cardholder_name: string | null;
                                        country: string | null;
                                        description?: (string | null) | undefined;
                                        emv_auth_data: string | null;
                                        exp_month: number;
                                        exp_year: number;
                                        fingerprint: string | null;
                                        funding: string | null;
                                        generated_card: string | null;
                                        iin?: (string | null) | undefined;
                                        issuer?: (string | null) | undefined;
                                        last4: string | null;
                                        network: string | null;
                                        network_transaction_id: string | null;
                                        preferred_locales: Array<string> | null;
                                        read_method: string | null;
                                        receipt: any | null;
                                    } | undefined;
                                    kakao_pay?: {
                                        buyer_id: string | null;
                                    } | undefined;
                                    klarna?: {
                                        payer_details: any | null;
                                        payment_method_category: string | null;
                                        preferred_locale: string | null;
                                    } | undefined;
                                    konbini?: {
                                        store: any | null;
                                    } | undefined;
                                    kr_card?: {
                                        brand: string | null;
                                        buyer_id: string | null;
                                        last4: string | null;
                                    } | undefined;
                                    link?: {
                                        country: string | null;
                                    } | undefined;
                                    mobilepay?: {
                                        card: any | null;
                                    } | undefined;
                                    multibanco?: {
                                        entity: string | null;
                                        reference: string | null;
                                    } | undefined;
                                    naver_pay?: {
                                        buyer_id: string | null;
                                    } | undefined;
                                    oxxo?: {
                                        number: string | null;
                                    } | undefined;
                                    p24?: {
                                        bank: string | null;
                                        reference: string | null;
                                        verified_name: string | null;
                                    } | undefined;
                                    payco?: {
                                        buyer_id: string | null;
                                    } | undefined;
                                    paynow?: {
                                        reference: string | null;
                                    } | undefined;
                                    paypal?: {
                                        payer_email: string | null;
                                        payer_id: string | null;
                                        payer_name: string | null;
                                        seller_protection: any | null;
                                        transaction_id: string | null;
                                    } | undefined;
                                    pix?: {
                                        bank_transaction_id?: (string | null) | undefined;
                                    } | undefined;
                                    promptpay?: {
                                        reference: string | null;
                                    } | undefined;
                                    revolut_pay?: {} | undefined;
                                    samsung_pay?: {
                                        buyer_id: string | null;
                                    } | undefined;
                                    sepa_credit_transfer?: {
                                        bank_name: string | null;
                                        bic: string | null;
                                        iban: string | null;
                                    } | undefined;
                                    sepa_debit?: {
                                        bank_code: string | null;
                                        branch_code: string | null;
                                        country: string | null;
                                        fingerprint: string | null;
                                        last4: string | null;
                                        mandate: string | null;
                                    } | undefined;
                                    sofort?: {
                                        bank_code: string | null;
                                        bank_name: string | null;
                                        bic: string | null;
                                        country: string | null;
                                        generated_sepa_debit: string | any | null;
                                        generated_sepa_debit_mandate: string | any | null;
                                        iban_last4: string | null;
                                        preferred_language: string | null;
                                        verified_name: string | null;
                                    } | undefined;
                                    stripe_account?: {} | undefined;
                                    swish?: {
                                        fingerprint: string | null;
                                        payment_reference: string | null;
                                        verified_phone_last4: string | null;
                                    } | undefined;
                                    twint?: {} | undefined;
                                    type: string;
                                    us_bank_account?: {
                                        account_holder_type: string | null;
                                        account_type: string | null;
                                        bank_name: string | null;
                                        fingerprint: string | null;
                                        last4: string | null;
                                        mandate?: string | any | undefined;
                                        payment_reference: string | null;
                                        routing_number: string | null;
                                    } | undefined;
                                    wechat?: {} | undefined;
                                    wechat_pay?: {
                                        fingerprint: string | null;
                                        transaction_id: string | null;
                                    } | undefined;
                                    zip?: {} | undefined;
                                } | null;
                                radar_options?: {
                                    session?: string | undefined;
                                } | undefined;
                                receipt_email: string | null;
                                receipt_number: string | null;
                                receipt_url: string | null;
                                refunded: boolean;
                                refunds?: {
                                    id: string;
                                    object: string;
                                    amount: number;
                                    balance_transaction: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        available_on: number;
                                        created: number;
                                        currency: string;
                                        description: string | null;
                                        exchange_rate: number | null;
                                        fee: number;
                                        fee_details: any[];
                                        net: number;
                                        reporting_category: string;
                                        source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                        status: string;
                                        type: string;
                                    } | null;
                                    charge: string | any | null;
                                    created: number;
                                    currency: string;
                                    description?: string | undefined;
                                    destination_details?: {
                                        affirm?: any | undefined;
                                        afterpay_clearpay?: any | undefined;
                                        alipay?: any | undefined;
                                        alma?: any | undefined;
                                        amazon_pay?: any | undefined;
                                        au_bank_transfer?: any | undefined;
                                        blik?: any | undefined;
                                        br_bank_transfer?: any | undefined;
                                        card?: any | undefined;
                                        cashapp?: any | undefined;
                                        customer_cash_balance?: any | undefined;
                                        eps?: any | undefined;
                                        eu_bank_transfer?: any | undefined;
                                        gb_bank_transfer?: any | undefined;
                                        giropay?: any | undefined;
                                        grabpay?: any | undefined;
                                        jp_bank_transfer?: any | undefined;
                                        klarna?: any | undefined;
                                        multibanco?: any | undefined;
                                        mx_bank_transfer?: any | undefined;
                                        p24?: any | undefined;
                                        paynow?: any | undefined;
                                        paypal?: any | undefined;
                                        pix?: any | undefined;
                                        revolut?: any | undefined;
                                        sofort?: any | undefined;
                                        swish?: any | undefined;
                                        th_bank_transfer?: any | undefined;
                                        type: string;
                                        us_bank_transfer?: any | undefined;
                                        wechat_pay?: any | undefined;
                                        zip?: any | undefined;
                                    } | undefined;
                                    failure_balance_transaction?: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        available_on: number;
                                        created: number;
                                        currency: string;
                                        description: string | null;
                                        exchange_rate: number | null;
                                        fee: number;
                                        fee_details: any[];
                                        net: number;
                                        reporting_category: string;
                                        source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                        status: string;
                                        type: string;
                                    } | undefined;
                                    failure_reason?: string | undefined;
                                    instructions_email?: string | undefined;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    next_action?: {
                                        display_details?: any | undefined;
                                        type: string;
                                    } | undefined;
                                    payment_intent: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        amount_capturable: number;
                                        amount_details?: any | undefined;
                                        amount_received: number;
                                        application: string | {
                                            id: string;
                                            object: string;
                                            deleted?: void | undefined;
                                            name: string | null;
                                        } | null;
                                        application_fee_amount: number | null;
                                        automatic_payment_methods: any | null;
                                        canceled_at: number | null;
                                        cancellation_reason: string | null;
                                        capture_method: string;
                                        client_secret: string | null;
                                        confirmation_method: string;
                                        created: number;
                                        currency: string;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        description: string | null;
                                        invoice: string | any | null;
                                        last_payment_error: any | null;
                                        latest_charge: string | any | null;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        };
                                        next_action: any | null;
                                        on_behalf_of: string | any | null;
                                        payment_method: string | any | null;
                                        payment_method_configuration_details: any | null;
                                        payment_method_options: any | null;
                                        payment_method_types: Array<string>;
                                        processing: any | null;
                                        receipt_email: string | null;
                                        review: string | any | null;
                                        setup_future_usage: string | null;
                                        shipping: any | null;
                                        source: string | any | any | {
                                            id: string;
                                            object: string;
                                            account?: string | any | null | undefined;
                                            address_city: string | null;
                                            address_country: string | null;
                                            address_line1: string | null;
                                            address_line1_check: string | null;
                                            address_line2: string | null;
                                            address_state: string | null;
                                            address_zip: string | null;
                                            address_zip_check: string | null;
                                            available_payout_methods?: string[] | null | undefined;
                                            brand: string;
                                            country: string | null;
                                            currency?: (string | null) | undefined;
                                            customer?: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null | undefined;
                                            cvc_check: string | null;
                                            default_for_currency?: (boolean | null) | undefined;
                                            deleted?: void | undefined;
                                            description?: string | undefined;
                                            dynamic_last4: string | null;
                                            exp_month: number;
                                            exp_year: number;
                                            fingerprint?: (string | null) | undefined;
                                            funding: string;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4: string;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            networks?: {
                                                preferred: string | null;
                                            } | undefined;
                                            status?: (string | null) | undefined;
                                            tokenization_method: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            ach_credit_transfer?: {
                                                account_number?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_account_holder_type?: (string | null) | undefined;
                                                refund_routing_number?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                swift_code?: (string | null) | undefined;
                                            } | undefined;
                                            ach_debit?: {
                                                bank_name?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                type?: (string | null) | undefined;
                                            } | undefined;
                                            acss_debit?: {
                                                bank_address_city?: (string | null) | undefined;
                                                bank_address_line_1?: (string | null) | undefined;
                                                bank_address_line_2?: (string | null) | undefined;
                                                bank_address_postal_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                category?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                            } | undefined;
                                            alipay?: {
                                                data_string?: (string | null) | undefined;
                                                native_url?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            amount: number | null;
                                            au_becs_debit?: {
                                                bsb_number?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                            } | undefined;
                                            bancontact?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            card?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            card_present?: {
                                                application_cryptogram?: string | undefined;
                                                application_preferred_name?: string | undefined;
                                                authorization_code?: (string | null) | undefined;
                                                authorization_response_code?: string | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvm_type?: string | undefined;
                                                data_type?: (string | null) | undefined;
                                                dedicated_file_name?: string | undefined;
                                                description?: string | undefined;
                                                emv_auth_data?: string | undefined;
                                                evidence_customer_signature?: (string | null) | undefined;
                                                evidence_transaction_certificate?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                pos_device_id?: (string | null) | undefined;
                                                pos_entry_mode?: string | undefined;
                                                read_method?: (string | null) | undefined;
                                                reader?: (string | null) | undefined;
                                                terminal_verification_results?: string | undefined;
                                                transaction_status_information?: string | undefined;
                                            } | undefined;
                                            client_secret: string;
                                            code_verification?: {
                                                attempts_remaining: number;
                                                status: string;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            customer?: string | undefined;
                                            eps?: {
                                                reference?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            flow: string;
                                            giropay?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            ideal?: {
                                                bank?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            klarna?: {
                                                background_image_url?: string | undefined;
                                                client_token?: (string | null) | undefined;
                                                first_name?: string | undefined;
                                                last_name?: string | undefined;
                                                locale?: string | undefined;
                                                logo_url?: string | undefined;
                                                page_title?: string | undefined;
                                                pay_later_asset_urls_descriptive?: string | undefined;
                                                pay_later_asset_urls_standard?: string | undefined;
                                                pay_later_name?: string | undefined;
                                                pay_later_redirect_url?: string | undefined;
                                                pay_now_asset_urls_descriptive?: string | undefined;
                                                pay_now_asset_urls_standard?: string | undefined;
                                                pay_now_name?: string | undefined;
                                                pay_now_redirect_url?: string | undefined;
                                                pay_over_time_asset_urls_descriptive?: string | undefined;
                                                pay_over_time_asset_urls_standard?: string | undefined;
                                                pay_over_time_name?: string | undefined;
                                                pay_over_time_redirect_url?: string | undefined;
                                                payment_method_categories?: string | undefined;
                                                purchase_country?: string | undefined;
                                                purchase_type?: string | undefined;
                                                redirect_url?: string | undefined;
                                                shipping_delay?: number | undefined;
                                                shipping_first_name?: string | undefined;
                                                shipping_last_name?: string | undefined;
                                            } | undefined;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            multibanco?: {
                                                entity?: (string | null) | undefined;
                                                reference?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            owner: {
                                                address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                email: string | null;
                                                name: string | null;
                                                phone: string | null;
                                                verified_address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                verified_email: string | null;
                                                verified_name: string | null;
                                                verified_phone: string | null;
                                            } | null;
                                            p24?: {
                                                reference?: (string | null) | undefined;
                                            } | undefined;
                                            receiver?: {
                                                address: string | null;
                                                amount_charged: number;
                                                amount_received: number;
                                                amount_returned: number;
                                                refund_attributes_method: string;
                                                refund_attributes_status: string;
                                            } | undefined;
                                            redirect?: {
                                                failure_reason: string | null;
                                                return_url: string;
                                                status: string;
                                                url: string;
                                            } | undefined;
                                            sepa_credit_transfer?: {
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            sepa_debit?: {
                                                bank_code?: (string | null) | undefined;
                                                branch_code?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                mandate_reference?: (string | null) | undefined;
                                                mandate_url?: (string | null) | undefined;
                                            } | undefined;
                                            sofort?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            source_order?: {
                                                amount: number;
                                                currency: string;
                                                email?: string | undefined;
                                                items: {
                                                    amount: number | null;
                                                    currency: string | null;
                                                    description: string | null;
                                                    parent: string | null;
                                                    quantity?: number | undefined;
                                                    type: string | null;
                                                }[] | null;
                                                shipping?: {
                                                    address?: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | undefined;
                                                    carrier?: (string | null) | undefined;
                                                    name?: string | undefined;
                                                    phone?: (string | null) | undefined;
                                                    tracking_number?: (string | null) | undefined;
                                                } | undefined;
                                            } | undefined;
                                            statement_descriptor: string | null;
                                            status: string;
                                            three_d_secure?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                authenticated?: (boolean | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                card?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                customer?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            type: string;
                                            usage: string | null;
                                            wechat?: {
                                                prepay_id?: string | undefined;
                                                qr_code_url?: (string | null) | undefined;
                                                statement_descriptor?: string | undefined;
                                            } | undefined;
                                        } | any | any | null;
                                        statement_descriptor: string | null;
                                        statement_descriptor_suffix: string | null;
                                        status: string;
                                        transfer_data: any | null;
                                        transfer_group: string | null;
                                    } | null;
                                    reason: string | null;
                                    receipt_number: string | null;
                                    source_transfer_reversal: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        balance_transaction: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            available_on: number;
                                            created: number;
                                            currency: string;
                                            description: string | null;
                                            exchange_rate: number | null;
                                            fee: number;
                                            fee_details: any[];
                                            net: number;
                                            reporting_category: string;
                                            source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                            status: string;
                                            type: string;
                                        } | null;
                                        created: number;
                                        currency: string;
                                        destination_payment_refund: string | any | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        source_refund: string | any | null;
                                        transfer: string | any;
                                    } | null;
                                    status: string | null;
                                    transfer_reversal: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        balance_transaction: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            available_on: number;
                                            created: number;
                                            currency: string;
                                            description: string | null;
                                            exchange_rate: number | null;
                                            fee: number;
                                            fee_details: any[];
                                            net: number;
                                            reporting_category: string;
                                            source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                            status: string;
                                            type: string;
                                        } | null;
                                        created: number;
                                        currency: string;
                                        destination_payment_refund: string | any | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        source_refund: string | any | null;
                                        transfer: string | any;
                                    } | null;
                                }[] | null | undefined;
                                review: string | {
                                    id: string;
                                    object: string;
                                    billing_zip: string | null;
                                    charge: string | any | null;
                                    closed_reason: string | null;
                                    created: number;
                                    ip_address: string | null;
                                    ip_address_location: {
                                        city: string | null;
                                        country: string | null;
                                        latitude: number | null;
                                        longitude: number | null;
                                        region: string | null;
                                    } | null;
                                    livemode: boolean;
                                    open: boolean;
                                    opened_reason: string;
                                    payment_intent?: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        amount_capturable: number;
                                        amount_details?: any | undefined;
                                        amount_received: number;
                                        application: string | {
                                            id: string;
                                            object: string;
                                            deleted?: void | undefined;
                                            name: string | null;
                                        } | null;
                                        application_fee_amount: number | null;
                                        automatic_payment_methods: any | null;
                                        canceled_at: number | null;
                                        cancellation_reason: string | null;
                                        capture_method: string;
                                        client_secret: string | null;
                                        confirmation_method: string;
                                        created: number;
                                        currency: string;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        description: string | null;
                                        invoice: string | any | null;
                                        last_payment_error: any | null;
                                        latest_charge: string | any | null;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        };
                                        next_action: any | null;
                                        on_behalf_of: string | any | null;
                                        payment_method: string | any | null;
                                        payment_method_configuration_details: any | null;
                                        payment_method_options: any | null;
                                        payment_method_types: Array<string>;
                                        processing: any | null;
                                        receipt_email: string | null;
                                        review: string | any | null;
                                        setup_future_usage: string | null;
                                        shipping: any | null;
                                        source: string | any | any | {
                                            id: string;
                                            object: string;
                                            account?: string | any | null | undefined;
                                            address_city: string | null;
                                            address_country: string | null;
                                            address_line1: string | null;
                                            address_line1_check: string | null;
                                            address_line2: string | null;
                                            address_state: string | null;
                                            address_zip: string | null;
                                            address_zip_check: string | null;
                                            available_payout_methods?: string[] | null | undefined;
                                            brand: string;
                                            country: string | null;
                                            currency?: (string | null) | undefined;
                                            customer?: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null | undefined;
                                            cvc_check: string | null;
                                            default_for_currency?: (boolean | null) | undefined;
                                            deleted?: void | undefined;
                                            description?: string | undefined;
                                            dynamic_last4: string | null;
                                            exp_month: number;
                                            exp_year: number;
                                            fingerprint?: (string | null) | undefined;
                                            funding: string;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4: string;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            networks?: {
                                                preferred: string | null;
                                            } | undefined;
                                            status?: (string | null) | undefined;
                                            tokenization_method: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            ach_credit_transfer?: {
                                                account_number?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_account_holder_type?: (string | null) | undefined;
                                                refund_routing_number?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                swift_code?: (string | null) | undefined;
                                            } | undefined;
                                            ach_debit?: {
                                                bank_name?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                type?: (string | null) | undefined;
                                            } | undefined;
                                            acss_debit?: {
                                                bank_address_city?: (string | null) | undefined;
                                                bank_address_line_1?: (string | null) | undefined;
                                                bank_address_line_2?: (string | null) | undefined;
                                                bank_address_postal_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                category?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                            } | undefined;
                                            alipay?: {
                                                data_string?: (string | null) | undefined;
                                                native_url?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            amount: number | null;
                                            au_becs_debit?: {
                                                bsb_number?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                            } | undefined;
                                            bancontact?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            card?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            card_present?: {
                                                application_cryptogram?: string | undefined;
                                                application_preferred_name?: string | undefined;
                                                authorization_code?: (string | null) | undefined;
                                                authorization_response_code?: string | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvm_type?: string | undefined;
                                                data_type?: (string | null) | undefined;
                                                dedicated_file_name?: string | undefined;
                                                description?: string | undefined;
                                                emv_auth_data?: string | undefined;
                                                evidence_customer_signature?: (string | null) | undefined;
                                                evidence_transaction_certificate?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                pos_device_id?: (string | null) | undefined;
                                                pos_entry_mode?: string | undefined;
                                                read_method?: (string | null) | undefined;
                                                reader?: (string | null) | undefined;
                                                terminal_verification_results?: string | undefined;
                                                transaction_status_information?: string | undefined;
                                            } | undefined;
                                            client_secret: string;
                                            code_verification?: {
                                                attempts_remaining: number;
                                                status: string;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            customer?: string | undefined;
                                            eps?: {
                                                reference?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            flow: string;
                                            giropay?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            ideal?: {
                                                bank?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            klarna?: {
                                                background_image_url?: string | undefined;
                                                client_token?: (string | null) | undefined;
                                                first_name?: string | undefined;
                                                last_name?: string | undefined;
                                                locale?: string | undefined;
                                                logo_url?: string | undefined;
                                                page_title?: string | undefined;
                                                pay_later_asset_urls_descriptive?: string | undefined;
                                                pay_later_asset_urls_standard?: string | undefined;
                                                pay_later_name?: string | undefined;
                                                pay_later_redirect_url?: string | undefined;
                                                pay_now_asset_urls_descriptive?: string | undefined;
                                                pay_now_asset_urls_standard?: string | undefined;
                                                pay_now_name?: string | undefined;
                                                pay_now_redirect_url?: string | undefined;
                                                pay_over_time_asset_urls_descriptive?: string | undefined;
                                                pay_over_time_asset_urls_standard?: string | undefined;
                                                pay_over_time_name?: string | undefined;
                                                pay_over_time_redirect_url?: string | undefined;
                                                payment_method_categories?: string | undefined;
                                                purchase_country?: string | undefined;
                                                purchase_type?: string | undefined;
                                                redirect_url?: string | undefined;
                                                shipping_delay?: number | undefined;
                                                shipping_first_name?: string | undefined;
                                                shipping_last_name?: string | undefined;
                                            } | undefined;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            multibanco?: {
                                                entity?: (string | null) | undefined;
                                                reference?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            owner: {
                                                address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                email: string | null;
                                                name: string | null;
                                                phone: string | null;
                                                verified_address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                verified_email: string | null;
                                                verified_name: string | null;
                                                verified_phone: string | null;
                                            } | null;
                                            p24?: {
                                                reference?: (string | null) | undefined;
                                            } | undefined;
                                            receiver?: {
                                                address: string | null;
                                                amount_charged: number;
                                                amount_received: number;
                                                amount_returned: number;
                                                refund_attributes_method: string;
                                                refund_attributes_status: string;
                                            } | undefined;
                                            redirect?: {
                                                failure_reason: string | null;
                                                return_url: string;
                                                status: string;
                                                url: string;
                                            } | undefined;
                                            sepa_credit_transfer?: {
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            sepa_debit?: {
                                                bank_code?: (string | null) | undefined;
                                                branch_code?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                mandate_reference?: (string | null) | undefined;
                                                mandate_url?: (string | null) | undefined;
                                            } | undefined;
                                            sofort?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            source_order?: {
                                                amount: number;
                                                currency: string;
                                                email?: string | undefined;
                                                items: {
                                                    amount: number | null;
                                                    currency: string | null;
                                                    description: string | null;
                                                    parent: string | null;
                                                    quantity?: number | undefined;
                                                    type: string | null;
                                                }[] | null;
                                                shipping?: {
                                                    address?: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | undefined;
                                                    carrier?: (string | null) | undefined;
                                                    name?: string | undefined;
                                                    phone?: (string | null) | undefined;
                                                    tracking_number?: (string | null) | undefined;
                                                } | undefined;
                                            } | undefined;
                                            statement_descriptor: string | null;
                                            status: string;
                                            three_d_secure?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                authenticated?: (boolean | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                card?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                customer?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            type: string;
                                            usage: string | null;
                                            wechat?: {
                                                prepay_id?: string | undefined;
                                                qr_code_url?: (string | null) | undefined;
                                                statement_descriptor?: string | undefined;
                                            } | undefined;
                                        } | any | any | null;
                                        statement_descriptor: string | null;
                                        statement_descriptor_suffix: string | null;
                                        status: string;
                                        transfer_data: any | null;
                                        transfer_group: string | null;
                                    } | undefined;
                                    reason: string;
                                    session: {
                                        browser: string | null;
                                        device: string | null;
                                        platform: string | null;
                                        version: string | null;
                                    } | null;
                                } | null;
                                shipping: {
                                    address?: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | undefined;
                                    carrier?: (string | null) | undefined;
                                    name?: string | undefined;
                                    phone?: (string | null) | undefined;
                                    tracking_number?: (string | null) | undefined;
                                } | null;
                                source: any | any | {
                                    id: string;
                                    object: string;
                                    account?: string | any | null | undefined;
                                    address_city: string | null;
                                    address_country: string | null;
                                    address_line1: string | null;
                                    address_line1_check: string | null;
                                    address_line2: string | null;
                                    address_state: string | null;
                                    address_zip: string | null;
                                    address_zip_check: string | null;
                                    available_payout_methods?: string[] | null | undefined;
                                    brand: string;
                                    country: string | null;
                                    currency?: (string | null) | undefined;
                                    customer?: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null | undefined;
                                    cvc_check: string | null;
                                    default_for_currency?: (boolean | null) | undefined;
                                    deleted?: void | undefined;
                                    description?: string | undefined;
                                    dynamic_last4: string | null;
                                    exp_month: number;
                                    exp_year: number;
                                    fingerprint?: (string | null) | undefined;
                                    funding: string;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4: string;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    name: string | null;
                                    networks?: {
                                        preferred: string | null;
                                    } | undefined;
                                    status?: (string | null) | undefined;
                                    tokenization_method: string | null;
                                } | {
                                    id: string;
                                    object: string;
                                    ach_credit_transfer?: {
                                        account_number?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_account_holder_type?: (string | null) | undefined;
                                        refund_routing_number?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        swift_code?: (string | null) | undefined;
                                    } | undefined;
                                    ach_debit?: {
                                        bank_name?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        type?: (string | null) | undefined;
                                    } | undefined;
                                    acss_debit?: {
                                        bank_address_city?: (string | null) | undefined;
                                        bank_address_line_1?: (string | null) | undefined;
                                        bank_address_line_2?: (string | null) | undefined;
                                        bank_address_postal_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        category?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                    } | undefined;
                                    alipay?: {
                                        data_string?: (string | null) | undefined;
                                        native_url?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    amount: number | null;
                                    au_becs_debit?: {
                                        bsb_number?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                    } | undefined;
                                    bancontact?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    card?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    card_present?: {
                                        application_cryptogram?: string | undefined;
                                        application_preferred_name?: string | undefined;
                                        authorization_code?: (string | null) | undefined;
                                        authorization_response_code?: string | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvm_type?: string | undefined;
                                        data_type?: (string | null) | undefined;
                                        dedicated_file_name?: string | undefined;
                                        description?: string | undefined;
                                        emv_auth_data?: string | undefined;
                                        evidence_customer_signature?: (string | null) | undefined;
                                        evidence_transaction_certificate?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        pos_device_id?: (string | null) | undefined;
                                        pos_entry_mode?: string | undefined;
                                        read_method?: (string | null) | undefined;
                                        reader?: (string | null) | undefined;
                                        terminal_verification_results?: string | undefined;
                                        transaction_status_information?: string | undefined;
                                    } | undefined;
                                    client_secret: string;
                                    code_verification?: {
                                        attempts_remaining: number;
                                        status: string;
                                    } | undefined;
                                    created: number;
                                    currency: string | null;
                                    customer?: string | undefined;
                                    eps?: {
                                        reference?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    flow: string;
                                    giropay?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    ideal?: {
                                        bank?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    klarna?: {
                                        background_image_url?: string | undefined;
                                        client_token?: (string | null) | undefined;
                                        first_name?: string | undefined;
                                        last_name?: string | undefined;
                                        locale?: string | undefined;
                                        logo_url?: string | undefined;
                                        page_title?: string | undefined;
                                        pay_later_asset_urls_descriptive?: string | undefined;
                                        pay_later_asset_urls_standard?: string | undefined;
                                        pay_later_name?: string | undefined;
                                        pay_later_redirect_url?: string | undefined;
                                        pay_now_asset_urls_descriptive?: string | undefined;
                                        pay_now_asset_urls_standard?: string | undefined;
                                        pay_now_name?: string | undefined;
                                        pay_now_redirect_url?: string | undefined;
                                        pay_over_time_asset_urls_descriptive?: string | undefined;
                                        pay_over_time_asset_urls_standard?: string | undefined;
                                        pay_over_time_name?: string | undefined;
                                        pay_over_time_redirect_url?: string | undefined;
                                        payment_method_categories?: string | undefined;
                                        purchase_country?: string | undefined;
                                        purchase_type?: string | undefined;
                                        redirect_url?: string | undefined;
                                        shipping_delay?: number | undefined;
                                        shipping_first_name?: string | undefined;
                                        shipping_last_name?: string | undefined;
                                    } | undefined;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    multibanco?: {
                                        entity?: (string | null) | undefined;
                                        reference?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    owner: {
                                        address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        email: string | null;
                                        name: string | null;
                                        phone: string | null;
                                        verified_address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        verified_email: string | null;
                                        verified_name: string | null;
                                        verified_phone: string | null;
                                    } | null;
                                    p24?: {
                                        reference?: (string | null) | undefined;
                                    } | undefined;
                                    receiver?: {
                                        address: string | null;
                                        amount_charged: number;
                                        amount_received: number;
                                        amount_returned: number;
                                        refund_attributes_method: string;
                                        refund_attributes_status: string;
                                    } | undefined;
                                    redirect?: {
                                        failure_reason: string | null;
                                        return_url: string;
                                        status: string;
                                        url: string;
                                    } | undefined;
                                    sepa_credit_transfer?: {
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    sepa_debit?: {
                                        bank_code?: (string | null) | undefined;
                                        branch_code?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        mandate_reference?: (string | null) | undefined;
                                        mandate_url?: (string | null) | undefined;
                                    } | undefined;
                                    sofort?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    source_order?: {
                                        amount: number;
                                        currency: string;
                                        email?: string | undefined;
                                        items: {
                                            amount: number | null;
                                            currency: string | null;
                                            description: string | null;
                                            parent: string | null;
                                            quantity?: number | undefined;
                                            type: string | null;
                                        }[] | null;
                                        shipping?: {
                                            address?: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | undefined;
                                            carrier?: (string | null) | undefined;
                                            name?: string | undefined;
                                            phone?: (string | null) | undefined;
                                            tracking_number?: (string | null) | undefined;
                                        } | undefined;
                                    } | undefined;
                                    statement_descriptor: string | null;
                                    status: string;
                                    three_d_secure?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        authenticated?: (boolean | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        card?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        customer?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    type: string;
                                    usage: string | null;
                                    wechat?: {
                                        prepay_id?: string | undefined;
                                        qr_code_url?: (string | null) | undefined;
                                        statement_descriptor?: string | undefined;
                                    } | undefined;
                                } | null;
                                source_transfer: string | {
                                    id: string;
                                    object: string;
                                    amount: number;
                                    amount_reversed: number;
                                    balance_transaction: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        available_on: number;
                                        created: number;
                                        currency: string;
                                        description: string | null;
                                        exchange_rate: number | null;
                                        fee: number;
                                        fee_details: any[];
                                        net: number;
                                        reporting_category: string;
                                        source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                        status: string;
                                        type: string;
                                    } | null;
                                    created: number;
                                    currency: string;
                                    description: string | null;
                                    destination: string | any | null;
                                    destination_payment?: string | any | undefined;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    };
                                    reversals: {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        balance_transaction: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            available_on: number;
                                            created: number;
                                            currency: string;
                                            description: string | null;
                                            exchange_rate: number | null;
                                            fee: number;
                                            fee_details: any[];
                                            net: number;
                                            reporting_category: string;
                                            source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                            status: string;
                                            type: string;
                                        } | null;
                                        created: number;
                                        currency: string;
                                        destination_payment_refund: string | any | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        source_refund: string | any | null;
                                        transfer: string | any;
                                    }[];
                                    reversed: boolean;
                                    source_transaction: string | any | null;
                                    source_type?: string | undefined;
                                    transfer_group: string | null;
                                } | null;
                                statement_descriptor: string | null;
                                statement_descriptor_suffix: string | null;
                                status: string;
                                transfer?: string | {
                                    id: string;
                                    object: string;
                                    amount: number;
                                    amount_reversed: number;
                                    balance_transaction: string | {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        available_on: number;
                                        created: number;
                                        currency: string;
                                        description: string | null;
                                        exchange_rate: number | null;
                                        fee: number;
                                        fee_details: any[];
                                        net: number;
                                        reporting_category: string;
                                        source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                        status: string;
                                        type: string;
                                    } | null;
                                    created: number;
                                    currency: string;
                                    description: string | null;
                                    destination: string | any | null;
                                    destination_payment?: string | any | undefined;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    };
                                    reversals: {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        balance_transaction: string | {
                                            id: string;
                                            object: string;
                                            amount: number;
                                            available_on: number;
                                            created: number;
                                            currency: string;
                                            description: string | null;
                                            exchange_rate: number | null;
                                            fee: number;
                                            fee_details: any[];
                                            net: number;
                                            reporting_category: string;
                                            source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                            status: string;
                                            type: string;
                                        } | null;
                                        created: number;
                                        currency: string;
                                        destination_payment_refund: string | any | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        source_refund: string | any | null;
                                        transfer: string | any;
                                    }[];
                                    reversed: boolean;
                                    source_transaction: string | any | null;
                                    source_type?: string | undefined;
                                    transfer_group: string | null;
                                } | undefined;
                                transfer_data: {
                                    amount: number | null;
                                    destination: string | any;
                                } | null;
                                transfer_group: string | null;
                            } | null;
                            setup_attempt: string | {
                                id: string;
                                object: string;
                                application: string | {
                                    id: string;
                                    object: string;
                                    deleted?: void | undefined;
                                    name: string | null;
                                } | null;
                                attach_to_self?: boolean | undefined;
                                created: number;
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null;
                                flow_directions: string[] | null;
                                livemode: boolean;
                                on_behalf_of: string | any | null;
                                payment_method: string | any;
                                payment_method_details: {
                                    acss_debit?: {} | undefined;
                                    amazon_pay?: {} | undefined;
                                    au_becs_debit?: {} | undefined;
                                    bacs_debit?: {} | undefined;
                                    bancontact?: {
                                        bank_code: string | null;
                                        bank_name: string | null;
                                        bic: string | null;
                                        generated_sepa_debit: string | any | null;
                                        generated_sepa_debit_mandate: string | any | null;
                                        iban_last4: string | null;
                                        preferred_language: string | null;
                                        verified_name: string | null;
                                    } | undefined;
                                    boleto?: {} | undefined;
                                    card?: {
                                        brand: string | null;
                                        checks: any | null;
                                        country: string | null;
                                        description?: (string | null) | undefined;
                                        exp_month: number | null;
                                        exp_year: number | null;
                                        fingerprint?: (string | null) | undefined;
                                        funding: string | null;
                                        iin?: (string | null) | undefined;
                                        issuer?: (string | null) | undefined;
                                        last4: string | null;
                                        network: string | null;
                                        three_d_secure: any | null;
                                        wallet: any | null;
                                    } | undefined;
                                    card_present?: {
                                        generated_card: string | any | null;
                                        offline: any | null;
                                    } | undefined;
                                    cashapp?: {} | undefined;
                                    ideal?: {
                                        bank: string | null;
                                        bic: string | null;
                                        generated_sepa_debit: string | any | null;
                                        generated_sepa_debit_mandate: string | any | null;
                                        iban_last4: string | null;
                                        verified_name: string | null;
                                    } | undefined;
                                    kakao_pay?: {} | undefined;
                                    klarna?: {} | undefined;
                                    kr_card?: {} | undefined;
                                    link?: {} | undefined;
                                    paypal?: {} | undefined;
                                    revolut_pay?: {} | undefined;
                                    sepa_debit?: {} | undefined;
                                    sofort?: {
                                        bank_code: string | null;
                                        bank_name: string | null;
                                        bic: string | null;
                                        generated_sepa_debit: string | any | null;
                                        generated_sepa_debit_mandate: string | any | null;
                                        iban_last4: string | null;
                                        preferred_language: string | null;
                                        verified_name: string | null;
                                    } | undefined;
                                    type: string;
                                    us_bank_account?: {} | undefined;
                                };
                                setup_error: {
                                    charge?: string | undefined;
                                    code?: string | undefined;
                                    decline_code?: string | undefined;
                                    doc_url?: string | undefined;
                                    message?: string | undefined;
                                    param?: string | undefined;
                                    payment_intent?: {
                                        id: string;
                                        object: string;
                                        amount: number;
                                        amount_capturable: number;
                                        amount_details?: any | undefined;
                                        amount_received: number;
                                        application: string | {
                                            id: string;
                                            object: string;
                                            deleted?: void | undefined;
                                            name: string | null;
                                        } | null;
                                        application_fee_amount: number | null;
                                        automatic_payment_methods: any | null;
                                        canceled_at: number | null;
                                        cancellation_reason: string | null;
                                        capture_method: string;
                                        client_secret: string | null;
                                        confirmation_method: string;
                                        created: number;
                                        currency: string;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        description: string | null;
                                        invoice: string | any | null;
                                        last_payment_error: any | null;
                                        latest_charge: string | any | null;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        };
                                        next_action: any | null;
                                        on_behalf_of: string | any | null;
                                        payment_method: string | any | null;
                                        payment_method_configuration_details: any | null;
                                        payment_method_options: any | null;
                                        payment_method_types: Array<string>;
                                        processing: any | null;
                                        receipt_email: string | null;
                                        review: string | any | null;
                                        setup_future_usage: string | null;
                                        shipping: any | null;
                                        source: string | any | any | {
                                            id: string;
                                            object: string;
                                            account?: string | any | null | undefined;
                                            address_city: string | null;
                                            address_country: string | null;
                                            address_line1: string | null;
                                            address_line1_check: string | null;
                                            address_line2: string | null;
                                            address_state: string | null;
                                            address_zip: string | null;
                                            address_zip_check: string | null;
                                            available_payout_methods?: string[] | null | undefined;
                                            brand: string;
                                            country: string | null;
                                            currency?: (string | null) | undefined;
                                            customer?: string | any | {
                                                id: string;
                                                object: string;
                                                deleted: boolean;
                                            } | null | undefined;
                                            cvc_check: string | null;
                                            default_for_currency?: (boolean | null) | undefined;
                                            deleted?: void | undefined;
                                            description?: string | undefined;
                                            dynamic_last4: string | null;
                                            exp_month: number;
                                            exp_year: number;
                                            fingerprint?: (string | null) | undefined;
                                            funding: string;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4: string;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            networks?: {
                                                preferred: string | null;
                                            } | undefined;
                                            status?: (string | null) | undefined;
                                            tokenization_method: string | null;
                                        } | {
                                            id: string;
                                            object: string;
                                            ach_credit_transfer?: {
                                                account_number?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_account_holder_type?: (string | null) | undefined;
                                                refund_routing_number?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                swift_code?: (string | null) | undefined;
                                            } | undefined;
                                            ach_debit?: {
                                                bank_name?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                                type?: (string | null) | undefined;
                                            } | undefined;
                                            acss_debit?: {
                                                bank_address_city?: (string | null) | undefined;
                                                bank_address_line_1?: (string | null) | undefined;
                                                bank_address_line_2?: (string | null) | undefined;
                                                bank_address_postal_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                category?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                routing_number?: (string | null) | undefined;
                                            } | undefined;
                                            alipay?: {
                                                data_string?: (string | null) | undefined;
                                                native_url?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            amount: number | null;
                                            au_becs_debit?: {
                                                bsb_number?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                            } | undefined;
                                            bancontact?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            card?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            card_present?: {
                                                application_cryptogram?: string | undefined;
                                                application_preferred_name?: string | undefined;
                                                authorization_code?: (string | null) | undefined;
                                                authorization_response_code?: string | undefined;
                                                brand?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                cvm_type?: string | undefined;
                                                data_type?: (string | null) | undefined;
                                                dedicated_file_name?: string | undefined;
                                                description?: string | undefined;
                                                emv_auth_data?: string | undefined;
                                                evidence_customer_signature?: (string | null) | undefined;
                                                evidence_transaction_certificate?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                pos_device_id?: (string | null) | undefined;
                                                pos_entry_mode?: string | undefined;
                                                read_method?: (string | null) | undefined;
                                                reader?: (string | null) | undefined;
                                                terminal_verification_results?: string | undefined;
                                                transaction_status_information?: string | undefined;
                                            } | undefined;
                                            client_secret: string;
                                            code_verification?: {
                                                attempts_remaining: number;
                                                status: string;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            customer?: string | undefined;
                                            eps?: {
                                                reference?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            flow: string;
                                            giropay?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            ideal?: {
                                                bank?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            klarna?: {
                                                background_image_url?: string | undefined;
                                                client_token?: (string | null) | undefined;
                                                first_name?: string | undefined;
                                                last_name?: string | undefined;
                                                locale?: string | undefined;
                                                logo_url?: string | undefined;
                                                page_title?: string | undefined;
                                                pay_later_asset_urls_descriptive?: string | undefined;
                                                pay_later_asset_urls_standard?: string | undefined;
                                                pay_later_name?: string | undefined;
                                                pay_later_redirect_url?: string | undefined;
                                                pay_now_asset_urls_descriptive?: string | undefined;
                                                pay_now_asset_urls_standard?: string | undefined;
                                                pay_now_name?: string | undefined;
                                                pay_now_redirect_url?: string | undefined;
                                                pay_over_time_asset_urls_descriptive?: string | undefined;
                                                pay_over_time_asset_urls_standard?: string | undefined;
                                                pay_over_time_name?: string | undefined;
                                                pay_over_time_redirect_url?: string | undefined;
                                                payment_method_categories?: string | undefined;
                                                purchase_country?: string | undefined;
                                                purchase_type?: string | undefined;
                                                redirect_url?: string | undefined;
                                                shipping_delay?: number | undefined;
                                                shipping_first_name?: string | undefined;
                                                shipping_last_name?: string | undefined;
                                            } | undefined;
                                            livemode: boolean;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            multibanco?: {
                                                entity?: (string | null) | undefined;
                                                reference?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            owner: {
                                                address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                email: string | null;
                                                name: string | null;
                                                phone: string | null;
                                                verified_address: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | null;
                                                verified_email: string | null;
                                                verified_name: string | null;
                                                verified_phone: string | null;
                                            } | null;
                                            p24?: {
                                                reference?: (string | null) | undefined;
                                            } | undefined;
                                            receiver?: {
                                                address: string | null;
                                                amount_charged: number;
                                                amount_received: number;
                                                amount_returned: number;
                                                refund_attributes_method: string;
                                                refund_attributes_status: string;
                                            } | undefined;
                                            redirect?: {
                                                failure_reason: string | null;
                                                return_url: string;
                                                status: string;
                                                url: string;
                                            } | undefined;
                                            sepa_credit_transfer?: {
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                iban?: (string | null) | undefined;
                                                refund_account_holder_address_city?: (string | null) | undefined;
                                                refund_account_holder_address_country?: (string | null) | undefined;
                                                refund_account_holder_address_line1?: (string | null) | undefined;
                                                refund_account_holder_address_line2?: (string | null) | undefined;
                                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                                refund_account_holder_address_state?: (string | null) | undefined;
                                                refund_account_holder_name?: (string | null) | undefined;
                                                refund_iban?: (string | null) | undefined;
                                            } | undefined;
                                            sepa_debit?: {
                                                bank_code?: (string | null) | undefined;
                                                branch_code?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                fingerprint?: (string | null) | undefined;
                                                last4?: (string | null) | undefined;
                                                mandate_reference?: (string | null) | undefined;
                                                mandate_url?: (string | null) | undefined;
                                            } | undefined;
                                            sofort?: {
                                                bank_code?: (string | null) | undefined;
                                                bank_name?: (string | null) | undefined;
                                                bic?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                iban_last4?: (string | null) | undefined;
                                                preferred_language?: (string | null) | undefined;
                                                statement_descriptor?: (string | null) | undefined;
                                            } | undefined;
                                            source_order?: {
                                                amount: number;
                                                currency: string;
                                                email?: string | undefined;
                                                items: {
                                                    amount: number | null;
                                                    currency: string | null;
                                                    description: string | null;
                                                    parent: string | null;
                                                    quantity?: number | undefined;
                                                    type: string | null;
                                                }[] | null;
                                                shipping?: {
                                                    address?: {
                                                        city: string | null;
                                                        country: string | null;
                                                        line1: string | null;
                                                        line2: string | null;
                                                        postal_code: string | null;
                                                        state: string | null;
                                                    } | undefined;
                                                    carrier?: (string | null) | undefined;
                                                    name?: string | undefined;
                                                    phone?: (string | null) | undefined;
                                                    tracking_number?: (string | null) | undefined;
                                                } | undefined;
                                            } | undefined;
                                            statement_descriptor: string | null;
                                            status: string;
                                            three_d_secure?: {
                                                address_line1_check?: (string | null) | undefined;
                                                address_zip_check?: (string | null) | undefined;
                                                authenticated?: (boolean | null) | undefined;
                                                brand?: (string | null) | undefined;
                                                card?: (string | null) | undefined;
                                                country?: (string | null) | undefined;
                                                customer?: (string | null) | undefined;
                                                cvc_check?: (string | null) | undefined;
                                                description?: string | undefined;
                                                dynamic_last4?: (string | null) | undefined;
                                                exp_month?: (number | null) | undefined;
                                                exp_year?: (number | null) | undefined;
                                                fingerprint?: string | undefined;
                                                funding?: (string | null) | undefined;
                                                iin?: string | undefined;
                                                issuer?: string | undefined;
                                                last4?: (string | null) | undefined;
                                                name?: (string | null) | undefined;
                                                three_d_secure?: string | undefined;
                                                tokenization_method?: (string | null) | undefined;
                                            } | undefined;
                                            type: string;
                                            usage: string | null;
                                            wechat?: {
                                                prepay_id?: string | undefined;
                                                qr_code_url?: (string | null) | undefined;
                                                statement_descriptor?: string | undefined;
                                            } | undefined;
                                        } | any | any | null;
                                        statement_descriptor: string | null;
                                        statement_descriptor_suffix: string | null;
                                        status: string;
                                        transfer_data: any | null;
                                        transfer_group: string | null;
                                    } | undefined;
                                    payment_method?: any | undefined;
                                    payment_method_type?: string | undefined;
                                    request_log_url?: string | undefined;
                                    setup_intent?: {
                                        id: string;
                                        object: string;
                                        application: string | {
                                            id: string;
                                            object: string;
                                            deleted?: void | undefined;
                                            name: string | null;
                                        } | null;
                                        attach_to_self?: boolean | undefined;
                                        automatic_payment_methods: any | null;
                                        cancellation_reason: string | null;
                                        client_secret: string | null;
                                        created: number;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        description: string | null;
                                        flow_directions: string[] | null;
                                        last_setup_error: any | null;
                                        latest_attempt: string | any | null;
                                        livemode: boolean;
                                        mandate: string | any | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        next_action: any | null;
                                        on_behalf_of: string | any | null;
                                        payment_method: string | any | null;
                                        payment_method_configuration_details: any | null;
                                        payment_method_options: any | null;
                                        payment_method_types: Array<string>;
                                        single_use_mandate: string | any | null;
                                        status: string;
                                        usage: string;
                                    } | undefined;
                                    source?: any | any | {
                                        id: string;
                                        object: string;
                                        account?: string | any | null | undefined;
                                        address_city: string | null;
                                        address_country: string | null;
                                        address_line1: string | null;
                                        address_line1_check: string | null;
                                        address_line2: string | null;
                                        address_state: string | null;
                                        address_zip: string | null;
                                        address_zip_check: string | null;
                                        available_payout_methods?: string[] | null | undefined;
                                        brand: string;
                                        country: string | null;
                                        currency?: (string | null) | undefined;
                                        customer?: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null | undefined;
                                        cvc_check: string | null;
                                        default_for_currency?: (boolean | null) | undefined;
                                        deleted?: void | undefined;
                                        description?: string | undefined;
                                        dynamic_last4: string | null;
                                        exp_month: number;
                                        exp_year: number;
                                        fingerprint?: (string | null) | undefined;
                                        funding: string;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4: string;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        networks?: {
                                            preferred: string | null;
                                        } | undefined;
                                        status?: (string | null) | undefined;
                                        tokenization_method: string | null;
                                    } | {
                                        id: string;
                                        object: string;
                                        ach_credit_transfer?: {
                                            account_number?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_account_holder_type?: (string | null) | undefined;
                                            refund_routing_number?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                            swift_code?: (string | null) | undefined;
                                        } | undefined;
                                        ach_debit?: {
                                            bank_name?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                            type?: (string | null) | undefined;
                                        } | undefined;
                                        acss_debit?: {
                                            bank_address_city?: (string | null) | undefined;
                                            bank_address_line_1?: (string | null) | undefined;
                                            bank_address_line_2?: (string | null) | undefined;
                                            bank_address_postal_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            category?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                        } | undefined;
                                        alipay?: {
                                            data_string?: (string | null) | undefined;
                                            native_url?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        amount: number | null;
                                        au_becs_debit?: {
                                            bsb_number?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                        } | undefined;
                                        bancontact?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            preferred_language?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        card?: {
                                            address_line1_check?: (string | null) | undefined;
                                            address_zip_check?: (string | null) | undefined;
                                            brand?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            cvc_check?: (string | null) | undefined;
                                            description?: string | undefined;
                                            dynamic_last4?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            name?: (string | null) | undefined;
                                            three_d_secure?: string | undefined;
                                            tokenization_method?: (string | null) | undefined;
                                        } | undefined;
                                        card_present?: {
                                            application_cryptogram?: string | undefined;
                                            application_preferred_name?: string | undefined;
                                            authorization_code?: (string | null) | undefined;
                                            authorization_response_code?: string | undefined;
                                            brand?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            cvm_type?: string | undefined;
                                            data_type?: (string | null) | undefined;
                                            dedicated_file_name?: string | undefined;
                                            description?: string | undefined;
                                            emv_auth_data?: string | undefined;
                                            evidence_customer_signature?: (string | null) | undefined;
                                            evidence_transaction_certificate?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            pos_device_id?: (string | null) | undefined;
                                            pos_entry_mode?: string | undefined;
                                            read_method?: (string | null) | undefined;
                                            reader?: (string | null) | undefined;
                                            terminal_verification_results?: string | undefined;
                                            transaction_status_information?: string | undefined;
                                        } | undefined;
                                        client_secret: string;
                                        code_verification?: {
                                            attempts_remaining: number;
                                            status: string;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        customer?: string | undefined;
                                        eps?: {
                                            reference?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        flow: string;
                                        giropay?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        ideal?: {
                                            bank?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        klarna?: {
                                            background_image_url?: string | undefined;
                                            client_token?: (string | null) | undefined;
                                            first_name?: string | undefined;
                                            last_name?: string | undefined;
                                            locale?: string | undefined;
                                            logo_url?: string | undefined;
                                            page_title?: string | undefined;
                                            pay_later_asset_urls_descriptive?: string | undefined;
                                            pay_later_asset_urls_standard?: string | undefined;
                                            pay_later_name?: string | undefined;
                                            pay_later_redirect_url?: string | undefined;
                                            pay_now_asset_urls_descriptive?: string | undefined;
                                            pay_now_asset_urls_standard?: string | undefined;
                                            pay_now_name?: string | undefined;
                                            pay_now_redirect_url?: string | undefined;
                                            pay_over_time_asset_urls_descriptive?: string | undefined;
                                            pay_over_time_asset_urls_standard?: string | undefined;
                                            pay_over_time_name?: string | undefined;
                                            pay_over_time_redirect_url?: string | undefined;
                                            payment_method_categories?: string | undefined;
                                            purchase_country?: string | undefined;
                                            purchase_type?: string | undefined;
                                            redirect_url?: string | undefined;
                                            shipping_delay?: number | undefined;
                                            shipping_first_name?: string | undefined;
                                            shipping_last_name?: string | undefined;
                                        } | undefined;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        multibanco?: {
                                            entity?: (string | null) | undefined;
                                            reference?: (string | null) | undefined;
                                            refund_account_holder_address_city?: (string | null) | undefined;
                                            refund_account_holder_address_country?: (string | null) | undefined;
                                            refund_account_holder_address_line1?: (string | null) | undefined;
                                            refund_account_holder_address_line2?: (string | null) | undefined;
                                            refund_account_holder_address_postal_code?: (string | null) | undefined;
                                            refund_account_holder_address_state?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_iban?: (string | null) | undefined;
                                        } | undefined;
                                        owner: {
                                            address: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | null;
                                            email: string | null;
                                            name: string | null;
                                            phone: string | null;
                                            verified_address: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | null;
                                            verified_email: string | null;
                                            verified_name: string | null;
                                            verified_phone: string | null;
                                        } | null;
                                        p24?: {
                                            reference?: (string | null) | undefined;
                                        } | undefined;
                                        receiver?: {
                                            address: string | null;
                                            amount_charged: number;
                                            amount_received: number;
                                            amount_returned: number;
                                            refund_attributes_method: string;
                                            refund_attributes_status: string;
                                        } | undefined;
                                        redirect?: {
                                            failure_reason: string | null;
                                            return_url: string;
                                            status: string;
                                            url: string;
                                        } | undefined;
                                        sepa_credit_transfer?: {
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban?: (string | null) | undefined;
                                            refund_account_holder_address_city?: (string | null) | undefined;
                                            refund_account_holder_address_country?: (string | null) | undefined;
                                            refund_account_holder_address_line1?: (string | null) | undefined;
                                            refund_account_holder_address_line2?: (string | null) | undefined;
                                            refund_account_holder_address_postal_code?: (string | null) | undefined;
                                            refund_account_holder_address_state?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_iban?: (string | null) | undefined;
                                        } | undefined;
                                        sepa_debit?: {
                                            bank_code?: (string | null) | undefined;
                                            branch_code?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            mandate_reference?: (string | null) | undefined;
                                            mandate_url?: (string | null) | undefined;
                                        } | undefined;
                                        sofort?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            preferred_language?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        source_order?: {
                                            amount: number;
                                            currency: string;
                                            email?: string | undefined;
                                            items: {
                                                amount: number | null;
                                                currency: string | null;
                                                description: string | null;
                                                parent: string | null;
                                                quantity?: number | undefined;
                                                type: string | null;
                                            }[] | null;
                                            shipping?: {
                                                address?: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | undefined;
                                                carrier?: (string | null) | undefined;
                                                name?: string | undefined;
                                                phone?: (string | null) | undefined;
                                                tracking_number?: (string | null) | undefined;
                                            } | undefined;
                                        } | undefined;
                                        statement_descriptor: string | null;
                                        status: string;
                                        three_d_secure?: {
                                            address_line1_check?: (string | null) | undefined;
                                            address_zip_check?: (string | null) | undefined;
                                            authenticated?: (boolean | null) | undefined;
                                            brand?: (string | null) | undefined;
                                            card?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            customer?: (string | null) | undefined;
                                            cvc_check?: (string | null) | undefined;
                                            description?: string | undefined;
                                            dynamic_last4?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            name?: (string | null) | undefined;
                                            three_d_secure?: string | undefined;
                                            tokenization_method?: (string | null) | undefined;
                                        } | undefined;
                                        type: string;
                                        usage: string | null;
                                        wechat?: {
                                            prepay_id?: string | undefined;
                                            qr_code_url?: (string | null) | undefined;
                                            statement_descriptor?: string | undefined;
                                        } | undefined;
                                    } | undefined;
                                    type: string;
                                } | null;
                                setup_intent: string | {
                                    id: string;
                                    object: string;
                                    application: string | {
                                        id: string;
                                        object: string;
                                        deleted?: void | undefined;
                                        name: string | null;
                                    } | null;
                                    attach_to_self?: boolean | undefined;
                                    automatic_payment_methods: any | null;
                                    cancellation_reason: string | null;
                                    client_secret: string | null;
                                    created: number;
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    description: string | null;
                                    flow_directions: string[] | null;
                                    last_setup_error: any | null;
                                    latest_attempt: string | any | null;
                                    livemode: boolean;
                                    mandate: string | any | null;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    next_action: any | null;
                                    on_behalf_of: string | any | null;
                                    payment_method: string | any | null;
                                    payment_method_configuration_details: any | null;
                                    payment_method_options: any | null;
                                    payment_method_types: Array<string>;
                                    single_use_mandate: string | any | null;
                                    status: string;
                                    usage: string;
                                };
                                status: string;
                                usage: string;
                            } | null;
                        } | null;
                        last4: string | null;
                    } | undefined;
                    sofort?: {
                        country: string | null;
                    } | undefined;
                    swish?: {} | undefined;
                    twint?: {} | undefined;
                    type: string;
                    us_bank_account?: {
                        account_holder_type: string | null;
                        account_type: string | null;
                        bank_name: string | null;
                        financial_connections_account: string | null;
                        fingerprint: string | null;
                        last4: string | null;
                        networks: {
                            preferred: string | null;
                            supported: string[];
                        } | null;
                        routing_number: string | null;
                        status_details: {
                            blocked?: {
                                network_code: string | null;
                                reason: string | null;
                            } | undefined;
                        } | null;
                    } | undefined;
                    wechat_pay?: {} | undefined;
                    zip?: {} | undefined;
                } | null;
                footer: string | null;
                rendering_options: {
                    amount_tax_display: string | null;
                    template: string | null;
                } | null;
            };
            livemode: boolean;
            metadata: {
                [x: string]: string;
            };
            name?: (string | null) | undefined;
            next_invoice_sequence?: number | undefined;
            phone?: (string | null) | undefined;
            preferred_locales?: (Array<string> | null) | undefined;
            shipping: {
                address?: {
                    city: string | null;
                    country: string | null;
                    line1: string | null;
                    line2: string | null;
                    postal_code: string | null;
                    state: string | null;
                } | undefined;
                carrier?: (string | null) | undefined;
                name?: string | undefined;
                phone?: (string | null) | undefined;
                tracking_number?: (string | null) | undefined;
            } | null;
            sources?: (any | any | {
                id: string;
                object: string;
                account?: string | any | null | undefined;
                address_city: string | null;
                address_country: string | null;
                address_line1: string | null;
                address_line1_check: string | null;
                address_line2: string | null;
                address_state: string | null;
                address_zip: string | null;
                address_zip_check: string | null;
                available_payout_methods?: string[] | null | undefined;
                brand: string;
                country: string | null;
                currency?: (string | null) | undefined;
                customer?: string | any | {
                    id: string;
                    object: string;
                    deleted: boolean;
                } | null | undefined;
                cvc_check: string | null;
                default_for_currency?: (boolean | null) | undefined;
                deleted?: void | undefined;
                description?: string | undefined;
                dynamic_last4: string | null;
                exp_month: number;
                exp_year: number;
                fingerprint?: (string | null) | undefined;
                funding: string;
                iin?: string | undefined;
                issuer?: string | undefined;
                last4: string;
                metadata: {
                    [x: string]: string;
                } | null;
                name: string | null;
                networks?: {
                    preferred: string | null;
                } | undefined;
                status?: (string | null) | undefined;
                tokenization_method: string | null;
            } | {
                id: string;
                object: string;
                ach_credit_transfer?: {
                    account_number?: (string | null) | undefined;
                    bank_name?: (string | null) | undefined;
                    fingerprint?: (string | null) | undefined;
                    refund_account_holder_name?: (string | null) | undefined;
                    refund_account_holder_type?: (string | null) | undefined;
                    refund_routing_number?: (string | null) | undefined;
                    routing_number?: (string | null) | undefined;
                    swift_code?: (string | null) | undefined;
                } | undefined;
                ach_debit?: {
                    bank_name?: (string | null) | undefined;
                    country?: (string | null) | undefined;
                    fingerprint?: (string | null) | undefined;
                    last4?: (string | null) | undefined;
                    routing_number?: (string | null) | undefined;
                    type?: (string | null) | undefined;
                } | undefined;
                acss_debit?: {
                    bank_address_city?: (string | null) | undefined;
                    bank_address_line_1?: (string | null) | undefined;
                    bank_address_line_2?: (string | null) | undefined;
                    bank_address_postal_code?: (string | null) | undefined;
                    bank_name?: (string | null) | undefined;
                    category?: (string | null) | undefined;
                    country?: (string | null) | undefined;
                    fingerprint?: (string | null) | undefined;
                    last4?: (string | null) | undefined;
                    routing_number?: (string | null) | undefined;
                } | undefined;
                alipay?: {
                    data_string?: (string | null) | undefined;
                    native_url?: (string | null) | undefined;
                    statement_descriptor?: (string | null) | undefined;
                } | undefined;
                amount: number | null;
                au_becs_debit?: {
                    bsb_number?: (string | null) | undefined;
                    fingerprint?: (string | null) | undefined;
                    last4?: (string | null) | undefined;
                } | undefined;
                bancontact?: {
                    bank_code?: (string | null) | undefined;
                    bank_name?: (string | null) | undefined;
                    bic?: (string | null) | undefined;
                    iban_last4?: (string | null) | undefined;
                    preferred_language?: (string | null) | undefined;
                    statement_descriptor?: (string | null) | undefined;
                } | undefined;
                card?: {
                    address_line1_check?: (string | null) | undefined;
                    address_zip_check?: (string | null) | undefined;
                    brand?: (string | null) | undefined;
                    country?: (string | null) | undefined;
                    cvc_check?: (string | null) | undefined;
                    description?: string | undefined;
                    dynamic_last4?: (string | null) | undefined;
                    exp_month?: (number | null) | undefined;
                    exp_year?: (number | null) | undefined;
                    fingerprint?: string | undefined;
                    funding?: (string | null) | undefined;
                    iin?: string | undefined;
                    issuer?: string | undefined;
                    last4?: (string | null) | undefined;
                    name?: (string | null) | undefined;
                    three_d_secure?: string | undefined;
                    tokenization_method?: (string | null) | undefined;
                } | undefined;
                card_present?: {
                    application_cryptogram?: string | undefined;
                    application_preferred_name?: string | undefined;
                    authorization_code?: (string | null) | undefined;
                    authorization_response_code?: string | undefined;
                    brand?: (string | null) | undefined;
                    country?: (string | null) | undefined;
                    cvm_type?: string | undefined;
                    data_type?: (string | null) | undefined;
                    dedicated_file_name?: string | undefined;
                    description?: string | undefined;
                    emv_auth_data?: string | undefined;
                    evidence_customer_signature?: (string | null) | undefined;
                    evidence_transaction_certificate?: (string | null) | undefined;
                    exp_month?: (number | null) | undefined;
                    exp_year?: (number | null) | undefined;
                    fingerprint?: string | undefined;
                    funding?: (string | null) | undefined;
                    iin?: string | undefined;
                    issuer?: string | undefined;
                    last4?: (string | null) | undefined;
                    pos_device_id?: (string | null) | undefined;
                    pos_entry_mode?: string | undefined;
                    read_method?: (string | null) | undefined;
                    reader?: (string | null) | undefined;
                    terminal_verification_results?: string | undefined;
                    transaction_status_information?: string | undefined;
                } | undefined;
                client_secret: string;
                code_verification?: {
                    attempts_remaining: number;
                    status: string;
                } | undefined;
                created: number;
                currency: string | null;
                customer?: string | undefined;
                eps?: {
                    reference?: (string | null) | undefined;
                    statement_descriptor?: (string | null) | undefined;
                } | undefined;
                flow: string;
                giropay?: {
                    bank_code?: (string | null) | undefined;
                    bank_name?: (string | null) | undefined;
                    bic?: (string | null) | undefined;
                    statement_descriptor?: (string | null) | undefined;
                } | undefined;
                ideal?: {
                    bank?: (string | null) | undefined;
                    bic?: (string | null) | undefined;
                    iban_last4?: (string | null) | undefined;
                    statement_descriptor?: (string | null) | undefined;
                } | undefined;
                klarna?: {
                    background_image_url?: string | undefined;
                    client_token?: (string | null) | undefined;
                    first_name?: string | undefined;
                    last_name?: string | undefined;
                    locale?: string | undefined;
                    logo_url?: string | undefined;
                    page_title?: string | undefined;
                    pay_later_asset_urls_descriptive?: string | undefined;
                    pay_later_asset_urls_standard?: string | undefined;
                    pay_later_name?: string | undefined;
                    pay_later_redirect_url?: string | undefined;
                    pay_now_asset_urls_descriptive?: string | undefined;
                    pay_now_asset_urls_standard?: string | undefined;
                    pay_now_name?: string | undefined;
                    pay_now_redirect_url?: string | undefined;
                    pay_over_time_asset_urls_descriptive?: string | undefined;
                    pay_over_time_asset_urls_standard?: string | undefined;
                    pay_over_time_name?: string | undefined;
                    pay_over_time_redirect_url?: string | undefined;
                    payment_method_categories?: string | undefined;
                    purchase_country?: string | undefined;
                    purchase_type?: string | undefined;
                    redirect_url?: string | undefined;
                    shipping_delay?: number | undefined;
                    shipping_first_name?: string | undefined;
                    shipping_last_name?: string | undefined;
                } | undefined;
                livemode: boolean;
                metadata: {
                    [x: string]: string;
                } | null;
                multibanco?: {
                    entity?: (string | null) | undefined;
                    reference?: (string | null) | undefined;
                    refund_account_holder_address_city?: (string | null) | undefined;
                    refund_account_holder_address_country?: (string | null) | undefined;
                    refund_account_holder_address_line1?: (string | null) | undefined;
                    refund_account_holder_address_line2?: (string | null) | undefined;
                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                    refund_account_holder_address_state?: (string | null) | undefined;
                    refund_account_holder_name?: (string | null) | undefined;
                    refund_iban?: (string | null) | undefined;
                } | undefined;
                owner: {
                    address: {
                        city: string | null;
                        country: string | null;
                        line1: string | null;
                        line2: string | null;
                        postal_code: string | null;
                        state: string | null;
                    } | null;
                    email: string | null;
                    name: string | null;
                    phone: string | null;
                    verified_address: {
                        city: string | null;
                        country: string | null;
                        line1: string | null;
                        line2: string | null;
                        postal_code: string | null;
                        state: string | null;
                    } | null;
                    verified_email: string | null;
                    verified_name: string | null;
                    verified_phone: string | null;
                } | null;
                p24?: {
                    reference?: (string | null) | undefined;
                } | undefined;
                receiver?: {
                    address: string | null;
                    amount_charged: number;
                    amount_received: number;
                    amount_returned: number;
                    refund_attributes_method: string;
                    refund_attributes_status: string;
                } | undefined;
                redirect?: {
                    failure_reason: string | null;
                    return_url: string;
                    status: string;
                    url: string;
                } | undefined;
                sepa_credit_transfer?: {
                    bank_name?: (string | null) | undefined;
                    bic?: (string | null) | undefined;
                    iban?: (string | null) | undefined;
                    refund_account_holder_address_city?: (string | null) | undefined;
                    refund_account_holder_address_country?: (string | null) | undefined;
                    refund_account_holder_address_line1?: (string | null) | undefined;
                    refund_account_holder_address_line2?: (string | null) | undefined;
                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                    refund_account_holder_address_state?: (string | null) | undefined;
                    refund_account_holder_name?: (string | null) | undefined;
                    refund_iban?: (string | null) | undefined;
                } | undefined;
                sepa_debit?: {
                    bank_code?: (string | null) | undefined;
                    branch_code?: (string | null) | undefined;
                    country?: (string | null) | undefined;
                    fingerprint?: (string | null) | undefined;
                    last4?: (string | null) | undefined;
                    mandate_reference?: (string | null) | undefined;
                    mandate_url?: (string | null) | undefined;
                } | undefined;
                sofort?: {
                    bank_code?: (string | null) | undefined;
                    bank_name?: (string | null) | undefined;
                    bic?: (string | null) | undefined;
                    country?: (string | null) | undefined;
                    iban_last4?: (string | null) | undefined;
                    preferred_language?: (string | null) | undefined;
                    statement_descriptor?: (string | null) | undefined;
                } | undefined;
                source_order?: {
                    amount: number;
                    currency: string;
                    email?: string | undefined;
                    items: {
                        amount: number | null;
                        currency: string | null;
                        description: string | null;
                        parent: string | null;
                        quantity?: number | undefined;
                        type: string | null;
                    }[] | null;
                    shipping?: {
                        address?: {
                            city: string | null;
                            country: string | null;
                            line1: string | null;
                            line2: string | null;
                            postal_code: string | null;
                            state: string | null;
                        } | undefined;
                        carrier?: (string | null) | undefined;
                        name?: string | undefined;
                        phone?: (string | null) | undefined;
                        tracking_number?: (string | null) | undefined;
                    } | undefined;
                } | undefined;
                statement_descriptor: string | null;
                status: string;
                three_d_secure?: {
                    address_line1_check?: (string | null) | undefined;
                    address_zip_check?: (string | null) | undefined;
                    authenticated?: (boolean | null) | undefined;
                    brand?: (string | null) | undefined;
                    card?: (string | null) | undefined;
                    country?: (string | null) | undefined;
                    customer?: (string | null) | undefined;
                    cvc_check?: (string | null) | undefined;
                    description?: string | undefined;
                    dynamic_last4?: (string | null) | undefined;
                    exp_month?: (number | null) | undefined;
                    exp_year?: (number | null) | undefined;
                    fingerprint?: string | undefined;
                    funding?: (string | null) | undefined;
                    iin?: string | undefined;
                    issuer?: string | undefined;
                    last4?: (string | null) | undefined;
                    name?: (string | null) | undefined;
                    three_d_secure?: string | undefined;
                    tokenization_method?: (string | null) | undefined;
                } | undefined;
                type: string;
                usage: string | null;
                wechat?: {
                    prepay_id?: string | undefined;
                    qr_code_url?: (string | null) | undefined;
                    statement_descriptor?: string | undefined;
                } | undefined;
            })[] | undefined;
            subscriptions?: {
                id: string;
                object: string;
                application: string | {
                    id: string;
                    object: string;
                    deleted?: void | undefined;
                    name: string | null;
                } | {
                    id: string;
                    object: string;
                    deleted: boolean;
                    name: string | null;
                } | null;
                application_fee_percent: number | null;
                automatic_tax: any;
                billing_cycle_anchor: number;
                billing_cycle_anchor_config: any | null;
                billing_thresholds: any | null;
                cancel_at: number | null;
                cancel_at_period_end: boolean;
                canceled_at: number | null;
                cancellation_details: any | null;
                collection_method: string;
                created: number;
                currency: string;
                current_period_end: number;
                current_period_start: number;
                customer: string | any | {
                    id: string;
                    object: string;
                    deleted: boolean;
                };
                days_until_due: number | null;
                default_payment_method: string | any | null;
                default_source: string | any | any | {
                    id: string;
                    object: string;
                    account?: string | any | null | undefined;
                    address_city: string | null;
                    address_country: string | null;
                    address_line1: string | null;
                    address_line1_check: string | null;
                    address_line2: string | null;
                    address_state: string | null;
                    address_zip: string | null;
                    address_zip_check: string | null;
                    available_payout_methods?: string[] | null | undefined;
                    brand: string;
                    country: string | null;
                    currency?: (string | null) | undefined;
                    customer?: string | any | {
                        id: string;
                        object: string;
                        deleted: boolean;
                    } | null | undefined;
                    cvc_check: string | null;
                    default_for_currency?: (boolean | null) | undefined;
                    deleted?: void | undefined;
                    description?: string | undefined;
                    dynamic_last4: string | null;
                    exp_month: number;
                    exp_year: number;
                    fingerprint?: (string | null) | undefined;
                    funding: string;
                    iin?: string | undefined;
                    issuer?: string | undefined;
                    last4: string;
                    metadata: {
                        [x: string]: string;
                    } | null;
                    name: string | null;
                    networks?: {
                        preferred: string | null;
                    } | undefined;
                    status?: (string | null) | undefined;
                    tokenization_method: string | null;
                } | {
                    id: string;
                    object: string;
                    ach_credit_transfer?: {
                        account_number?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        refund_account_holder_name?: (string | null) | undefined;
                        refund_account_holder_type?: (string | null) | undefined;
                        refund_routing_number?: (string | null) | undefined;
                        routing_number?: (string | null) | undefined;
                        swift_code?: (string | null) | undefined;
                    } | undefined;
                    ach_debit?: {
                        bank_name?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        last4?: (string | null) | undefined;
                        routing_number?: (string | null) | undefined;
                        type?: (string | null) | undefined;
                    } | undefined;
                    acss_debit?: {
                        bank_address_city?: (string | null) | undefined;
                        bank_address_line_1?: (string | null) | undefined;
                        bank_address_line_2?: (string | null) | undefined;
                        bank_address_postal_code?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        category?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        last4?: (string | null) | undefined;
                        routing_number?: (string | null) | undefined;
                    } | undefined;
                    alipay?: {
                        data_string?: (string | null) | undefined;
                        native_url?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    amount: number | null;
                    au_becs_debit?: {
                        bsb_number?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        last4?: (string | null) | undefined;
                    } | undefined;
                    bancontact?: {
                        bank_code?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        iban_last4?: (string | null) | undefined;
                        preferred_language?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    card?: {
                        address_line1_check?: (string | null) | undefined;
                        address_zip_check?: (string | null) | undefined;
                        brand?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        cvc_check?: (string | null) | undefined;
                        description?: string | undefined;
                        dynamic_last4?: (string | null) | undefined;
                        exp_month?: (number | null) | undefined;
                        exp_year?: (number | null) | undefined;
                        fingerprint?: string | undefined;
                        funding?: (string | null) | undefined;
                        iin?: string | undefined;
                        issuer?: string | undefined;
                        last4?: (string | null) | undefined;
                        name?: (string | null) | undefined;
                        three_d_secure?: string | undefined;
                        tokenization_method?: (string | null) | undefined;
                    } | undefined;
                    card_present?: {
                        application_cryptogram?: string | undefined;
                        application_preferred_name?: string | undefined;
                        authorization_code?: (string | null) | undefined;
                        authorization_response_code?: string | undefined;
                        brand?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        cvm_type?: string | undefined;
                        data_type?: (string | null) | undefined;
                        dedicated_file_name?: string | undefined;
                        description?: string | undefined;
                        emv_auth_data?: string | undefined;
                        evidence_customer_signature?: (string | null) | undefined;
                        evidence_transaction_certificate?: (string | null) | undefined;
                        exp_month?: (number | null) | undefined;
                        exp_year?: (number | null) | undefined;
                        fingerprint?: string | undefined;
                        funding?: (string | null) | undefined;
                        iin?: string | undefined;
                        issuer?: string | undefined;
                        last4?: (string | null) | undefined;
                        pos_device_id?: (string | null) | undefined;
                        pos_entry_mode?: string | undefined;
                        read_method?: (string | null) | undefined;
                        reader?: (string | null) | undefined;
                        terminal_verification_results?: string | undefined;
                        transaction_status_information?: string | undefined;
                    } | undefined;
                    client_secret: string;
                    code_verification?: {
                        attempts_remaining: number;
                        status: string;
                    } | undefined;
                    created: number;
                    currency: string | null;
                    customer?: string | undefined;
                    eps?: {
                        reference?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    flow: string;
                    giropay?: {
                        bank_code?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    ideal?: {
                        bank?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        iban_last4?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    klarna?: {
                        background_image_url?: string | undefined;
                        client_token?: (string | null) | undefined;
                        first_name?: string | undefined;
                        last_name?: string | undefined;
                        locale?: string | undefined;
                        logo_url?: string | undefined;
                        page_title?: string | undefined;
                        pay_later_asset_urls_descriptive?: string | undefined;
                        pay_later_asset_urls_standard?: string | undefined;
                        pay_later_name?: string | undefined;
                        pay_later_redirect_url?: string | undefined;
                        pay_now_asset_urls_descriptive?: string | undefined;
                        pay_now_asset_urls_standard?: string | undefined;
                        pay_now_name?: string | undefined;
                        pay_now_redirect_url?: string | undefined;
                        pay_over_time_asset_urls_descriptive?: string | undefined;
                        pay_over_time_asset_urls_standard?: string | undefined;
                        pay_over_time_name?: string | undefined;
                        pay_over_time_redirect_url?: string | undefined;
                        payment_method_categories?: string | undefined;
                        purchase_country?: string | undefined;
                        purchase_type?: string | undefined;
                        redirect_url?: string | undefined;
                        shipping_delay?: number | undefined;
                        shipping_first_name?: string | undefined;
                        shipping_last_name?: string | undefined;
                    } | undefined;
                    livemode: boolean;
                    metadata: {
                        [x: string]: string;
                    } | null;
                    multibanco?: {
                        entity?: (string | null) | undefined;
                        reference?: (string | null) | undefined;
                        refund_account_holder_address_city?: (string | null) | undefined;
                        refund_account_holder_address_country?: (string | null) | undefined;
                        refund_account_holder_address_line1?: (string | null) | undefined;
                        refund_account_holder_address_line2?: (string | null) | undefined;
                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                        refund_account_holder_address_state?: (string | null) | undefined;
                        refund_account_holder_name?: (string | null) | undefined;
                        refund_iban?: (string | null) | undefined;
                    } | undefined;
                    owner: {
                        address: {
                            city: string | null;
                            country: string | null;
                            line1: string | null;
                            line2: string | null;
                            postal_code: string | null;
                            state: string | null;
                        } | null;
                        email: string | null;
                        name: string | null;
                        phone: string | null;
                        verified_address: {
                            city: string | null;
                            country: string | null;
                            line1: string | null;
                            line2: string | null;
                            postal_code: string | null;
                            state: string | null;
                        } | null;
                        verified_email: string | null;
                        verified_name: string | null;
                        verified_phone: string | null;
                    } | null;
                    p24?: {
                        reference?: (string | null) | undefined;
                    } | undefined;
                    receiver?: {
                        address: string | null;
                        amount_charged: number;
                        amount_received: number;
                        amount_returned: number;
                        refund_attributes_method: string;
                        refund_attributes_status: string;
                    } | undefined;
                    redirect?: {
                        failure_reason: string | null;
                        return_url: string;
                        status: string;
                        url: string;
                    } | undefined;
                    sepa_credit_transfer?: {
                        bank_name?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        iban?: (string | null) | undefined;
                        refund_account_holder_address_city?: (string | null) | undefined;
                        refund_account_holder_address_country?: (string | null) | undefined;
                        refund_account_holder_address_line1?: (string | null) | undefined;
                        refund_account_holder_address_line2?: (string | null) | undefined;
                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                        refund_account_holder_address_state?: (string | null) | undefined;
                        refund_account_holder_name?: (string | null) | undefined;
                        refund_iban?: (string | null) | undefined;
                    } | undefined;
                    sepa_debit?: {
                        bank_code?: (string | null) | undefined;
                        branch_code?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        fingerprint?: (string | null) | undefined;
                        last4?: (string | null) | undefined;
                        mandate_reference?: (string | null) | undefined;
                        mandate_url?: (string | null) | undefined;
                    } | undefined;
                    sofort?: {
                        bank_code?: (string | null) | undefined;
                        bank_name?: (string | null) | undefined;
                        bic?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        iban_last4?: (string | null) | undefined;
                        preferred_language?: (string | null) | undefined;
                        statement_descriptor?: (string | null) | undefined;
                    } | undefined;
                    source_order?: {
                        amount: number;
                        currency: string;
                        email?: string | undefined;
                        items: {
                            amount: number | null;
                            currency: string | null;
                            description: string | null;
                            parent: string | null;
                            quantity?: number | undefined;
                            type: string | null;
                        }[] | null;
                        shipping?: {
                            address?: {
                                city: string | null;
                                country: string | null;
                                line1: string | null;
                                line2: string | null;
                                postal_code: string | null;
                                state: string | null;
                            } | undefined;
                            carrier?: (string | null) | undefined;
                            name?: string | undefined;
                            phone?: (string | null) | undefined;
                            tracking_number?: (string | null) | undefined;
                        } | undefined;
                    } | undefined;
                    statement_descriptor: string | null;
                    status: string;
                    three_d_secure?: {
                        address_line1_check?: (string | null) | undefined;
                        address_zip_check?: (string | null) | undefined;
                        authenticated?: (boolean | null) | undefined;
                        brand?: (string | null) | undefined;
                        card?: (string | null) | undefined;
                        country?: (string | null) | undefined;
                        customer?: (string | null) | undefined;
                        cvc_check?: (string | null) | undefined;
                        description?: string | undefined;
                        dynamic_last4?: (string | null) | undefined;
                        exp_month?: (number | null) | undefined;
                        exp_year?: (number | null) | undefined;
                        fingerprint?: string | undefined;
                        funding?: (string | null) | undefined;
                        iin?: string | undefined;
                        issuer?: string | undefined;
                        last4?: (string | null) | undefined;
                        name?: (string | null) | undefined;
                        three_d_secure?: string | undefined;
                        tokenization_method?: (string | null) | undefined;
                    } | undefined;
                    type: string;
                    usage: string | null;
                    wechat?: {
                        prepay_id?: string | undefined;
                        qr_code_url?: (string | null) | undefined;
                        statement_descriptor?: string | undefined;
                    } | undefined;
                } | null;
                default_tax_rates?: {
                    id: string;
                    object: string;
                    active: boolean;
                    country: string | null;
                    created: number;
                    description: string | null;
                    display_name: string;
                    effective_percentage: number | null;
                    flat_amount: any | null;
                    inclusive: boolean;
                    jurisdiction: string | null;
                    jurisdiction_level: string | null;
                    livemode: boolean;
                    metadata: {
                        [x: string]: string;
                    } | null;
                    percentage: number;
                    rate_type: string | null;
                    state: string | null;
                    tax_type: string | null;
                }[] | null | undefined;
                description: string | null;
                discount: {
                    id: string;
                    object: string;
                    checkout_session: string | null;
                    coupon: {
                        id: string;
                        object: string;
                        amount_off: number | null;
                        applies_to?: {
                            products: Array<string>;
                        } | undefined;
                        created: number;
                        currency: string | null;
                        currency_options?: {
                            [x: string]: {
                                amount_off: number;
                            };
                        } | undefined;
                        deleted?: void | undefined;
                        duration: string;
                        duration_in_months: number | null;
                        livemode: boolean;
                        max_redemptions: number | null;
                        metadata: {
                            [x: string]: string;
                        } | null;
                        name: string | null;
                        percent_off: number | null;
                        redeem_by: number | null;
                        times_redeemed: number;
                        valid: boolean;
                    };
                    customer: string | any | {
                        id: string;
                        object: string;
                        deleted: boolean;
                    } | null;
                    deleted?: void | undefined;
                    end: number | null;
                    invoice: string | null;
                    invoice_item: string | null;
                    promotion_code: string | {
                        id: string;
                        object: string;
                        active: boolean;
                        code: string;
                        coupon: {
                            id: string;
                            object: string;
                            amount_off: number | null;
                            applies_to?: {
                                products: Array<string>;
                            } | undefined;
                            created: number;
                            currency: string | null;
                            currency_options?: {
                                [x: string]: {
                                    amount_off: number;
                                };
                            } | undefined;
                            deleted?: void | undefined;
                            duration: string;
                            duration_in_months: number | null;
                            livemode: boolean;
                            max_redemptions: number | null;
                            metadata: {
                                [x: string]: string;
                            } | null;
                            name: string | null;
                            percent_off: number | null;
                            redeem_by: number | null;
                            times_redeemed: number;
                            valid: boolean;
                        };
                        created: number;
                        customer: string | any | {
                            id: string;
                            object: string;
                            deleted: boolean;
                        } | null;
                        expires_at: number | null;
                        livemode: boolean;
                        max_redemptions: number | null;
                        metadata: {
                            [x: string]: string;
                        } | null;
                        restrictions: {
                            currency_options?: {
                                [x: string]: {
                                    minimum_amount: number;
                                };
                            } | undefined;
                            first_time_transaction: boolean;
                            minimum_amount: number | null;
                            minimum_amount_currency: string | null;
                        };
                        times_redeemed: number;
                    } | null;
                    start: number;
                    subscription: string | null;
                    subscription_item: string | null;
                } | null;
                discounts: (string | {
                    id: string;
                    object: string;
                    checkout_session: string | null;
                    coupon: {
                        id: string;
                        object: string;
                        amount_off: number | null;
                        applies_to?: {
                            products: Array<string>;
                        } | undefined;
                        created: number;
                        currency: string | null;
                        currency_options?: {
                            [x: string]: {
                                amount_off: number;
                            };
                        } | undefined;
                        deleted?: void | undefined;
                        duration: string;
                        duration_in_months: number | null;
                        livemode: boolean;
                        max_redemptions: number | null;
                        metadata: {
                            [x: string]: string;
                        } | null;
                        name: string | null;
                        percent_off: number | null;
                        redeem_by: number | null;
                        times_redeemed: number;
                        valid: boolean;
                    };
                    customer: string | any | {
                        id: string;
                        object: string;
                        deleted: boolean;
                    } | null;
                    deleted?: void | undefined;
                    end: number | null;
                    invoice: string | null;
                    invoice_item: string | null;
                    promotion_code: string | {
                        id: string;
                        object: string;
                        active: boolean;
                        code: string;
                        coupon: {
                            id: string;
                            object: string;
                            amount_off: number | null;
                            applies_to?: {
                                products: Array<string>;
                            } | undefined;
                            created: number;
                            currency: string | null;
                            currency_options?: {
                                [x: string]: {
                                    amount_off: number;
                                };
                            } | undefined;
                            deleted?: void | undefined;
                            duration: string;
                            duration_in_months: number | null;
                            livemode: boolean;
                            max_redemptions: number | null;
                            metadata: {
                                [x: string]: string;
                            } | null;
                            name: string | null;
                            percent_off: number | null;
                            redeem_by: number | null;
                            times_redeemed: number;
                            valid: boolean;
                        };
                        created: number;
                        customer: string | any | {
                            id: string;
                            object: string;
                            deleted: boolean;
                        } | null;
                        expires_at: number | null;
                        livemode: boolean;
                        max_redemptions: number | null;
                        metadata: {
                            [x: string]: string;
                        } | null;
                        restrictions: {
                            currency_options?: {
                                [x: string]: {
                                    minimum_amount: number;
                                };
                            } | undefined;
                            first_time_transaction: boolean;
                            minimum_amount: number | null;
                            minimum_amount_currency: string | null;
                        };
                        times_redeemed: number;
                    } | null;
                    start: number;
                    subscription: string | null;
                    subscription_item: string | null;
                })[];
                ended_at: number | null;
                invoice_settings: any;
                items: any[];
                latest_invoice: string | any | null;
                livemode: boolean;
                metadata: {
                    [x: string]: string;
                };
                next_pending_invoice_item_invoice: number | null;
                on_behalf_of: string | any | null;
                pause_collection: any | null;
                payment_settings: any | null;
                pending_invoice_item_interval: any | null;
                pending_setup_intent: string | {
                    id: string;
                    object: string;
                    application: string | {
                        id: string;
                        object: string;
                        deleted?: void | undefined;
                        name: string | null;
                    } | null;
                    attach_to_self?: boolean | undefined;
                    automatic_payment_methods: any | null;
                    cancellation_reason: string | null;
                    client_secret: string | null;
                    created: number;
                    customer: string | any | {
                        id: string;
                        object: string;
                        deleted: boolean;
                    } | null;
                    description: string | null;
                    flow_directions: string[] | null;
                    last_setup_error: any | null;
                    latest_attempt: string | any | null;
                    livemode: boolean;
                    mandate: string | any | null;
                    metadata: {
                        [x: string]: string;
                    } | null;
                    next_action: any | null;
                    on_behalf_of: string | any | null;
                    payment_method: string | any | null;
                    payment_method_configuration_details: any | null;
                    payment_method_options: any | null;
                    payment_method_types: Array<string>;
                    single_use_mandate: string | any | null;
                    status: string;
                    usage: string;
                } | null;
                pending_update: any | null;
                schedule: string | any | null;
                start_date: number;
                status: string;
                test_clock: string | any | null;
                transfer_data: any | null;
                trial_end: number | null;
                trial_settings: any | null;
                trial_start: number | null;
            }[] | undefined;
            tax?: {
                automatic_tax: string;
                ip_address: string | null;
                location: {
                    country: string;
                    source: string;
                    state: string | null;
                } | null;
            } | undefined;
            tax_exempt?: string | null | undefined;
            tax_ids?: {
                id: string;
                object: string;
                country: string | null;
                created: number;
                customer: string | any | null;
                deleted?: void | undefined;
                livemode: boolean;
                owner: any | null;
                type: string;
                value: string;
                verification: any | null;
            }[] | undefined;
            test_clock?: string | {
                id: string;
                object: string;
                created: number;
                deleted?: void | undefined;
                deletes_after: number;
                frozen_time: number;
                livemode: boolean;
                name: string | null;
                status: string;
                status_details: any;
            } | null | undefined;
        } | {
            id: string;
            object: string;
            deleted: boolean;
        } | null | undefined;
        default_for_currency?: (boolean | null) | undefined;
        deleted?: void | undefined;
        fingerprint: string | null;
        future_requirements?: {
            currently_due: Array<string> | null;
            errors: {
                code: string;
                reason: string;
                requirement: string;
            }[] | null;
            past_due: Array<string> | null;
            pending_verification: Array<string> | null;
        } | null | undefined;
        last4: string;
        metadata?: {
            [x: string]: string;
        } | null | undefined;
        requirements?: {
            currently_due: Array<string> | null;
            errors: {
                code: string;
                reason: string;
                requirement: string;
            }[] | null;
            past_due: Array<string> | null;
            pending_verification: Array<string> | null;
        } | null | undefined;
        routing_number: string | null;
        status: string;
    } | {
        id: string;
        object: string;
        account?: string | any | null | undefined;
        address_city: string | null;
        address_country: string | null;
        address_line1: string | null;
        address_line1_check: string | null;
        address_line2: string | null;
        address_state: string | null;
        address_zip: string | null;
        address_zip_check: string | null;
        available_payout_methods?: string[] | null | undefined;
        brand: string;
        country: string | null;
        currency?: (string | null) | undefined;
        customer?: string | any | {
            id: string;
            object: string;
            deleted: boolean;
        } | null | undefined;
        cvc_check: string | null;
        default_for_currency?: (boolean | null) | undefined;
        deleted?: void | undefined;
        description?: string | undefined;
        dynamic_last4: string | null;
        exp_month: number;
        exp_year: number;
        fingerprint?: (string | null) | undefined;
        funding: string;
        iin?: string | undefined;
        issuer?: string | undefined;
        last4: string;
        metadata: {
            [x: string]: string;
        } | null;
        name: string | null;
        networks?: {
            preferred: string | null;
        } | undefined;
        status?: (string | null) | undefined;
        tokenization_method: string | null;
    } | {
        id: string;
        object: string;
        ach_credit_transfer?: {
            account_number?: (string | null) | undefined;
            bank_name?: (string | null) | undefined;
            fingerprint?: (string | null) | undefined;
            refund_account_holder_name?: (string | null) | undefined;
            refund_account_holder_type?: (string | null) | undefined;
            refund_routing_number?: (string | null) | undefined;
            routing_number?: (string | null) | undefined;
            swift_code?: (string | null) | undefined;
        } | undefined;
        ach_debit?: {
            bank_name?: (string | null) | undefined;
            country?: (string | null) | undefined;
            fingerprint?: (string | null) | undefined;
            last4?: (string | null) | undefined;
            routing_number?: (string | null) | undefined;
            type?: (string | null) | undefined;
        } | undefined;
        acss_debit?: {
            bank_address_city?: (string | null) | undefined;
            bank_address_line_1?: (string | null) | undefined;
            bank_address_line_2?: (string | null) | undefined;
            bank_address_postal_code?: (string | null) | undefined;
            bank_name?: (string | null) | undefined;
            category?: (string | null) | undefined;
            country?: (string | null) | undefined;
            fingerprint?: (string | null) | undefined;
            last4?: (string | null) | undefined;
            routing_number?: (string | null) | undefined;
        } | undefined;
        alipay?: {
            data_string?: (string | null) | undefined;
            native_url?: (string | null) | undefined;
            statement_descriptor?: (string | null) | undefined;
        } | undefined;
        amount: number | null;
        au_becs_debit?: {
            bsb_number?: (string | null) | undefined;
            fingerprint?: (string | null) | undefined;
            last4?: (string | null) | undefined;
        } | undefined;
        bancontact?: {
            bank_code?: (string | null) | undefined;
            bank_name?: (string | null) | undefined;
            bic?: (string | null) | undefined;
            iban_last4?: (string | null) | undefined;
            preferred_language?: (string | null) | undefined;
            statement_descriptor?: (string | null) | undefined;
        } | undefined;
        card?: {
            address_line1_check?: (string | null) | undefined;
            address_zip_check?: (string | null) | undefined;
            brand?: (string | null) | undefined;
            country?: (string | null) | undefined;
            cvc_check?: (string | null) | undefined;
            description?: string | undefined;
            dynamic_last4?: (string | null) | undefined;
            exp_month?: (number | null) | undefined;
            exp_year?: (number | null) | undefined;
            fingerprint?: string | undefined;
            funding?: (string | null) | undefined;
            iin?: string | undefined;
            issuer?: string | undefined;
            last4?: (string | null) | undefined;
            name?: (string | null) | undefined;
            three_d_secure?: string | undefined;
            tokenization_method?: (string | null) | undefined;
        } | undefined;
        card_present?: {
            application_cryptogram?: string | undefined;
            application_preferred_name?: string | undefined;
            authorization_code?: (string | null) | undefined;
            authorization_response_code?: string | undefined;
            brand?: (string | null) | undefined;
            country?: (string | null) | undefined;
            cvm_type?: string | undefined;
            data_type?: (string | null) | undefined;
            dedicated_file_name?: string | undefined;
            description?: string | undefined;
            emv_auth_data?: string | undefined;
            evidence_customer_signature?: (string | null) | undefined;
            evidence_transaction_certificate?: (string | null) | undefined;
            exp_month?: (number | null) | undefined;
            exp_year?: (number | null) | undefined;
            fingerprint?: string | undefined;
            funding?: (string | null) | undefined;
            iin?: string | undefined;
            issuer?: string | undefined;
            last4?: (string | null) | undefined;
            pos_device_id?: (string | null) | undefined;
            pos_entry_mode?: string | undefined;
            read_method?: (string | null) | undefined;
            reader?: (string | null) | undefined;
            terminal_verification_results?: string | undefined;
            transaction_status_information?: string | undefined;
        } | undefined;
        client_secret: string;
        code_verification?: {
            attempts_remaining: number;
            status: string;
        } | undefined;
        created: number;
        currency: string | null;
        customer?: string | undefined;
        eps?: {
            reference?: (string | null) | undefined;
            statement_descriptor?: (string | null) | undefined;
        } | undefined;
        flow: string;
        giropay?: {
            bank_code?: (string | null) | undefined;
            bank_name?: (string | null) | undefined;
            bic?: (string | null) | undefined;
            statement_descriptor?: (string | null) | undefined;
        } | undefined;
        ideal?: {
            bank?: (string | null) | undefined;
            bic?: (string | null) | undefined;
            iban_last4?: (string | null) | undefined;
            statement_descriptor?: (string | null) | undefined;
        } | undefined;
        klarna?: {
            background_image_url?: string | undefined;
            client_token?: (string | null) | undefined;
            first_name?: string | undefined;
            last_name?: string | undefined;
            locale?: string | undefined;
            logo_url?: string | undefined;
            page_title?: string | undefined;
            pay_later_asset_urls_descriptive?: string | undefined;
            pay_later_asset_urls_standard?: string | undefined;
            pay_later_name?: string | undefined;
            pay_later_redirect_url?: string | undefined;
            pay_now_asset_urls_descriptive?: string | undefined;
            pay_now_asset_urls_standard?: string | undefined;
            pay_now_name?: string | undefined;
            pay_now_redirect_url?: string | undefined;
            pay_over_time_asset_urls_descriptive?: string | undefined;
            pay_over_time_asset_urls_standard?: string | undefined;
            pay_over_time_name?: string | undefined;
            pay_over_time_redirect_url?: string | undefined;
            payment_method_categories?: string | undefined;
            purchase_country?: string | undefined;
            purchase_type?: string | undefined;
            redirect_url?: string | undefined;
            shipping_delay?: number | undefined;
            shipping_first_name?: string | undefined;
            shipping_last_name?: string | undefined;
        } | undefined;
        livemode: boolean;
        metadata: {
            [x: string]: string;
        } | null;
        multibanco?: {
            entity?: (string | null) | undefined;
            reference?: (string | null) | undefined;
            refund_account_holder_address_city?: (string | null) | undefined;
            refund_account_holder_address_country?: (string | null) | undefined;
            refund_account_holder_address_line1?: (string | null) | undefined;
            refund_account_holder_address_line2?: (string | null) | undefined;
            refund_account_holder_address_postal_code?: (string | null) | undefined;
            refund_account_holder_address_state?: (string | null) | undefined;
            refund_account_holder_name?: (string | null) | undefined;
            refund_iban?: (string | null) | undefined;
        } | undefined;
        owner: {
            address: {
                city: string | null;
                country: string | null;
                line1: string | null;
                line2: string | null;
                postal_code: string | null;
                state: string | null;
            } | null;
            email: string | null;
            name: string | null;
            phone: string | null;
            verified_address: {
                city: string | null;
                country: string | null;
                line1: string | null;
                line2: string | null;
                postal_code: string | null;
                state: string | null;
            } | null;
            verified_email: string | null;
            verified_name: string | null;
            verified_phone: string | null;
        } | null;
        p24?: {
            reference?: (string | null) | undefined;
        } | undefined;
        receiver?: {
            address: string | null;
            amount_charged: number;
            amount_received: number;
            amount_returned: number;
            refund_attributes_method: string;
            refund_attributes_status: string;
        } | undefined;
        redirect?: {
            failure_reason: string | null;
            return_url: string;
            status: string;
            url: string;
        } | undefined;
        sepa_credit_transfer?: {
            bank_name?: (string | null) | undefined;
            bic?: (string | null) | undefined;
            iban?: (string | null) | undefined;
            refund_account_holder_address_city?: (string | null) | undefined;
            refund_account_holder_address_country?: (string | null) | undefined;
            refund_account_holder_address_line1?: (string | null) | undefined;
            refund_account_holder_address_line2?: (string | null) | undefined;
            refund_account_holder_address_postal_code?: (string | null) | undefined;
            refund_account_holder_address_state?: (string | null) | undefined;
            refund_account_holder_name?: (string | null) | undefined;
            refund_iban?: (string | null) | undefined;
        } | undefined;
        sepa_debit?: {
            bank_code?: (string | null) | undefined;
            branch_code?: (string | null) | undefined;
            country?: (string | null) | undefined;
            fingerprint?: (string | null) | undefined;
            last4?: (string | null) | undefined;
            mandate_reference?: (string | null) | undefined;
            mandate_url?: (string | null) | undefined;
        } | undefined;
        sofort?: {
            bank_code?: (string | null) | undefined;
            bank_name?: (string | null) | undefined;
            bic?: (string | null) | undefined;
            country?: (string | null) | undefined;
            iban_last4?: (string | null) | undefined;
            preferred_language?: (string | null) | undefined;
            statement_descriptor?: (string | null) | undefined;
        } | undefined;
        source_order?: {
            amount: number;
            currency: string;
            email?: string | undefined;
            items: {
                amount: number | null;
                currency: string | null;
                description: string | null;
                parent: string | null;
                quantity?: number | undefined;
                type: string | null;
            }[] | null;
            shipping?: {
                address?: {
                    city: string | null;
                    country: string | null;
                    line1: string | null;
                    line2: string | null;
                    postal_code: string | null;
                    state: string | null;
                } | undefined;
                carrier?: (string | null) | undefined;
                name?: string | undefined;
                phone?: (string | null) | undefined;
                tracking_number?: (string | null) | undefined;
            } | undefined;
        } | undefined;
        statement_descriptor: string | null;
        status: string;
        three_d_secure?: {
            address_line1_check?: (string | null) | undefined;
            address_zip_check?: (string | null) | undefined;
            authenticated?: (boolean | null) | undefined;
            brand?: (string | null) | undefined;
            card?: (string | null) | undefined;
            country?: (string | null) | undefined;
            customer?: (string | null) | undefined;
            cvc_check?: (string | null) | undefined;
            description?: string | undefined;
            dynamic_last4?: (string | null) | undefined;
            exp_month?: (number | null) | undefined;
            exp_year?: (number | null) | undefined;
            fingerprint?: string | undefined;
            funding?: (string | null) | undefined;
            iin?: string | undefined;
            issuer?: string | undefined;
            last4?: (string | null) | undefined;
            name?: (string | null) | undefined;
            three_d_secure?: string | undefined;
            tokenization_method?: (string | null) | undefined;
        } | undefined;
        type: string;
        usage: string | null;
        wechat?: {
            prepay_id?: string | undefined;
            qr_code_url?: (string | null) | undefined;
            statement_descriptor?: string | undefined;
        } | undefined;
    } | null;
    deleted?: void | undefined;
    delinquent?: (boolean | null) | undefined;
    description: string | null;
    discount?: {
        id: string;
        object: string;
        checkout_session: string | null;
        coupon: {
            id: string;
            object: string;
            amount_off: number | null;
            applies_to?: {
                products: Array<string>;
            } | undefined;
            created: number;
            currency: string | null;
            currency_options?: {
                [x: string]: {
                    amount_off: number;
                };
            } | undefined;
            deleted?: void | undefined;
            duration: string;
            duration_in_months: number | null;
            livemode: boolean;
            max_redemptions: number | null;
            metadata: {
                [x: string]: string;
            } | null;
            name: string | null;
            percent_off: number | null;
            redeem_by: number | null;
            times_redeemed: number;
            valid: boolean;
        };
        customer: string | any | {
            id: string;
            object: string;
            deleted: boolean;
        } | null;
        deleted?: void | undefined;
        end: number | null;
        invoice: string | null;
        invoice_item: string | null;
        promotion_code: string | {
            id: string;
            object: string;
            active: boolean;
            code: string;
            coupon: {
                id: string;
                object: string;
                amount_off: number | null;
                applies_to?: {
                    products: Array<string>;
                } | undefined;
                created: number;
                currency: string | null;
                currency_options?: {
                    [x: string]: {
                        amount_off: number;
                    };
                } | undefined;
                deleted?: void | undefined;
                duration: string;
                duration_in_months: number | null;
                livemode: boolean;
                max_redemptions: number | null;
                metadata: {
                    [x: string]: string;
                } | null;
                name: string | null;
                percent_off: number | null;
                redeem_by: number | null;
                times_redeemed: number;
                valid: boolean;
            };
            created: number;
            customer: string | any | {
                id: string;
                object: string;
                deleted: boolean;
            } | null;
            expires_at: number | null;
            livemode: boolean;
            max_redemptions: number | null;
            metadata: {
                [x: string]: string;
            } | null;
            restrictions: {
                currency_options?: {
                    [x: string]: {
                        minimum_amount: number;
                    };
                } | undefined;
                first_time_transaction: boolean;
                minimum_amount: number | null;
                minimum_amount_currency: string | null;
            };
            times_redeemed: number;
        } | null;
        start: number;
        subscription: string | null;
        subscription_item: string | null;
    } | null | undefined;
    email: string | null;
    invoice_credit_balance?: {
        [x: string]: number;
    } | undefined;
    invoice_prefix?: (string | null) | undefined;
    invoice_settings: {
        custom_fields: {
            name: string;
            value: string;
        }[] | null;
        default_payment_method: string | {
            id: string;
            object: string;
            acss_debit?: {
                bank_name: string | null;
                fingerprint: string | null;
                institution_number: string | null;
                last4: string | null;
                transit_number: string | null;
            } | undefined;
            affirm?: {} | undefined;
            afterpay_clearpay?: {} | undefined;
            alipay?: {} | undefined;
            allow_redisplay?: string | undefined;
            alma?: {} | undefined;
            amazon_pay?: {} | undefined;
            au_becs_debit?: {
                bsb_number: string | null;
                fingerprint: string | null;
                last4: string | null;
            } | undefined;
            bacs_debit?: {
                fingerprint: string | null;
                last4: string | null;
                sort_code: string | null;
            } | undefined;
            bancontact?: {} | undefined;
            billing_details: {
                address: {
                    city: string | null;
                    country: string | null;
                    line1: string | null;
                    line2: string | null;
                    postal_code: string | null;
                    state: string | null;
                } | null;
                email: string | null;
                name: string | null;
                phone: string | null;
            };
            blik?: {} | undefined;
            boleto?: {
                tax_id: string;
            } | undefined;
            card?: {
                brand: string;
                checks: {
                    address_line1_check: string | null;
                    address_postal_code_check: string | null;
                    cvc_check: string | null;
                } | null;
                country: string | null;
                description?: (string | null) | undefined;
                display_brand: string | null;
                exp_month: number;
                exp_year: number;
                fingerprint?: (string | null) | undefined;
                funding: string;
                generated_from: {
                    charge: string | null;
                    payment_method_details: {
                        card_present?: {
                            amount_authorized: number | null;
                            brand: string | null;
                            brand_product: string | null;
                            capture_before?: number | undefined;
                            cardholder_name: string | null;
                            country: string | null;
                            description?: (string | null) | undefined;
                            emv_auth_data: string | null;
                            exp_month: number;
                            exp_year: number;
                            fingerprint: string | null;
                            funding: string | null;
                            generated_card: string | null;
                            iin?: (string | null) | undefined;
                            incremental_authorization_supported: boolean;
                            issuer?: (string | null) | undefined;
                            last4: string | null;
                            network: string | null;
                            network_transaction_id: string | null;
                            offline: {
                                stored_at: number | null;
                                type: string | null;
                            } | null;
                            overcapture_supported: boolean;
                            preferred_locales: Array<string> | null;
                            read_method: string | null;
                            receipt: {
                                account_type?: string | undefined;
                                application_cryptogram: string | null;
                                application_preferred_name: string | null;
                                authorization_code: string | null;
                                authorization_response_code: string | null;
                                cardholder_verification_method: string | null;
                                dedicated_file_name: string | null;
                                terminal_verification_results: string | null;
                                transaction_status_information: string | null;
                            } | null;
                            wallet?: {
                                type: string;
                            } | undefined;
                        } | undefined;
                        type: string;
                    } | null;
                    setup_attempt: string | {
                        id: string;
                        object: string;
                        application: string | {
                            id: string;
                            object: string;
                            deleted?: void | undefined;
                            name: string | null;
                        } | null;
                        attach_to_self?: boolean | undefined;
                        created: number;
                        customer: string | any | {
                            id: string;
                            object: string;
                            deleted: boolean;
                        } | null;
                        flow_directions: string[] | null;
                        livemode: boolean;
                        on_behalf_of: string | any | null;
                        payment_method: string | any;
                        payment_method_details: {
                            acss_debit?: {} | undefined;
                            amazon_pay?: {} | undefined;
                            au_becs_debit?: {} | undefined;
                            bacs_debit?: {} | undefined;
                            bancontact?: {
                                bank_code: string | null;
                                bank_name: string | null;
                                bic: string | null;
                                generated_sepa_debit: string | any | null;
                                generated_sepa_debit_mandate: string | any | null;
                                iban_last4: string | null;
                                preferred_language: string | null;
                                verified_name: string | null;
                            } | undefined;
                            boleto?: {} | undefined;
                            card?: {
                                brand: string | null;
                                checks: any | null;
                                country: string | null;
                                description?: (string | null) | undefined;
                                exp_month: number | null;
                                exp_year: number | null;
                                fingerprint?: (string | null) | undefined;
                                funding: string | null;
                                iin?: (string | null) | undefined;
                                issuer?: (string | null) | undefined;
                                last4: string | null;
                                network: string | null;
                                three_d_secure: any | null;
                                wallet: any | null;
                            } | undefined;
                            card_present?: {
                                generated_card: string | any | null;
                                offline: any | null;
                            } | undefined;
                            cashapp?: {} | undefined;
                            ideal?: {
                                bank: string | null;
                                bic: string | null;
                                generated_sepa_debit: string | any | null;
                                generated_sepa_debit_mandate: string | any | null;
                                iban_last4: string | null;
                                verified_name: string | null;
                            } | undefined;
                            kakao_pay?: {} | undefined;
                            klarna?: {} | undefined;
                            kr_card?: {} | undefined;
                            link?: {} | undefined;
                            paypal?: {} | undefined;
                            revolut_pay?: {} | undefined;
                            sepa_debit?: {} | undefined;
                            sofort?: {
                                bank_code: string | null;
                                bank_name: string | null;
                                bic: string | null;
                                generated_sepa_debit: string | any | null;
                                generated_sepa_debit_mandate: string | any | null;
                                iban_last4: string | null;
                                preferred_language: string | null;
                                verified_name: string | null;
                            } | undefined;
                            type: string;
                            us_bank_account?: {} | undefined;
                        };
                        setup_error: {
                            charge?: string | undefined;
                            code?: string | undefined;
                            decline_code?: string | undefined;
                            doc_url?: string | undefined;
                            message?: string | undefined;
                            param?: string | undefined;
                            payment_intent?: {
                                id: string;
                                object: string;
                                amount: number;
                                amount_capturable: number;
                                amount_details?: any | undefined;
                                amount_received: number;
                                application: string | {
                                    id: string;
                                    object: string;
                                    deleted?: void | undefined;
                                    name: string | null;
                                } | null;
                                application_fee_amount: number | null;
                                automatic_payment_methods: any | null;
                                canceled_at: number | null;
                                cancellation_reason: string | null;
                                capture_method: string;
                                client_secret: string | null;
                                confirmation_method: string;
                                created: number;
                                currency: string;
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null;
                                description: string | null;
                                invoice: string | any | null;
                                last_payment_error: any | null;
                                latest_charge: string | any | null;
                                livemode: boolean;
                                metadata: {
                                    [x: string]: string;
                                };
                                next_action: any | null;
                                on_behalf_of: string | any | null;
                                payment_method: string | any | null;
                                payment_method_configuration_details: any | null;
                                payment_method_options: any | null;
                                payment_method_types: Array<string>;
                                processing: any | null;
                                receipt_email: string | null;
                                review: string | any | null;
                                setup_future_usage: string | null;
                                shipping: any | null;
                                source: string | any | any | {
                                    id: string;
                                    object: string;
                                    account?: string | any | null | undefined;
                                    address_city: string | null;
                                    address_country: string | null;
                                    address_line1: string | null;
                                    address_line1_check: string | null;
                                    address_line2: string | null;
                                    address_state: string | null;
                                    address_zip: string | null;
                                    address_zip_check: string | null;
                                    available_payout_methods?: string[] | null | undefined;
                                    brand: string;
                                    country: string | null;
                                    currency?: (string | null) | undefined;
                                    customer?: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null | undefined;
                                    cvc_check: string | null;
                                    default_for_currency?: (boolean | null) | undefined;
                                    deleted?: void | undefined;
                                    description?: string | undefined;
                                    dynamic_last4: string | null;
                                    exp_month: number;
                                    exp_year: number;
                                    fingerprint?: (string | null) | undefined;
                                    funding: string;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4: string;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    name: string | null;
                                    networks?: {
                                        preferred: string | null;
                                    } | undefined;
                                    status?: (string | null) | undefined;
                                    tokenization_method: string | null;
                                } | {
                                    id: string;
                                    object: string;
                                    ach_credit_transfer?: {
                                        account_number?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_account_holder_type?: (string | null) | undefined;
                                        refund_routing_number?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        swift_code?: (string | null) | undefined;
                                    } | undefined;
                                    ach_debit?: {
                                        bank_name?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        type?: (string | null) | undefined;
                                    } | undefined;
                                    acss_debit?: {
                                        bank_address_city?: (string | null) | undefined;
                                        bank_address_line_1?: (string | null) | undefined;
                                        bank_address_line_2?: (string | null) | undefined;
                                        bank_address_postal_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        category?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                    } | undefined;
                                    alipay?: {
                                        data_string?: (string | null) | undefined;
                                        native_url?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    amount: number | null;
                                    au_becs_debit?: {
                                        bsb_number?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                    } | undefined;
                                    bancontact?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    card?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    card_present?: {
                                        application_cryptogram?: string | undefined;
                                        application_preferred_name?: string | undefined;
                                        authorization_code?: (string | null) | undefined;
                                        authorization_response_code?: string | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvm_type?: string | undefined;
                                        data_type?: (string | null) | undefined;
                                        dedicated_file_name?: string | undefined;
                                        description?: string | undefined;
                                        emv_auth_data?: string | undefined;
                                        evidence_customer_signature?: (string | null) | undefined;
                                        evidence_transaction_certificate?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        pos_device_id?: (string | null) | undefined;
                                        pos_entry_mode?: string | undefined;
                                        read_method?: (string | null) | undefined;
                                        reader?: (string | null) | undefined;
                                        terminal_verification_results?: string | undefined;
                                        transaction_status_information?: string | undefined;
                                    } | undefined;
                                    client_secret: string;
                                    code_verification?: {
                                        attempts_remaining: number;
                                        status: string;
                                    } | undefined;
                                    created: number;
                                    currency: string | null;
                                    customer?: string | undefined;
                                    eps?: {
                                        reference?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    flow: string;
                                    giropay?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    ideal?: {
                                        bank?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    klarna?: {
                                        background_image_url?: string | undefined;
                                        client_token?: (string | null) | undefined;
                                        first_name?: string | undefined;
                                        last_name?: string | undefined;
                                        locale?: string | undefined;
                                        logo_url?: string | undefined;
                                        page_title?: string | undefined;
                                        pay_later_asset_urls_descriptive?: string | undefined;
                                        pay_later_asset_urls_standard?: string | undefined;
                                        pay_later_name?: string | undefined;
                                        pay_later_redirect_url?: string | undefined;
                                        pay_now_asset_urls_descriptive?: string | undefined;
                                        pay_now_asset_urls_standard?: string | undefined;
                                        pay_now_name?: string | undefined;
                                        pay_now_redirect_url?: string | undefined;
                                        pay_over_time_asset_urls_descriptive?: string | undefined;
                                        pay_over_time_asset_urls_standard?: string | undefined;
                                        pay_over_time_name?: string | undefined;
                                        pay_over_time_redirect_url?: string | undefined;
                                        payment_method_categories?: string | undefined;
                                        purchase_country?: string | undefined;
                                        purchase_type?: string | undefined;
                                        redirect_url?: string | undefined;
                                        shipping_delay?: number | undefined;
                                        shipping_first_name?: string | undefined;
                                        shipping_last_name?: string | undefined;
                                    } | undefined;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    multibanco?: {
                                        entity?: (string | null) | undefined;
                                        reference?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    owner: {
                                        address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        email: string | null;
                                        name: string | null;
                                        phone: string | null;
                                        verified_address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        verified_email: string | null;
                                        verified_name: string | null;
                                        verified_phone: string | null;
                                    } | null;
                                    p24?: {
                                        reference?: (string | null) | undefined;
                                    } | undefined;
                                    receiver?: {
                                        address: string | null;
                                        amount_charged: number;
                                        amount_received: number;
                                        amount_returned: number;
                                        refund_attributes_method: string;
                                        refund_attributes_status: string;
                                    } | undefined;
                                    redirect?: {
                                        failure_reason: string | null;
                                        return_url: string;
                                        status: string;
                                        url: string;
                                    } | undefined;
                                    sepa_credit_transfer?: {
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    sepa_debit?: {
                                        bank_code?: (string | null) | undefined;
                                        branch_code?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        mandate_reference?: (string | null) | undefined;
                                        mandate_url?: (string | null) | undefined;
                                    } | undefined;
                                    sofort?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    source_order?: {
                                        amount: number;
                                        currency: string;
                                        email?: string | undefined;
                                        items: {
                                            amount: number | null;
                                            currency: string | null;
                                            description: string | null;
                                            parent: string | null;
                                            quantity?: number | undefined;
                                            type: string | null;
                                        }[] | null;
                                        shipping?: {
                                            address?: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | undefined;
                                            carrier?: (string | null) | undefined;
                                            name?: string | undefined;
                                            phone?: (string | null) | undefined;
                                            tracking_number?: (string | null) | undefined;
                                        } | undefined;
                                    } | undefined;
                                    statement_descriptor: string | null;
                                    status: string;
                                    three_d_secure?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        authenticated?: (boolean | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        card?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        customer?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    type: string;
                                    usage: string | null;
                                    wechat?: {
                                        prepay_id?: string | undefined;
                                        qr_code_url?: (string | null) | undefined;
                                        statement_descriptor?: string | undefined;
                                    } | undefined;
                                } | any | any | null;
                                statement_descriptor: string | null;
                                statement_descriptor_suffix: string | null;
                                status: string;
                                transfer_data: any | null;
                                transfer_group: string | null;
                            } | undefined;
                            payment_method?: any | undefined;
                            payment_method_type?: string | undefined;
                            request_log_url?: string | undefined;
                            setup_intent?: {
                                id: string;
                                object: string;
                                application: string | {
                                    id: string;
                                    object: string;
                                    deleted?: void | undefined;
                                    name: string | null;
                                } | null;
                                attach_to_self?: boolean | undefined;
                                automatic_payment_methods: any | null;
                                cancellation_reason: string | null;
                                client_secret: string | null;
                                created: number;
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null;
                                description: string | null;
                                flow_directions: string[] | null;
                                last_setup_error: any | null;
                                latest_attempt: string | any | null;
                                livemode: boolean;
                                mandate: string | any | null;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                next_action: any | null;
                                on_behalf_of: string | any | null;
                                payment_method: string | any | null;
                                payment_method_configuration_details: any | null;
                                payment_method_options: any | null;
                                payment_method_types: Array<string>;
                                single_use_mandate: string | any | null;
                                status: string;
                                usage: string;
                            } | undefined;
                            source?: any | any | {
                                id: string;
                                object: string;
                                account?: string | any | null | undefined;
                                address_city: string | null;
                                address_country: string | null;
                                address_line1: string | null;
                                address_line1_check: string | null;
                                address_line2: string | null;
                                address_state: string | null;
                                address_zip: string | null;
                                address_zip_check: string | null;
                                available_payout_methods?: string[] | null | undefined;
                                brand: string;
                                country: string | null;
                                currency?: (string | null) | undefined;
                                customer?: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null | undefined;
                                cvc_check: string | null;
                                default_for_currency?: (boolean | null) | undefined;
                                deleted?: void | undefined;
                                description?: string | undefined;
                                dynamic_last4: string | null;
                                exp_month: number;
                                exp_year: number;
                                fingerprint?: (string | null) | undefined;
                                funding: string;
                                iin?: string | undefined;
                                issuer?: string | undefined;
                                last4: string;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                name: string | null;
                                networks?: {
                                    preferred: string | null;
                                } | undefined;
                                status?: (string | null) | undefined;
                                tokenization_method: string | null;
                            } | {
                                id: string;
                                object: string;
                                ach_credit_transfer?: {
                                    account_number?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    refund_account_holder_name?: (string | null) | undefined;
                                    refund_account_holder_type?: (string | null) | undefined;
                                    refund_routing_number?: (string | null) | undefined;
                                    routing_number?: (string | null) | undefined;
                                    swift_code?: (string | null) | undefined;
                                } | undefined;
                                ach_debit?: {
                                    bank_name?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                    routing_number?: (string | null) | undefined;
                                    type?: (string | null) | undefined;
                                } | undefined;
                                acss_debit?: {
                                    bank_address_city?: (string | null) | undefined;
                                    bank_address_line_1?: (string | null) | undefined;
                                    bank_address_line_2?: (string | null) | undefined;
                                    bank_address_postal_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    category?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                    routing_number?: (string | null) | undefined;
                                } | undefined;
                                alipay?: {
                                    data_string?: (string | null) | undefined;
                                    native_url?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                amount: number | null;
                                au_becs_debit?: {
                                    bsb_number?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                } | undefined;
                                bancontact?: {
                                    bank_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    iban_last4?: (string | null) | undefined;
                                    preferred_language?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                card?: {
                                    address_line1_check?: (string | null) | undefined;
                                    address_zip_check?: (string | null) | undefined;
                                    brand?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    cvc_check?: (string | null) | undefined;
                                    description?: string | undefined;
                                    dynamic_last4?: (string | null) | undefined;
                                    exp_month?: (number | null) | undefined;
                                    exp_year?: (number | null) | undefined;
                                    fingerprint?: string | undefined;
                                    funding?: (string | null) | undefined;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4?: (string | null) | undefined;
                                    name?: (string | null) | undefined;
                                    three_d_secure?: string | undefined;
                                    tokenization_method?: (string | null) | undefined;
                                } | undefined;
                                card_present?: {
                                    application_cryptogram?: string | undefined;
                                    application_preferred_name?: string | undefined;
                                    authorization_code?: (string | null) | undefined;
                                    authorization_response_code?: string | undefined;
                                    brand?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    cvm_type?: string | undefined;
                                    data_type?: (string | null) | undefined;
                                    dedicated_file_name?: string | undefined;
                                    description?: string | undefined;
                                    emv_auth_data?: string | undefined;
                                    evidence_customer_signature?: (string | null) | undefined;
                                    evidence_transaction_certificate?: (string | null) | undefined;
                                    exp_month?: (number | null) | undefined;
                                    exp_year?: (number | null) | undefined;
                                    fingerprint?: string | undefined;
                                    funding?: (string | null) | undefined;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4?: (string | null) | undefined;
                                    pos_device_id?: (string | null) | undefined;
                                    pos_entry_mode?: string | undefined;
                                    read_method?: (string | null) | undefined;
                                    reader?: (string | null) | undefined;
                                    terminal_verification_results?: string | undefined;
                                    transaction_status_information?: string | undefined;
                                } | undefined;
                                client_secret: string;
                                code_verification?: {
                                    attempts_remaining: number;
                                    status: string;
                                } | undefined;
                                created: number;
                                currency: string | null;
                                customer?: string | undefined;
                                eps?: {
                                    reference?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                flow: string;
                                giropay?: {
                                    bank_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                ideal?: {
                                    bank?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    iban_last4?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                klarna?: {
                                    background_image_url?: string | undefined;
                                    client_token?: (string | null) | undefined;
                                    first_name?: string | undefined;
                                    last_name?: string | undefined;
                                    locale?: string | undefined;
                                    logo_url?: string | undefined;
                                    page_title?: string | undefined;
                                    pay_later_asset_urls_descriptive?: string | undefined;
                                    pay_later_asset_urls_standard?: string | undefined;
                                    pay_later_name?: string | undefined;
                                    pay_later_redirect_url?: string | undefined;
                                    pay_now_asset_urls_descriptive?: string | undefined;
                                    pay_now_asset_urls_standard?: string | undefined;
                                    pay_now_name?: string | undefined;
                                    pay_now_redirect_url?: string | undefined;
                                    pay_over_time_asset_urls_descriptive?: string | undefined;
                                    pay_over_time_asset_urls_standard?: string | undefined;
                                    pay_over_time_name?: string | undefined;
                                    pay_over_time_redirect_url?: string | undefined;
                                    payment_method_categories?: string | undefined;
                                    purchase_country?: string | undefined;
                                    purchase_type?: string | undefined;
                                    redirect_url?: string | undefined;
                                    shipping_delay?: number | undefined;
                                    shipping_first_name?: string | undefined;
                                    shipping_last_name?: string | undefined;
                                } | undefined;
                                livemode: boolean;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                multibanco?: {
                                    entity?: (string | null) | undefined;
                                    reference?: (string | null) | undefined;
                                    refund_account_holder_address_city?: (string | null) | undefined;
                                    refund_account_holder_address_country?: (string | null) | undefined;
                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                    refund_account_holder_address_state?: (string | null) | undefined;
                                    refund_account_holder_name?: (string | null) | undefined;
                                    refund_iban?: (string | null) | undefined;
                                } | undefined;
                                owner: {
                                    address: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | null;
                                    email: string | null;
                                    name: string | null;
                                    phone: string | null;
                                    verified_address: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | null;
                                    verified_email: string | null;
                                    verified_name: string | null;
                                    verified_phone: string | null;
                                } | null;
                                p24?: {
                                    reference?: (string | null) | undefined;
                                } | undefined;
                                receiver?: {
                                    address: string | null;
                                    amount_charged: number;
                                    amount_received: number;
                                    amount_returned: number;
                                    refund_attributes_method: string;
                                    refund_attributes_status: string;
                                } | undefined;
                                redirect?: {
                                    failure_reason: string | null;
                                    return_url: string;
                                    status: string;
                                    url: string;
                                } | undefined;
                                sepa_credit_transfer?: {
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    iban?: (string | null) | undefined;
                                    refund_account_holder_address_city?: (string | null) | undefined;
                                    refund_account_holder_address_country?: (string | null) | undefined;
                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                    refund_account_holder_address_state?: (string | null) | undefined;
                                    refund_account_holder_name?: (string | null) | undefined;
                                    refund_iban?: (string | null) | undefined;
                                } | undefined;
                                sepa_debit?: {
                                    bank_code?: (string | null) | undefined;
                                    branch_code?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                    mandate_reference?: (string | null) | undefined;
                                    mandate_url?: (string | null) | undefined;
                                } | undefined;
                                sofort?: {
                                    bank_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    iban_last4?: (string | null) | undefined;
                                    preferred_language?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                source_order?: {
                                    amount: number;
                                    currency: string;
                                    email?: string | undefined;
                                    items: {
                                        amount: number | null;
                                        currency: string | null;
                                        description: string | null;
                                        parent: string | null;
                                        quantity?: number | undefined;
                                        type: string | null;
                                    }[] | null;
                                    shipping?: {
                                        address?: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | undefined;
                                        carrier?: (string | null) | undefined;
                                        name?: string | undefined;
                                        phone?: (string | null) | undefined;
                                        tracking_number?: (string | null) | undefined;
                                    } | undefined;
                                } | undefined;
                                statement_descriptor: string | null;
                                status: string;
                                three_d_secure?: {
                                    address_line1_check?: (string | null) | undefined;
                                    address_zip_check?: (string | null) | undefined;
                                    authenticated?: (boolean | null) | undefined;
                                    brand?: (string | null) | undefined;
                                    card?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    customer?: (string | null) | undefined;
                                    cvc_check?: (string | null) | undefined;
                                    description?: string | undefined;
                                    dynamic_last4?: (string | null) | undefined;
                                    exp_month?: (number | null) | undefined;
                                    exp_year?: (number | null) | undefined;
                                    fingerprint?: string | undefined;
                                    funding?: (string | null) | undefined;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4?: (string | null) | undefined;
                                    name?: (string | null) | undefined;
                                    three_d_secure?: string | undefined;
                                    tokenization_method?: (string | null) | undefined;
                                } | undefined;
                                type: string;
                                usage: string | null;
                                wechat?: {
                                    prepay_id?: string | undefined;
                                    qr_code_url?: (string | null) | undefined;
                                    statement_descriptor?: string | undefined;
                                } | undefined;
                            } | undefined;
                            type: string;
                        } | null;
                        setup_intent: string | {
                            id: string;
                            object: string;
                            application: string | {
                                id: string;
                                object: string;
                                deleted?: void | undefined;
                                name: string | null;
                            } | null;
                            attach_to_self?: boolean | undefined;
                            automatic_payment_methods: any | null;
                            cancellation_reason: string | null;
                            client_secret: string | null;
                            created: number;
                            customer: string | any | {
                                id: string;
                                object: string;
                                deleted: boolean;
                            } | null;
                            description: string | null;
                            flow_directions: string[] | null;
                            last_setup_error: any | null;
                            latest_attempt: string | any | null;
                            livemode: boolean;
                            mandate: string | any | null;
                            metadata: {
                                [x: string]: string;
                            } | null;
                            next_action: any | null;
                            on_behalf_of: string | any | null;
                            payment_method: string | any | null;
                            payment_method_configuration_details: any | null;
                            payment_method_options: any | null;
                            payment_method_types: Array<string>;
                            single_use_mandate: string | any | null;
                            status: string;
                            usage: string;
                        };
                        status: string;
                        usage: string;
                    } | null;
                } | null;
                iin?: (string | null) | undefined;
                issuer?: (string | null) | undefined;
                last4: string;
                networks: {
                    available: Array<string>;
                    preferred: string | null;
                } | null;
                three_d_secure_usage: {
                    supported: boolean;
                } | null;
                wallet: {
                    amex_express_checkout?: {} | undefined;
                    apple_pay?: {} | undefined;
                    dynamic_last4: string | null;
                    google_pay?: {} | undefined;
                    link?: {} | undefined;
                    masterpass?: {
                        billing_address: {
                            city: string | null;
                            country: string | null;
                            line1: string | null;
                            line2: string | null;
                            postal_code: string | null;
                            state: string | null;
                        } | null;
                        email: string | null;
                        name: string | null;
                        shipping_address: {
                            city: string | null;
                            country: string | null;
                            line1: string | null;
                            line2: string | null;
                            postal_code: string | null;
                            state: string | null;
                        } | null;
                    } | undefined;
                    samsung_pay?: {} | undefined;
                    type: string;
                    visa_checkout?: {
                        billing_address: {
                            city: string | null;
                            country: string | null;
                            line1: string | null;
                            line2: string | null;
                            postal_code: string | null;
                            state: string | null;
                        } | null;
                        email: string | null;
                        name: string | null;
                        shipping_address: {
                            city: string | null;
                            country: string | null;
                            line1: string | null;
                            line2: string | null;
                            postal_code: string | null;
                            state: string | null;
                        } | null;
                    } | undefined;
                } | null;
            } | undefined;
            card_present?: {
                brand: string | null;
                brand_product: string | null;
                cardholder_name: string | null;
                country: string | null;
                description?: (string | null) | undefined;
                exp_month: number;
                exp_year: number;
                fingerprint: string | null;
                funding: string | null;
                iin?: (string | null) | undefined;
                issuer?: (string | null) | undefined;
                last4: string | null;
                networks: {
                    available: Array<string>;
                    preferred: string | null;
                } | null;
                offline: {
                    stored_at: number | null;
                    type: string | null;
                } | null;
                preferred_locales: Array<string> | null;
                read_method: string | null;
                wallet?: {
                    type: string;
                } | undefined;
            } | undefined;
            cashapp?: {
                buyer_id: string | null;
                cashtag: string | null;
            } | undefined;
            created: number;
            customer: string | any | null;
            customer_balance?: {} | undefined;
            eps?: {
                bank: string | null;
            } | undefined;
            fpx?: {
                account_holder_type: string | null;
                bank: string;
            } | undefined;
            giropay?: {} | undefined;
            grabpay?: {} | undefined;
            ideal?: {
                bank: string | null;
                bic: string | null;
            } | undefined;
            interac_present?: {
                brand: string | null;
                cardholder_name: string | null;
                country: string | null;
                description?: (string | null) | undefined;
                exp_month: number;
                exp_year: number;
                fingerprint: string | null;
                funding: string | null;
                iin?: (string | null) | undefined;
                issuer?: (string | null) | undefined;
                last4: string | null;
                networks: {
                    available: Array<string>;
                    preferred: string | null;
                } | null;
                preferred_locales: Array<string> | null;
                read_method: string | null;
            } | undefined;
            kakao_pay?: {} | undefined;
            klarna?: {
                dob?: {
                    day: number | null;
                    month: number | null;
                    year: number | null;
                } | null | undefined;
            } | undefined;
            konbini?: {} | undefined;
            kr_card?: {
                brand: string | null;
                last4: string | null;
            } | undefined;
            link?: {
                email: string | null;
                persistent_token?: string | undefined;
            } | undefined;
            livemode: boolean;
            metadata: {
                [x: string]: string;
            } | null;
            mobilepay?: {} | undefined;
            multibanco?: {} | undefined;
            naver_pay?: {
                funding: string;
            } | undefined;
            oxxo?: {} | undefined;
            p24?: {
                bank: string | null;
            } | undefined;
            payco?: {} | undefined;
            paynow?: {} | undefined;
            paypal?: {
                payer_email: string | null;
                payer_id: string | null;
            } | undefined;
            pix?: {} | undefined;
            promptpay?: {} | undefined;
            radar_options?: {
                session?: string | undefined;
            } | undefined;
            revolut_pay?: {} | undefined;
            samsung_pay?: {} | undefined;
            sepa_debit?: {
                bank_code: string | null;
                branch_code: string | null;
                country: string | null;
                fingerprint: string | null;
                generated_from: {
                    charge: string | {
                        id: string;
                        object: string;
                        amount: number;
                        amount_captured: number;
                        amount_refunded: number;
                        application: string | {
                            id: string;
                            object: string;
                            deleted?: void | undefined;
                            name: string | null;
                        } | null;
                        application_fee: string | {
                            id: string;
                            object: string;
                            account: string | any;
                            amount: number;
                            amount_refunded: number;
                            application: string | {
                                id: string;
                                object: string;
                                deleted?: void | undefined;
                                name: string | null;
                            };
                            balance_transaction: string | {
                                id: string;
                                object: string;
                                amount: number;
                                available_on: number;
                                created: number;
                                currency: string;
                                description: string | null;
                                exchange_rate: number | null;
                                fee: number;
                                fee_details: any[];
                                net: number;
                                reporting_category: string;
                                source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                status: string;
                                type: string;
                            } | null;
                            charge: string | any;
                            created: number;
                            currency: string;
                            fee_source: {
                                charge?: string | undefined;
                                payout?: string | undefined;
                                type: string;
                            } | null;
                            livemode: boolean;
                            originating_transaction: string | any | null;
                            refunded: boolean;
                            refunds: {
                                id: string;
                                object: string;
                                amount: number;
                                balance_transaction: string | {
                                    id: string;
                                    object: string;
                                    amount: number;
                                    available_on: number;
                                    created: number;
                                    currency: string;
                                    description: string | null;
                                    exchange_rate: number | null;
                                    fee: number;
                                    fee_details: any[];
                                    net: number;
                                    reporting_category: string;
                                    source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                    status: string;
                                    type: string;
                                } | null;
                                created: number;
                                currency: string;
                                fee: string | any;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                            }[];
                        } | null;
                        application_fee_amount: number | null;
                        authorization_code?: string | undefined;
                        balance_transaction: string | {
                            id: string;
                            object: string;
                            amount: number;
                            available_on: number;
                            created: number;
                            currency: string;
                            description: string | null;
                            exchange_rate: number | null;
                            fee: number;
                            fee_details: any[];
                            net: number;
                            reporting_category: string;
                            source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                            status: string;
                            type: string;
                        } | null;
                        billing_details: {
                            address: {
                                city: string | null;
                                country: string | null;
                                line1: string | null;
                                line2: string | null;
                                postal_code: string | null;
                                state: string | null;
                            } | null;
                            email: string | null;
                            name: string | null;
                            phone: string | null;
                        };
                        calculated_statement_descriptor: string | null;
                        captured: boolean;
                        created: number;
                        currency: string;
                        customer: string | any | {
                            id: string;
                            object: string;
                            deleted: boolean;
                        } | null;
                        description: string | null;
                        disputed: boolean;
                        failure_balance_transaction: string | {
                            id: string;
                            object: string;
                            amount: number;
                            available_on: number;
                            created: number;
                            currency: string;
                            description: string | null;
                            exchange_rate: number | null;
                            fee: number;
                            fee_details: any[];
                            net: number;
                            reporting_category: string;
                            source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                            status: string;
                            type: string;
                        } | null;
                        failure_code: string | null;
                        failure_message: string | null;
                        fraud_details: {
                            stripe_report?: string | undefined;
                            user_report?: string | undefined;
                        } | null;
                        invoice: string | {
                            id: string;
                            object: string;
                            account_country: string | null;
                            account_name: string | null;
                            account_tax_ids: (string | {
                                id: string;
                                object: string;
                                country: string | null;
                                created: number;
                                customer: string | any | null;
                                deleted?: void | undefined;
                                livemode: boolean;
                                owner: any | null;
                                type: string;
                                value: string;
                                verification: any | null;
                            } | {
                                id: string;
                                object: string;
                                deleted: boolean;
                            })[] | null;
                            amount_due: number;
                            amount_paid: number;
                            amount_remaining: number;
                            amount_shipping: number;
                            application: string | {
                                id: string;
                                object: string;
                                deleted?: void | undefined;
                                name: string | null;
                            } | {
                                id: string;
                                object: string;
                                deleted: boolean;
                                name: string | null;
                            } | null;
                            application_fee_amount: number | null;
                            attempt_count: number;
                            attempted: boolean;
                            auto_advance?: boolean | undefined;
                            automatic_tax: {
                                enabled: boolean;
                                liability: any | null;
                                status: string | null;
                            };
                            automatically_finalizes_at: number | null;
                            billing_reason: string | null;
                            charge: string | any | null;
                            collection_method: string;
                            created: number;
                            currency: string;
                            custom_fields: {
                                name: string;
                                value: string;
                            }[] | null;
                            customer: string | any | {
                                id: string;
                                object: string;
                                deleted: boolean;
                            } | null;
                            customer_address: {
                                city: string | null;
                                country: string | null;
                                line1: string | null;
                                line2: string | null;
                                postal_code: string | null;
                                state: string | null;
                            } | null;
                            customer_email: string | null;
                            customer_name: string | null;
                            customer_phone: string | null;
                            customer_shipping: {
                                address?: {
                                    city: string | null;
                                    country: string | null;
                                    line1: string | null;
                                    line2: string | null;
                                    postal_code: string | null;
                                    state: string | null;
                                } | undefined;
                                carrier?: (string | null) | undefined;
                                name?: string | undefined;
                                phone?: (string | null) | undefined;
                                tracking_number?: (string | null) | undefined;
                            } | null;
                            customer_tax_exempt: string | null;
                            customer_tax_ids?: {
                                type: string;
                                value: string | null;
                            }[] | null | undefined;
                            default_payment_method: string | any | null;
                            default_source: string | any | any | {
                                id: string;
                                object: string;
                                account?: string | any | null | undefined;
                                address_city: string | null;
                                address_country: string | null;
                                address_line1: string | null;
                                address_line1_check: string | null;
                                address_line2: string | null;
                                address_state: string | null;
                                address_zip: string | null;
                                address_zip_check: string | null;
                                available_payout_methods?: string[] | null | undefined;
                                brand: string;
                                country: string | null;
                                currency?: (string | null) | undefined;
                                customer?: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null | undefined;
                                cvc_check: string | null;
                                default_for_currency?: (boolean | null) | undefined;
                                deleted?: void | undefined;
                                description?: string | undefined;
                                dynamic_last4: string | null;
                                exp_month: number;
                                exp_year: number;
                                fingerprint?: (string | null) | undefined;
                                funding: string;
                                iin?: string | undefined;
                                issuer?: string | undefined;
                                last4: string;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                name: string | null;
                                networks?: {
                                    preferred: string | null;
                                } | undefined;
                                status?: (string | null) | undefined;
                                tokenization_method: string | null;
                            } | {
                                id: string;
                                object: string;
                                ach_credit_transfer?: {
                                    account_number?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    refund_account_holder_name?: (string | null) | undefined;
                                    refund_account_holder_type?: (string | null) | undefined;
                                    refund_routing_number?: (string | null) | undefined;
                                    routing_number?: (string | null) | undefined;
                                    swift_code?: (string | null) | undefined;
                                } | undefined;
                                ach_debit?: {
                                    bank_name?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                    routing_number?: (string | null) | undefined;
                                    type?: (string | null) | undefined;
                                } | undefined;
                                acss_debit?: {
                                    bank_address_city?: (string | null) | undefined;
                                    bank_address_line_1?: (string | null) | undefined;
                                    bank_address_line_2?: (string | null) | undefined;
                                    bank_address_postal_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    category?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                    routing_number?: (string | null) | undefined;
                                } | undefined;
                                alipay?: {
                                    data_string?: (string | null) | undefined;
                                    native_url?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                amount: number | null;
                                au_becs_debit?: {
                                    bsb_number?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                } | undefined;
                                bancontact?: {
                                    bank_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    iban_last4?: (string | null) | undefined;
                                    preferred_language?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                card?: {
                                    address_line1_check?: (string | null) | undefined;
                                    address_zip_check?: (string | null) | undefined;
                                    brand?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    cvc_check?: (string | null) | undefined;
                                    description?: string | undefined;
                                    dynamic_last4?: (string | null) | undefined;
                                    exp_month?: (number | null) | undefined;
                                    exp_year?: (number | null) | undefined;
                                    fingerprint?: string | undefined;
                                    funding?: (string | null) | undefined;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4?: (string | null) | undefined;
                                    name?: (string | null) | undefined;
                                    three_d_secure?: string | undefined;
                                    tokenization_method?: (string | null) | undefined;
                                } | undefined;
                                card_present?: {
                                    application_cryptogram?: string | undefined;
                                    application_preferred_name?: string | undefined;
                                    authorization_code?: (string | null) | undefined;
                                    authorization_response_code?: string | undefined;
                                    brand?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    cvm_type?: string | undefined;
                                    data_type?: (string | null) | undefined;
                                    dedicated_file_name?: string | undefined;
                                    description?: string | undefined;
                                    emv_auth_data?: string | undefined;
                                    evidence_customer_signature?: (string | null) | undefined;
                                    evidence_transaction_certificate?: (string | null) | undefined;
                                    exp_month?: (number | null) | undefined;
                                    exp_year?: (number | null) | undefined;
                                    fingerprint?: string | undefined;
                                    funding?: (string | null) | undefined;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4?: (string | null) | undefined;
                                    pos_device_id?: (string | null) | undefined;
                                    pos_entry_mode?: string | undefined;
                                    read_method?: (string | null) | undefined;
                                    reader?: (string | null) | undefined;
                                    terminal_verification_results?: string | undefined;
                                    transaction_status_information?: string | undefined;
                                } | undefined;
                                client_secret: string;
                                code_verification?: {
                                    attempts_remaining: number;
                                    status: string;
                                } | undefined;
                                created: number;
                                currency: string | null;
                                customer?: string | undefined;
                                eps?: {
                                    reference?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                flow: string;
                                giropay?: {
                                    bank_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                ideal?: {
                                    bank?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    iban_last4?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                klarna?: {
                                    background_image_url?: string | undefined;
                                    client_token?: (string | null) | undefined;
                                    first_name?: string | undefined;
                                    last_name?: string | undefined;
                                    locale?: string | undefined;
                                    logo_url?: string | undefined;
                                    page_title?: string | undefined;
                                    pay_later_asset_urls_descriptive?: string | undefined;
                                    pay_later_asset_urls_standard?: string | undefined;
                                    pay_later_name?: string | undefined;
                                    pay_later_redirect_url?: string | undefined;
                                    pay_now_asset_urls_descriptive?: string | undefined;
                                    pay_now_asset_urls_standard?: string | undefined;
                                    pay_now_name?: string | undefined;
                                    pay_now_redirect_url?: string | undefined;
                                    pay_over_time_asset_urls_descriptive?: string | undefined;
                                    pay_over_time_asset_urls_standard?: string | undefined;
                                    pay_over_time_name?: string | undefined;
                                    pay_over_time_redirect_url?: string | undefined;
                                    payment_method_categories?: string | undefined;
                                    purchase_country?: string | undefined;
                                    purchase_type?: string | undefined;
                                    redirect_url?: string | undefined;
                                    shipping_delay?: number | undefined;
                                    shipping_first_name?: string | undefined;
                                    shipping_last_name?: string | undefined;
                                } | undefined;
                                livemode: boolean;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                multibanco?: {
                                    entity?: (string | null) | undefined;
                                    reference?: (string | null) | undefined;
                                    refund_account_holder_address_city?: (string | null) | undefined;
                                    refund_account_holder_address_country?: (string | null) | undefined;
                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                    refund_account_holder_address_state?: (string | null) | undefined;
                                    refund_account_holder_name?: (string | null) | undefined;
                                    refund_iban?: (string | null) | undefined;
                                } | undefined;
                                owner: {
                                    address: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | null;
                                    email: string | null;
                                    name: string | null;
                                    phone: string | null;
                                    verified_address: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | null;
                                    verified_email: string | null;
                                    verified_name: string | null;
                                    verified_phone: string | null;
                                } | null;
                                p24?: {
                                    reference?: (string | null) | undefined;
                                } | undefined;
                                receiver?: {
                                    address: string | null;
                                    amount_charged: number;
                                    amount_received: number;
                                    amount_returned: number;
                                    refund_attributes_method: string;
                                    refund_attributes_status: string;
                                } | undefined;
                                redirect?: {
                                    failure_reason: string | null;
                                    return_url: string;
                                    status: string;
                                    url: string;
                                } | undefined;
                                sepa_credit_transfer?: {
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    iban?: (string | null) | undefined;
                                    refund_account_holder_address_city?: (string | null) | undefined;
                                    refund_account_holder_address_country?: (string | null) | undefined;
                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                    refund_account_holder_address_state?: (string | null) | undefined;
                                    refund_account_holder_name?: (string | null) | undefined;
                                    refund_iban?: (string | null) | undefined;
                                } | undefined;
                                sepa_debit?: {
                                    bank_code?: (string | null) | undefined;
                                    branch_code?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                    mandate_reference?: (string | null) | undefined;
                                    mandate_url?: (string | null) | undefined;
                                } | undefined;
                                sofort?: {
                                    bank_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    iban_last4?: (string | null) | undefined;
                                    preferred_language?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                source_order?: {
                                    amount: number;
                                    currency: string;
                                    email?: string | undefined;
                                    items: {
                                        amount: number | null;
                                        currency: string | null;
                                        description: string | null;
                                        parent: string | null;
                                        quantity?: number | undefined;
                                        type: string | null;
                                    }[] | null;
                                    shipping?: {
                                        address?: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | undefined;
                                        carrier?: (string | null) | undefined;
                                        name?: string | undefined;
                                        phone?: (string | null) | undefined;
                                        tracking_number?: (string | null) | undefined;
                                    } | undefined;
                                } | undefined;
                                statement_descriptor: string | null;
                                status: string;
                                three_d_secure?: {
                                    address_line1_check?: (string | null) | undefined;
                                    address_zip_check?: (string | null) | undefined;
                                    authenticated?: (boolean | null) | undefined;
                                    brand?: (string | null) | undefined;
                                    card?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    customer?: (string | null) | undefined;
                                    cvc_check?: (string | null) | undefined;
                                    description?: string | undefined;
                                    dynamic_last4?: (string | null) | undefined;
                                    exp_month?: (number | null) | undefined;
                                    exp_year?: (number | null) | undefined;
                                    fingerprint?: string | undefined;
                                    funding?: (string | null) | undefined;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4?: (string | null) | undefined;
                                    name?: (string | null) | undefined;
                                    three_d_secure?: string | undefined;
                                    tokenization_method?: (string | null) | undefined;
                                } | undefined;
                                type: string;
                                usage: string | null;
                                wechat?: {
                                    prepay_id?: string | undefined;
                                    qr_code_url?: (string | null) | undefined;
                                    statement_descriptor?: string | undefined;
                                } | undefined;
                            } | null;
                            default_tax_rates: {
                                id: string;
                                object: string;
                                active: boolean;
                                country: string | null;
                                created: number;
                                description: string | null;
                                display_name: string;
                                effective_percentage: number | null;
                                flat_amount: any | null;
                                inclusive: boolean;
                                jurisdiction: string | null;
                                jurisdiction_level: string | null;
                                livemode: boolean;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                percentage: number;
                                rate_type: string | null;
                                state: string | null;
                                tax_type: string | null;
                            }[];
                            deleted?: void | undefined;
                            description: string | null;
                            discount: {
                                id: string;
                                object: string;
                                checkout_session: string | null;
                                coupon: {
                                    id: string;
                                    object: string;
                                    amount_off: number | null;
                                    applies_to?: {
                                        products: Array<string>;
                                    } | undefined;
                                    created: number;
                                    currency: string | null;
                                    currency_options?: {
                                        [x: string]: {
                                            amount_off: number;
                                        };
                                    } | undefined;
                                    deleted?: void | undefined;
                                    duration: string;
                                    duration_in_months: number | null;
                                    livemode: boolean;
                                    max_redemptions: number | null;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    name: string | null;
                                    percent_off: number | null;
                                    redeem_by: number | null;
                                    times_redeemed: number;
                                    valid: boolean;
                                };
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null;
                                deleted?: void | undefined;
                                end: number | null;
                                invoice: string | null;
                                invoice_item: string | null;
                                promotion_code: string | {
                                    id: string;
                                    object: string;
                                    active: boolean;
                                    code: string;
                                    coupon: {
                                        id: string;
                                        object: string;
                                        amount_off: number | null;
                                        applies_to?: {
                                            products: Array<string>;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        currency_options?: {
                                            [x: string]: {
                                                amount_off: number;
                                            };
                                        } | undefined;
                                        deleted?: void | undefined;
                                        duration: string;
                                        duration_in_months: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        percent_off: number | null;
                                        redeem_by: number | null;
                                        times_redeemed: number;
                                        valid: boolean;
                                    };
                                    created: number;
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    expires_at: number | null;
                                    livemode: boolean;
                                    max_redemptions: number | null;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    restrictions: {
                                        currency_options?: {
                                            [x: string]: {
                                                minimum_amount: number;
                                            };
                                        } | undefined;
                                        first_time_transaction: boolean;
                                        minimum_amount: number | null;
                                        minimum_amount_currency: string | null;
                                    };
                                    times_redeemed: number;
                                } | null;
                                start: number;
                                subscription: string | null;
                                subscription_item: string | null;
                            } | null;
                            discounts: (string | {
                                id: string;
                                object: string;
                                checkout_session: string | null;
                                coupon: {
                                    id: string;
                                    object: string;
                                    amount_off: number | null;
                                    applies_to?: {
                                        products: Array<string>;
                                    } | undefined;
                                    created: number;
                                    currency: string | null;
                                    currency_options?: {
                                        [x: string]: {
                                            amount_off: number;
                                        };
                                    } | undefined;
                                    deleted?: void | undefined;
                                    duration: string;
                                    duration_in_months: number | null;
                                    livemode: boolean;
                                    max_redemptions: number | null;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    name: string | null;
                                    percent_off: number | null;
                                    redeem_by: number | null;
                                    times_redeemed: number;
                                    valid: boolean;
                                };
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null;
                                deleted?: void | undefined;
                                end: number | null;
                                invoice: string | null;
                                invoice_item: string | null;
                                promotion_code: string | {
                                    id: string;
                                    object: string;
                                    active: boolean;
                                    code: string;
                                    coupon: {
                                        id: string;
                                        object: string;
                                        amount_off: number | null;
                                        applies_to?: {
                                            products: Array<string>;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        currency_options?: {
                                            [x: string]: {
                                                amount_off: number;
                                            };
                                        } | undefined;
                                        deleted?: void | undefined;
                                        duration: string;
                                        duration_in_months: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        percent_off: number | null;
                                        redeem_by: number | null;
                                        times_redeemed: number;
                                        valid: boolean;
                                    };
                                    created: number;
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    expires_at: number | null;
                                    livemode: boolean;
                                    max_redemptions: number | null;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    restrictions: {
                                        currency_options?: {
                                            [x: string]: {
                                                minimum_amount: number;
                                            };
                                        } | undefined;
                                        first_time_transaction: boolean;
                                        minimum_amount: number | null;
                                        minimum_amount_currency: string | null;
                                    };
                                    times_redeemed: number;
                                } | null;
                                start: number;
                                subscription: string | null;
                                subscription_item: string | null;
                            } | {
                                id: string;
                                object: string;
                                checkout_session: string | null;
                                coupon: {
                                    id: string;
                                    object: string;
                                    amount_off: number | null;
                                    applies_to?: {
                                        products: Array<string>;
                                    } | undefined;
                                    created: number;
                                    currency: string | null;
                                    currency_options?: {
                                        [x: string]: {
                                            amount_off: number;
                                        };
                                    } | undefined;
                                    deleted?: void | undefined;
                                    duration: string;
                                    duration_in_months: number | null;
                                    livemode: boolean;
                                    max_redemptions: number | null;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    name: string | null;
                                    percent_off: number | null;
                                    redeem_by: number | null;
                                    times_redeemed: number;
                                    valid: boolean;
                                };
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null;
                                deleted: boolean;
                                invoice: string | null;
                                invoice_item: string | null;
                                promotion_code: string | {
                                    id: string;
                                    object: string;
                                    active: boolean;
                                    code: string;
                                    coupon: {
                                        id: string;
                                        object: string;
                                        amount_off: number | null;
                                        applies_to?: {
                                            products: Array<string>;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        currency_options?: {
                                            [x: string]: {
                                                amount_off: number;
                                            };
                                        } | undefined;
                                        deleted?: void | undefined;
                                        duration: string;
                                        duration_in_months: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        percent_off: number | null;
                                        redeem_by: number | null;
                                        times_redeemed: number;
                                        valid: boolean;
                                    };
                                    created: number;
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    expires_at: number | null;
                                    livemode: boolean;
                                    max_redemptions: number | null;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    restrictions: {
                                        currency_options?: {
                                            [x: string]: {
                                                minimum_amount: number;
                                            };
                                        } | undefined;
                                        first_time_transaction: boolean;
                                        minimum_amount: number | null;
                                        minimum_amount_currency: string | null;
                                    };
                                    times_redeemed: number;
                                } | null;
                                start: number;
                                subscription: string | null;
                                subscription_item: string | null;
                            })[];
                            due_date: number | null;
                            effective_at: number | null;
                            ending_balance: number | null;
                            footer: string | null;
                            from_invoice: {
                                action: string;
                                invoice: string | any;
                            } | null;
                            hosted_invoice_url?: (string | null) | undefined;
                            invoice_pdf?: (string | null) | undefined;
                            issuer: {
                                account?: string | any | undefined;
                                type: string;
                            };
                            last_finalization_error: {
                                charge?: string | undefined;
                                code?: string | undefined;
                                decline_code?: string | undefined;
                                doc_url?: string | undefined;
                                message?: string | undefined;
                                param?: string | undefined;
                                payment_intent?: {
                                    id: string;
                                    object: string;
                                    amount: number;
                                    amount_capturable: number;
                                    amount_details?: any | undefined;
                                    amount_received: number;
                                    application: string | {
                                        id: string;
                                        object: string;
                                        deleted?: void | undefined;
                                        name: string | null;
                                    } | null;
                                    application_fee_amount: number | null;
                                    automatic_payment_methods: any | null;
                                    canceled_at: number | null;
                                    cancellation_reason: string | null;
                                    capture_method: string;
                                    client_secret: string | null;
                                    confirmation_method: string;
                                    created: number;
                                    currency: string;
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    description: string | null;
                                    invoice: string | any | null;
                                    last_payment_error: any | null;
                                    latest_charge: string | any | null;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    };
                                    next_action: any | null;
                                    on_behalf_of: string | any | null;
                                    payment_method: string | any | null;
                                    payment_method_configuration_details: any | null;
                                    payment_method_options: any | null;
                                    payment_method_types: Array<string>;
                                    processing: any | null;
                                    receipt_email: string | null;
                                    review: string | any | null;
                                    setup_future_usage: string | null;
                                    shipping: any | null;
                                    source: string | any | any | {
                                        id: string;
                                        object: string;
                                        account?: string | any | null | undefined;
                                        address_city: string | null;
                                        address_country: string | null;
                                        address_line1: string | null;
                                        address_line1_check: string | null;
                                        address_line2: string | null;
                                        address_state: string | null;
                                        address_zip: string | null;
                                        address_zip_check: string | null;
                                        available_payout_methods?: string[] | null | undefined;
                                        brand: string;
                                        country: string | null;
                                        currency?: (string | null) | undefined;
                                        customer?: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null | undefined;
                                        cvc_check: string | null;
                                        default_for_currency?: (boolean | null) | undefined;
                                        deleted?: void | undefined;
                                        description?: string | undefined;
                                        dynamic_last4: string | null;
                                        exp_month: number;
                                        exp_year: number;
                                        fingerprint?: (string | null) | undefined;
                                        funding: string;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4: string;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        networks?: {
                                            preferred: string | null;
                                        } | undefined;
                                        status?: (string | null) | undefined;
                                        tokenization_method: string | null;
                                    } | {
                                        id: string;
                                        object: string;
                                        ach_credit_transfer?: {
                                            account_number?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_account_holder_type?: (string | null) | undefined;
                                            refund_routing_number?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                            swift_code?: (string | null) | undefined;
                                        } | undefined;
                                        ach_debit?: {
                                            bank_name?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                            type?: (string | null) | undefined;
                                        } | undefined;
                                        acss_debit?: {
                                            bank_address_city?: (string | null) | undefined;
                                            bank_address_line_1?: (string | null) | undefined;
                                            bank_address_line_2?: (string | null) | undefined;
                                            bank_address_postal_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            category?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            routing_number?: (string | null) | undefined;
                                        } | undefined;
                                        alipay?: {
                                            data_string?: (string | null) | undefined;
                                            native_url?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        amount: number | null;
                                        au_becs_debit?: {
                                            bsb_number?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                        } | undefined;
                                        bancontact?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            preferred_language?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        card?: {
                                            address_line1_check?: (string | null) | undefined;
                                            address_zip_check?: (string | null) | undefined;
                                            brand?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            cvc_check?: (string | null) | undefined;
                                            description?: string | undefined;
                                            dynamic_last4?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            name?: (string | null) | undefined;
                                            three_d_secure?: string | undefined;
                                            tokenization_method?: (string | null) | undefined;
                                        } | undefined;
                                        card_present?: {
                                            application_cryptogram?: string | undefined;
                                            application_preferred_name?: string | undefined;
                                            authorization_code?: (string | null) | undefined;
                                            authorization_response_code?: string | undefined;
                                            brand?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            cvm_type?: string | undefined;
                                            data_type?: (string | null) | undefined;
                                            dedicated_file_name?: string | undefined;
                                            description?: string | undefined;
                                            emv_auth_data?: string | undefined;
                                            evidence_customer_signature?: (string | null) | undefined;
                                            evidence_transaction_certificate?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            pos_device_id?: (string | null) | undefined;
                                            pos_entry_mode?: string | undefined;
                                            read_method?: (string | null) | undefined;
                                            reader?: (string | null) | undefined;
                                            terminal_verification_results?: string | undefined;
                                            transaction_status_information?: string | undefined;
                                        } | undefined;
                                        client_secret: string;
                                        code_verification?: {
                                            attempts_remaining: number;
                                            status: string;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        customer?: string | undefined;
                                        eps?: {
                                            reference?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        flow: string;
                                        giropay?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        ideal?: {
                                            bank?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        klarna?: {
                                            background_image_url?: string | undefined;
                                            client_token?: (string | null) | undefined;
                                            first_name?: string | undefined;
                                            last_name?: string | undefined;
                                            locale?: string | undefined;
                                            logo_url?: string | undefined;
                                            page_title?: string | undefined;
                                            pay_later_asset_urls_descriptive?: string | undefined;
                                            pay_later_asset_urls_standard?: string | undefined;
                                            pay_later_name?: string | undefined;
                                            pay_later_redirect_url?: string | undefined;
                                            pay_now_asset_urls_descriptive?: string | undefined;
                                            pay_now_asset_urls_standard?: string | undefined;
                                            pay_now_name?: string | undefined;
                                            pay_now_redirect_url?: string | undefined;
                                            pay_over_time_asset_urls_descriptive?: string | undefined;
                                            pay_over_time_asset_urls_standard?: string | undefined;
                                            pay_over_time_name?: string | undefined;
                                            pay_over_time_redirect_url?: string | undefined;
                                            payment_method_categories?: string | undefined;
                                            purchase_country?: string | undefined;
                                            purchase_type?: string | undefined;
                                            redirect_url?: string | undefined;
                                            shipping_delay?: number | undefined;
                                            shipping_first_name?: string | undefined;
                                            shipping_last_name?: string | undefined;
                                        } | undefined;
                                        livemode: boolean;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        multibanco?: {
                                            entity?: (string | null) | undefined;
                                            reference?: (string | null) | undefined;
                                            refund_account_holder_address_city?: (string | null) | undefined;
                                            refund_account_holder_address_country?: (string | null) | undefined;
                                            refund_account_holder_address_line1?: (string | null) | undefined;
                                            refund_account_holder_address_line2?: (string | null) | undefined;
                                            refund_account_holder_address_postal_code?: (string | null) | undefined;
                                            refund_account_holder_address_state?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_iban?: (string | null) | undefined;
                                        } | undefined;
                                        owner: {
                                            address: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | null;
                                            email: string | null;
                                            name: string | null;
                                            phone: string | null;
                                            verified_address: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | null;
                                            verified_email: string | null;
                                            verified_name: string | null;
                                            verified_phone: string | null;
                                        } | null;
                                        p24?: {
                                            reference?: (string | null) | undefined;
                                        } | undefined;
                                        receiver?: {
                                            address: string | null;
                                            amount_charged: number;
                                            amount_received: number;
                                            amount_returned: number;
                                            refund_attributes_method: string;
                                            refund_attributes_status: string;
                                        } | undefined;
                                        redirect?: {
                                            failure_reason: string | null;
                                            return_url: string;
                                            status: string;
                                            url: string;
                                        } | undefined;
                                        sepa_credit_transfer?: {
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            iban?: (string | null) | undefined;
                                            refund_account_holder_address_city?: (string | null) | undefined;
                                            refund_account_holder_address_country?: (string | null) | undefined;
                                            refund_account_holder_address_line1?: (string | null) | undefined;
                                            refund_account_holder_address_line2?: (string | null) | undefined;
                                            refund_account_holder_address_postal_code?: (string | null) | undefined;
                                            refund_account_holder_address_state?: (string | null) | undefined;
                                            refund_account_holder_name?: (string | null) | undefined;
                                            refund_iban?: (string | null) | undefined;
                                        } | undefined;
                                        sepa_debit?: {
                                            bank_code?: (string | null) | undefined;
                                            branch_code?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            fingerprint?: (string | null) | undefined;
                                            last4?: (string | null) | undefined;
                                            mandate_reference?: (string | null) | undefined;
                                            mandate_url?: (string | null) | undefined;
                                        } | undefined;
                                        sofort?: {
                                            bank_code?: (string | null) | undefined;
                                            bank_name?: (string | null) | undefined;
                                            bic?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            iban_last4?: (string | null) | undefined;
                                            preferred_language?: (string | null) | undefined;
                                            statement_descriptor?: (string | null) | undefined;
                                        } | undefined;
                                        source_order?: {
                                            amount: number;
                                            currency: string;
                                            email?: string | undefined;
                                            items: {
                                                amount: number | null;
                                                currency: string | null;
                                                description: string | null;
                                                parent: string | null;
                                                quantity?: number | undefined;
                                                type: string | null;
                                            }[] | null;
                                            shipping?: {
                                                address?: {
                                                    city: string | null;
                                                    country: string | null;
                                                    line1: string | null;
                                                    line2: string | null;
                                                    postal_code: string | null;
                                                    state: string | null;
                                                } | undefined;
                                                carrier?: (string | null) | undefined;
                                                name?: string | undefined;
                                                phone?: (string | null) | undefined;
                                                tracking_number?: (string | null) | undefined;
                                            } | undefined;
                                        } | undefined;
                                        statement_descriptor: string | null;
                                        status: string;
                                        three_d_secure?: {
                                            address_line1_check?: (string | null) | undefined;
                                            address_zip_check?: (string | null) | undefined;
                                            authenticated?: (boolean | null) | undefined;
                                            brand?: (string | null) | undefined;
                                            card?: (string | null) | undefined;
                                            country?: (string | null) | undefined;
                                            customer?: (string | null) | undefined;
                                            cvc_check?: (string | null) | undefined;
                                            description?: string | undefined;
                                            dynamic_last4?: (string | null) | undefined;
                                            exp_month?: (number | null) | undefined;
                                            exp_year?: (number | null) | undefined;
                                            fingerprint?: string | undefined;
                                            funding?: (string | null) | undefined;
                                            iin?: string | undefined;
                                            issuer?: string | undefined;
                                            last4?: (string | null) | undefined;
                                            name?: (string | null) | undefined;
                                            three_d_secure?: string | undefined;
                                            tokenization_method?: (string | null) | undefined;
                                        } | undefined;
                                        type: string;
                                        usage: string | null;
                                        wechat?: {
                                            prepay_id?: string | undefined;
                                            qr_code_url?: (string | null) | undefined;
                                            statement_descriptor?: string | undefined;
                                        } | undefined;
                                    } | any | any | null;
                                    statement_descriptor: string | null;
                                    statement_descriptor_suffix: string | null;
                                    status: string;
                                    transfer_data: any | null;
                                    transfer_group: string | null;
                                } | undefined;
                                payment_method?: any | undefined;
                                payment_method_type?: string | undefined;
                                request_log_url?: string | undefined;
                                setup_intent?: {
                                    id: string;
                                    object: string;
                                    application: string | {
                                        id: string;
                                        object: string;
                                        deleted?: void | undefined;
                                        name: string | null;
                                    } | null;
                                    attach_to_self?: boolean | undefined;
                                    automatic_payment_methods: any | null;
                                    cancellation_reason: string | null;
                                    client_secret: string | null;
                                    created: number;
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    description: string | null;
                                    flow_directions: string[] | null;
                                    last_setup_error: any | null;
                                    latest_attempt: string | any | null;
                                    livemode: boolean;
                                    mandate: string | any | null;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    next_action: any | null;
                                    on_behalf_of: string | any | null;
                                    payment_method: string | any | null;
                                    payment_method_configuration_details: any | null;
                                    payment_method_options: any | null;
                                    payment_method_types: Array<string>;
                                    single_use_mandate: string | any | null;
                                    status: string;
                                    usage: string;
                                } | undefined;
                                source?: any | any | {
                                    id: string;
                                    object: string;
                                    account?: string | any | null | undefined;
                                    address_city: string | null;
                                    address_country: string | null;
                                    address_line1: string | null;
                                    address_line1_check: string | null;
                                    address_line2: string | null;
                                    address_state: string | null;
                                    address_zip: string | null;
                                    address_zip_check: string | null;
                                    available_payout_methods?: string[] | null | undefined;
                                    brand: string;
                                    country: string | null;
                                    currency?: (string | null) | undefined;
                                    customer?: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null | undefined;
                                    cvc_check: string | null;
                                    default_for_currency?: (boolean | null) | undefined;
                                    deleted?: void | undefined;
                                    description?: string | undefined;
                                    dynamic_last4: string | null;
                                    exp_month: number;
                                    exp_year: number;
                                    fingerprint?: (string | null) | undefined;
                                    funding: string;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4: string;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    name: string | null;
                                    networks?: {
                                        preferred: string | null;
                                    } | undefined;
                                    status?: (string | null) | undefined;
                                    tokenization_method: string | null;
                                } | {
                                    id: string;
                                    object: string;
                                    ach_credit_transfer?: {
                                        account_number?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_account_holder_type?: (string | null) | undefined;
                                        refund_routing_number?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        swift_code?: (string | null) | undefined;
                                    } | undefined;
                                    ach_debit?: {
                                        bank_name?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        type?: (string | null) | undefined;
                                    } | undefined;
                                    acss_debit?: {
                                        bank_address_city?: (string | null) | undefined;
                                        bank_address_line_1?: (string | null) | undefined;
                                        bank_address_line_2?: (string | null) | undefined;
                                        bank_address_postal_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        category?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                    } | undefined;
                                    alipay?: {
                                        data_string?: (string | null) | undefined;
                                        native_url?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    amount: number | null;
                                    au_becs_debit?: {
                                        bsb_number?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                    } | undefined;
                                    bancontact?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    card?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    card_present?: {
                                        application_cryptogram?: string | undefined;
                                        application_preferred_name?: string | undefined;
                                        authorization_code?: (string | null) | undefined;
                                        authorization_response_code?: string | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvm_type?: string | undefined;
                                        data_type?: (string | null) | undefined;
                                        dedicated_file_name?: string | undefined;
                                        description?: string | undefined;
                                        emv_auth_data?: string | undefined;
                                        evidence_customer_signature?: (string | null) | undefined;
                                        evidence_transaction_certificate?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        pos_device_id?: (string | null) | undefined;
                                        pos_entry_mode?: string | undefined;
                                        read_method?: (string | null) | undefined;
                                        reader?: (string | null) | undefined;
                                        terminal_verification_results?: string | undefined;
                                        transaction_status_information?: string | undefined;
                                    } | undefined;
                                    client_secret: string;
                                    code_verification?: {
                                        attempts_remaining: number;
                                        status: string;
                                    } | undefined;
                                    created: number;
                                    currency: string | null;
                                    customer?: string | undefined;
                                    eps?: {
                                        reference?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    flow: string;
                                    giropay?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    ideal?: {
                                        bank?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    klarna?: {
                                        background_image_url?: string | undefined;
                                        client_token?: (string | null) | undefined;
                                        first_name?: string | undefined;
                                        last_name?: string | undefined;
                                        locale?: string | undefined;
                                        logo_url?: string | undefined;
                                        page_title?: string | undefined;
                                        pay_later_asset_urls_descriptive?: string | undefined;
                                        pay_later_asset_urls_standard?: string | undefined;
                                        pay_later_name?: string | undefined;
                                        pay_later_redirect_url?: string | undefined;
                                        pay_now_asset_urls_descriptive?: string | undefined;
                                        pay_now_asset_urls_standard?: string | undefined;
                                        pay_now_name?: string | undefined;
                                        pay_now_redirect_url?: string | undefined;
                                        pay_over_time_asset_urls_descriptive?: string | undefined;
                                        pay_over_time_asset_urls_standard?: string | undefined;
                                        pay_over_time_name?: string | undefined;
                                        pay_over_time_redirect_url?: string | undefined;
                                        payment_method_categories?: string | undefined;
                                        purchase_country?: string | undefined;
                                        purchase_type?: string | undefined;
                                        redirect_url?: string | undefined;
                                        shipping_delay?: number | undefined;
                                        shipping_first_name?: string | undefined;
                                        shipping_last_name?: string | undefined;
                                    } | undefined;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    multibanco?: {
                                        entity?: (string | null) | undefined;
                                        reference?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    owner: {
                                        address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        email: string | null;
                                        name: string | null;
                                        phone: string | null;
                                        verified_address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        verified_email: string | null;
                                        verified_name: string | null;
                                        verified_phone: string | null;
                                    } | null;
                                    p24?: {
                                        reference?: (string | null) | undefined;
                                    } | undefined;
                                    receiver?: {
                                        address: string | null;
                                        amount_charged: number;
                                        amount_received: number;
                                        amount_returned: number;
                                        refund_attributes_method: string;
                                        refund_attributes_status: string;
                                    } | undefined;
                                    redirect?: {
                                        failure_reason: string | null;
                                        return_url: string;
                                        status: string;
                                        url: string;
                                    } | undefined;
                                    sepa_credit_transfer?: {
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    sepa_debit?: {
                                        bank_code?: (string | null) | undefined;
                                        branch_code?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        mandate_reference?: (string | null) | undefined;
                                        mandate_url?: (string | null) | undefined;
                                    } | undefined;
                                    sofort?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    source_order?: {
                                        amount: number;
                                        currency: string;
                                        email?: string | undefined;
                                        items: {
                                            amount: number | null;
                                            currency: string | null;
                                            description: string | null;
                                            parent: string | null;
                                            quantity?: number | undefined;
                                            type: string | null;
                                        }[] | null;
                                        shipping?: {
                                            address?: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | undefined;
                                            carrier?: (string | null) | undefined;
                                            name?: string | undefined;
                                            phone?: (string | null) | undefined;
                                            tracking_number?: (string | null) | undefined;
                                        } | undefined;
                                    } | undefined;
                                    statement_descriptor: string | null;
                                    status: string;
                                    three_d_secure?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        authenticated?: (boolean | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        card?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        customer?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    type: string;
                                    usage: string | null;
                                    wechat?: {
                                        prepay_id?: string | undefined;
                                        qr_code_url?: (string | null) | undefined;
                                        statement_descriptor?: string | undefined;
                                    } | undefined;
                                } | undefined;
                                type: string;
                            } | null;
                            latest_revision: string | any | null;
                            lines: {
                                id: string;
                                object: string;
                                amount: number;
                                amount_excluding_tax: number | null;
                                currency: string;
                                description: string | null;
                                discount_amounts: any[] | null;
                                discountable: boolean;
                                discounts: (string | {
                                    id: string;
                                    object: string;
                                    checkout_session: string | null;
                                    coupon: {
                                        id: string;
                                        object: string;
                                        amount_off: number | null;
                                        applies_to?: {
                                            products: Array<string>;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        currency_options?: {
                                            [x: string]: {
                                                amount_off: number;
                                            };
                                        } | undefined;
                                        deleted?: void | undefined;
                                        duration: string;
                                        duration_in_months: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        percent_off: number | null;
                                        redeem_by: number | null;
                                        times_redeemed: number;
                                        valid: boolean;
                                    };
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    deleted?: void | undefined;
                                    end: number | null;
                                    invoice: string | null;
                                    invoice_item: string | null;
                                    promotion_code: string | {
                                        id: string;
                                        object: string;
                                        active: boolean;
                                        code: string;
                                        coupon: {
                                            id: string;
                                            object: string;
                                            amount_off: number | null;
                                            applies_to?: {
                                                products: Array<string>;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            currency_options?: {
                                                [x: string]: {
                                                    amount_off: number;
                                                };
                                            } | undefined;
                                            deleted?: void | undefined;
                                            duration: string;
                                            duration_in_months: number | null;
                                            livemode: boolean;
                                            max_redemptions: number | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            percent_off: number | null;
                                            redeem_by: number | null;
                                            times_redeemed: number;
                                            valid: boolean;
                                        };
                                        created: number;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        expires_at: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        restrictions: {
                                            currency_options?: {
                                                [x: string]: {
                                                    minimum_amount: number;
                                                };
                                            } | undefined;
                                            first_time_transaction: boolean;
                                            minimum_amount: number | null;
                                            minimum_amount_currency: string | null;
                                        };
                                        times_redeemed: number;
                                    } | null;
                                    start: number;
                                    subscription: string | null;
                                    subscription_item: string | null;
                                })[];
                                invoice: string | null;
                                invoice_item?: string | any | undefined;
                                livemode: boolean;
                                metadata: {
                                    [x: string]: string;
                                };
                                period: any;
                                plan: any | null;
                                pretax_credit_amounts?: any[] | null | undefined;
                                price: any | null;
                                proration: boolean;
                                proration_details: any | null;
                                quantity: number | null;
                                subscription: string | any | null;
                                subscription_item?: string | any | undefined;
                                tax_amounts: any[];
                                tax_rates: {
                                    id: string;
                                    object: string;
                                    active: boolean;
                                    country: string | null;
                                    created: number;
                                    description: string | null;
                                    display_name: string;
                                    effective_percentage: number | null;
                                    flat_amount: any | null;
                                    inclusive: boolean;
                                    jurisdiction: string | null;
                                    jurisdiction_level: string | null;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    percentage: number;
                                    rate_type: string | null;
                                    state: string | null;
                                    tax_type: string | null;
                                }[];
                                type: string;
                                unit_amount_excluding_tax: string | null;
                            }[];
                            livemode: boolean;
                            metadata: {
                                [x: string]: string;
                            } | null;
                            next_payment_attempt: number | null;
                            number: string | null;
                            on_behalf_of: string | any | null;
                            paid: boolean;
                            paid_out_of_band: boolean;
                            payment_intent: string | {
                                id: string;
                                object: string;
                                amount: number;
                                amount_capturable: number;
                                amount_details?: any | undefined;
                                amount_received: number;
                                application: string | {
                                    id: string;
                                    object: string;
                                    deleted?: void | undefined;
                                    name: string | null;
                                } | null;
                                application_fee_amount: number | null;
                                automatic_payment_methods: any | null;
                                canceled_at: number | null;
                                cancellation_reason: string | null;
                                capture_method: string;
                                client_secret: string | null;
                                confirmation_method: string;
                                created: number;
                                currency: string;
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null;
                                description: string | null;
                                invoice: string | any | null;
                                last_payment_error: any | null;
                                latest_charge: string | any | null;
                                livemode: boolean;
                                metadata: {
                                    [x: string]: string;
                                };
                                next_action: any | null;
                                on_behalf_of: string | any | null;
                                payment_method: string | any | null;
                                payment_method_configuration_details: any | null;
                                payment_method_options: any | null;
                                payment_method_types: Array<string>;
                                processing: any | null;
                                receipt_email: string | null;
                                review: string | any | null;
                                setup_future_usage: string | null;
                                shipping: any | null;
                                source: string | any | any | {
                                    id: string;
                                    object: string;
                                    account?: string | any | null | undefined;
                                    address_city: string | null;
                                    address_country: string | null;
                                    address_line1: string | null;
                                    address_line1_check: string | null;
                                    address_line2: string | null;
                                    address_state: string | null;
                                    address_zip: string | null;
                                    address_zip_check: string | null;
                                    available_payout_methods?: string[] | null | undefined;
                                    brand: string;
                                    country: string | null;
                                    currency?: (string | null) | undefined;
                                    customer?: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null | undefined;
                                    cvc_check: string | null;
                                    default_for_currency?: (boolean | null) | undefined;
                                    deleted?: void | undefined;
                                    description?: string | undefined;
                                    dynamic_last4: string | null;
                                    exp_month: number;
                                    exp_year: number;
                                    fingerprint?: (string | null) | undefined;
                                    funding: string;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4: string;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    name: string | null;
                                    networks?: {
                                        preferred: string | null;
                                    } | undefined;
                                    status?: (string | null) | undefined;
                                    tokenization_method: string | null;
                                } | {
                                    id: string;
                                    object: string;
                                    ach_credit_transfer?: {
                                        account_number?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_account_holder_type?: (string | null) | undefined;
                                        refund_routing_number?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        swift_code?: (string | null) | undefined;
                                    } | undefined;
                                    ach_debit?: {
                                        bank_name?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        type?: (string | null) | undefined;
                                    } | undefined;
                                    acss_debit?: {
                                        bank_address_city?: (string | null) | undefined;
                                        bank_address_line_1?: (string | null) | undefined;
                                        bank_address_line_2?: (string | null) | undefined;
                                        bank_address_postal_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        category?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                    } | undefined;
                                    alipay?: {
                                        data_string?: (string | null) | undefined;
                                        native_url?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    amount: number | null;
                                    au_becs_debit?: {
                                        bsb_number?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                    } | undefined;
                                    bancontact?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    card?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    card_present?: {
                                        application_cryptogram?: string | undefined;
                                        application_preferred_name?: string | undefined;
                                        authorization_code?: (string | null) | undefined;
                                        authorization_response_code?: string | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvm_type?: string | undefined;
                                        data_type?: (string | null) | undefined;
                                        dedicated_file_name?: string | undefined;
                                        description?: string | undefined;
                                        emv_auth_data?: string | undefined;
                                        evidence_customer_signature?: (string | null) | undefined;
                                        evidence_transaction_certificate?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        pos_device_id?: (string | null) | undefined;
                                        pos_entry_mode?: string | undefined;
                                        read_method?: (string | null) | undefined;
                                        reader?: (string | null) | undefined;
                                        terminal_verification_results?: string | undefined;
                                        transaction_status_information?: string | undefined;
                                    } | undefined;
                                    client_secret: string;
                                    code_verification?: {
                                        attempts_remaining: number;
                                        status: string;
                                    } | undefined;
                                    created: number;
                                    currency: string | null;
                                    customer?: string | undefined;
                                    eps?: {
                                        reference?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    flow: string;
                                    giropay?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    ideal?: {
                                        bank?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    klarna?: {
                                        background_image_url?: string | undefined;
                                        client_token?: (string | null) | undefined;
                                        first_name?: string | undefined;
                                        last_name?: string | undefined;
                                        locale?: string | undefined;
                                        logo_url?: string | undefined;
                                        page_title?: string | undefined;
                                        pay_later_asset_urls_descriptive?: string | undefined;
                                        pay_later_asset_urls_standard?: string | undefined;
                                        pay_later_name?: string | undefined;
                                        pay_later_redirect_url?: string | undefined;
                                        pay_now_asset_urls_descriptive?: string | undefined;
                                        pay_now_asset_urls_standard?: string | undefined;
                                        pay_now_name?: string | undefined;
                                        pay_now_redirect_url?: string | undefined;
                                        pay_over_time_asset_urls_descriptive?: string | undefined;
                                        pay_over_time_asset_urls_standard?: string | undefined;
                                        pay_over_time_name?: string | undefined;
                                        pay_over_time_redirect_url?: string | undefined;
                                        payment_method_categories?: string | undefined;
                                        purchase_country?: string | undefined;
                                        purchase_type?: string | undefined;
                                        redirect_url?: string | undefined;
                                        shipping_delay?: number | undefined;
                                        shipping_first_name?: string | undefined;
                                        shipping_last_name?: string | undefined;
                                    } | undefined;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    multibanco?: {
                                        entity?: (string | null) | undefined;
                                        reference?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    owner: {
                                        address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        email: string | null;
                                        name: string | null;
                                        phone: string | null;
                                        verified_address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        verified_email: string | null;
                                        verified_name: string | null;
                                        verified_phone: string | null;
                                    } | null;
                                    p24?: {
                                        reference?: (string | null) | undefined;
                                    } | undefined;
                                    receiver?: {
                                        address: string | null;
                                        amount_charged: number;
                                        amount_received: number;
                                        amount_returned: number;
                                        refund_attributes_method: string;
                                        refund_attributes_status: string;
                                    } | undefined;
                                    redirect?: {
                                        failure_reason: string | null;
                                        return_url: string;
                                        status: string;
                                        url: string;
                                    } | undefined;
                                    sepa_credit_transfer?: {
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    sepa_debit?: {
                                        bank_code?: (string | null) | undefined;
                                        branch_code?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        mandate_reference?: (string | null) | undefined;
                                        mandate_url?: (string | null) | undefined;
                                    } | undefined;
                                    sofort?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    source_order?: {
                                        amount: number;
                                        currency: string;
                                        email?: string | undefined;
                                        items: {
                                            amount: number | null;
                                            currency: string | null;
                                            description: string | null;
                                            parent: string | null;
                                            quantity?: number | undefined;
                                            type: string | null;
                                        }[] | null;
                                        shipping?: {
                                            address?: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | undefined;
                                            carrier?: (string | null) | undefined;
                                            name?: string | undefined;
                                            phone?: (string | null) | undefined;
                                            tracking_number?: (string | null) | undefined;
                                        } | undefined;
                                    } | undefined;
                                    statement_descriptor: string | null;
                                    status: string;
                                    three_d_secure?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        authenticated?: (boolean | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        card?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        customer?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    type: string;
                                    usage: string | null;
                                    wechat?: {
                                        prepay_id?: string | undefined;
                                        qr_code_url?: (string | null) | undefined;
                                        statement_descriptor?: string | undefined;
                                    } | undefined;
                                } | any | any | null;
                                statement_descriptor: string | null;
                                statement_descriptor_suffix: string | null;
                                status: string;
                                transfer_data: any | null;
                                transfer_group: string | null;
                            } | null;
                            payment_settings: {
                                default_mandate: string | null;
                                payment_method_options: any | null;
                                payment_method_types: string[] | null;
                            };
                            period_end: number;
                            period_start: number;
                            post_payment_credit_notes_amount: number;
                            pre_payment_credit_notes_amount: number;
                            quote: string | {
                                id: string;
                                object: string;
                                amount_subtotal: number;
                                amount_total: number;
                                application: string | {
                                    id: string;
                                    object: string;
                                    deleted?: void | undefined;
                                    name: string | null;
                                } | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                    name: string | null;
                                } | null;
                                application_fee_amount: number | null;
                                application_fee_percent: number | null;
                                automatic_tax: any;
                                collection_method: string;
                                computed: any;
                                created: number;
                                currency: string | null;
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null;
                                default_tax_rates?: (string | {
                                    id: string;
                                    object: string;
                                    active: boolean;
                                    country: string | null;
                                    created: number;
                                    description: string | null;
                                    display_name: string;
                                    effective_percentage: number | null;
                                    flat_amount: any | null;
                                    inclusive: boolean;
                                    jurisdiction: string | null;
                                    jurisdiction_level: string | null;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    percentage: number;
                                    rate_type: string | null;
                                    state: string | null;
                                    tax_type: string | null;
                                })[] | undefined;
                                description: string | null;
                                discounts: (string | {
                                    id: string;
                                    object: string;
                                    checkout_session: string | null;
                                    coupon: {
                                        id: string;
                                        object: string;
                                        amount_off: number | null;
                                        applies_to?: {
                                            products: Array<string>;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        currency_options?: {
                                            [x: string]: {
                                                amount_off: number;
                                            };
                                        } | undefined;
                                        deleted?: void | undefined;
                                        duration: string;
                                        duration_in_months: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        percent_off: number | null;
                                        redeem_by: number | null;
                                        times_redeemed: number;
                                        valid: boolean;
                                    };
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    deleted?: void | undefined;
                                    end: number | null;
                                    invoice: string | null;
                                    invoice_item: string | null;
                                    promotion_code: string | {
                                        id: string;
                                        object: string;
                                        active: boolean;
                                        code: string;
                                        coupon: {
                                            id: string;
                                            object: string;
                                            amount_off: number | null;
                                            applies_to?: {
                                                products: Array<string>;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            currency_options?: {
                                                [x: string]: {
                                                    amount_off: number;
                                                };
                                            } | undefined;
                                            deleted?: void | undefined;
                                            duration: string;
                                            duration_in_months: number | null;
                                            livemode: boolean;
                                            max_redemptions: number | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            percent_off: number | null;
                                            redeem_by: number | null;
                                            times_redeemed: number;
                                            valid: boolean;
                                        };
                                        created: number;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        expires_at: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        restrictions: {
                                            currency_options?: {
                                                [x: string]: {
                                                    minimum_amount: number;
                                                };
                                            } | undefined;
                                            first_time_transaction: boolean;
                                            minimum_amount: number | null;
                                            minimum_amount_currency: string | null;
                                        };
                                        times_redeemed: number;
                                    } | null;
                                    start: number;
                                    subscription: string | null;
                                    subscription_item: string | null;
                                })[];
                                expires_at: number;
                                footer: string | null;
                                from_quote: any | null;
                                header: string | null;
                                invoice: string | any | any | null;
                                invoice_settings: any;
                                line_items?: any[] | undefined;
                                livemode: boolean;
                                metadata: {
                                    [x: string]: string;
                                };
                                number: string | null;
                                on_behalf_of: string | any | null;
                                status: string;
                                status_transitions: any;
                                subscription: string | any | null;
                                subscription_data: any;
                                subscription_schedule: string | any | null;
                                test_clock: string | any | null;
                                total_details: any;
                                transfer_data: any | null;
                            } | null;
                            receipt_number: string | null;
                            rendering: {
                                amount_tax_display: string | null;
                                pdf: any | null;
                                template: string | null;
                                template_version: number | null;
                            } | null;
                            shipping_cost: {
                                amount_subtotal: number;
                                amount_tax: number;
                                amount_total: number;
                                shipping_rate: string | any | null;
                                taxes?: any[] | undefined;
                            } | null;
                            shipping_details: {
                                address?: {
                                    city: string | null;
                                    country: string | null;
                                    line1: string | null;
                                    line2: string | null;
                                    postal_code: string | null;
                                    state: string | null;
                                } | undefined;
                                carrier?: (string | null) | undefined;
                                name?: string | undefined;
                                phone?: (string | null) | undefined;
                                tracking_number?: (string | null) | undefined;
                            } | null;
                            starting_balance: number;
                            statement_descriptor: string | null;
                            status: string | null;
                            status_transitions: {
                                finalized_at: number | null;
                                marked_uncollectible_at: number | null;
                                paid_at: number | null;
                                voided_at: number | null;
                            };
                            subscription: string | {
                                id: string;
                                object: string;
                                application: string | {
                                    id: string;
                                    object: string;
                                    deleted?: void | undefined;
                                    name: string | null;
                                } | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                    name: string | null;
                                } | null;
                                application_fee_percent: number | null;
                                automatic_tax: any;
                                billing_cycle_anchor: number;
                                billing_cycle_anchor_config: any | null;
                                billing_thresholds: any | null;
                                cancel_at: number | null;
                                cancel_at_period_end: boolean;
                                canceled_at: number | null;
                                cancellation_details: any | null;
                                collection_method: string;
                                created: number;
                                currency: string;
                                current_period_end: number;
                                current_period_start: number;
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                };
                                days_until_due: number | null;
                                default_payment_method: string | any | null;
                                default_source: string | any | any | {
                                    id: string;
                                    object: string;
                                    account?: string | any | null | undefined;
                                    address_city: string | null;
                                    address_country: string | null;
                                    address_line1: string | null;
                                    address_line1_check: string | null;
                                    address_line2: string | null;
                                    address_state: string | null;
                                    address_zip: string | null;
                                    address_zip_check: string | null;
                                    available_payout_methods?: string[] | null | undefined;
                                    brand: string;
                                    country: string | null;
                                    currency?: (string | null) | undefined;
                                    customer?: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null | undefined;
                                    cvc_check: string | null;
                                    default_for_currency?: (boolean | null) | undefined;
                                    deleted?: void | undefined;
                                    description?: string | undefined;
                                    dynamic_last4: string | null;
                                    exp_month: number;
                                    exp_year: number;
                                    fingerprint?: (string | null) | undefined;
                                    funding: string;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4: string;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    name: string | null;
                                    networks?: {
                                        preferred: string | null;
                                    } | undefined;
                                    status?: (string | null) | undefined;
                                    tokenization_method: string | null;
                                } | {
                                    id: string;
                                    object: string;
                                    ach_credit_transfer?: {
                                        account_number?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_account_holder_type?: (string | null) | undefined;
                                        refund_routing_number?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        swift_code?: (string | null) | undefined;
                                    } | undefined;
                                    ach_debit?: {
                                        bank_name?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        type?: (string | null) | undefined;
                                    } | undefined;
                                    acss_debit?: {
                                        bank_address_city?: (string | null) | undefined;
                                        bank_address_line_1?: (string | null) | undefined;
                                        bank_address_line_2?: (string | null) | undefined;
                                        bank_address_postal_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        category?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                    } | undefined;
                                    alipay?: {
                                        data_string?: (string | null) | undefined;
                                        native_url?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    amount: number | null;
                                    au_becs_debit?: {
                                        bsb_number?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                    } | undefined;
                                    bancontact?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    card?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    card_present?: {
                                        application_cryptogram?: string | undefined;
                                        application_preferred_name?: string | undefined;
                                        authorization_code?: (string | null) | undefined;
                                        authorization_response_code?: string | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvm_type?: string | undefined;
                                        data_type?: (string | null) | undefined;
                                        dedicated_file_name?: string | undefined;
                                        description?: string | undefined;
                                        emv_auth_data?: string | undefined;
                                        evidence_customer_signature?: (string | null) | undefined;
                                        evidence_transaction_certificate?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        pos_device_id?: (string | null) | undefined;
                                        pos_entry_mode?: string | undefined;
                                        read_method?: (string | null) | undefined;
                                        reader?: (string | null) | undefined;
                                        terminal_verification_results?: string | undefined;
                                        transaction_status_information?: string | undefined;
                                    } | undefined;
                                    client_secret: string;
                                    code_verification?: {
                                        attempts_remaining: number;
                                        status: string;
                                    } | undefined;
                                    created: number;
                                    currency: string | null;
                                    customer?: string | undefined;
                                    eps?: {
                                        reference?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    flow: string;
                                    giropay?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    ideal?: {
                                        bank?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    klarna?: {
                                        background_image_url?: string | undefined;
                                        client_token?: (string | null) | undefined;
                                        first_name?: string | undefined;
                                        last_name?: string | undefined;
                                        locale?: string | undefined;
                                        logo_url?: string | undefined;
                                        page_title?: string | undefined;
                                        pay_later_asset_urls_descriptive?: string | undefined;
                                        pay_later_asset_urls_standard?: string | undefined;
                                        pay_later_name?: string | undefined;
                                        pay_later_redirect_url?: string | undefined;
                                        pay_now_asset_urls_descriptive?: string | undefined;
                                        pay_now_asset_urls_standard?: string | undefined;
                                        pay_now_name?: string | undefined;
                                        pay_now_redirect_url?: string | undefined;
                                        pay_over_time_asset_urls_descriptive?: string | undefined;
                                        pay_over_time_asset_urls_standard?: string | undefined;
                                        pay_over_time_name?: string | undefined;
                                        pay_over_time_redirect_url?: string | undefined;
                                        payment_method_categories?: string | undefined;
                                        purchase_country?: string | undefined;
                                        purchase_type?: string | undefined;
                                        redirect_url?: string | undefined;
                                        shipping_delay?: number | undefined;
                                        shipping_first_name?: string | undefined;
                                        shipping_last_name?: string | undefined;
                                    } | undefined;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    multibanco?: {
                                        entity?: (string | null) | undefined;
                                        reference?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    owner: {
                                        address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        email: string | null;
                                        name: string | null;
                                        phone: string | null;
                                        verified_address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        verified_email: string | null;
                                        verified_name: string | null;
                                        verified_phone: string | null;
                                    } | null;
                                    p24?: {
                                        reference?: (string | null) | undefined;
                                    } | undefined;
                                    receiver?: {
                                        address: string | null;
                                        amount_charged: number;
                                        amount_received: number;
                                        amount_returned: number;
                                        refund_attributes_method: string;
                                        refund_attributes_status: string;
                                    } | undefined;
                                    redirect?: {
                                        failure_reason: string | null;
                                        return_url: string;
                                        status: string;
                                        url: string;
                                    } | undefined;
                                    sepa_credit_transfer?: {
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    sepa_debit?: {
                                        bank_code?: (string | null) | undefined;
                                        branch_code?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        mandate_reference?: (string | null) | undefined;
                                        mandate_url?: (string | null) | undefined;
                                    } | undefined;
                                    sofort?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    source_order?: {
                                        amount: number;
                                        currency: string;
                                        email?: string | undefined;
                                        items: {
                                            amount: number | null;
                                            currency: string | null;
                                            description: string | null;
                                            parent: string | null;
                                            quantity?: number | undefined;
                                            type: string | null;
                                        }[] | null;
                                        shipping?: {
                                            address?: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | undefined;
                                            carrier?: (string | null) | undefined;
                                            name?: string | undefined;
                                            phone?: (string | null) | undefined;
                                            tracking_number?: (string | null) | undefined;
                                        } | undefined;
                                    } | undefined;
                                    statement_descriptor: string | null;
                                    status: string;
                                    three_d_secure?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        authenticated?: (boolean | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        card?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        customer?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    type: string;
                                    usage: string | null;
                                    wechat?: {
                                        prepay_id?: string | undefined;
                                        qr_code_url?: (string | null) | undefined;
                                        statement_descriptor?: string | undefined;
                                    } | undefined;
                                } | null;
                                default_tax_rates?: {
                                    id: string;
                                    object: string;
                                    active: boolean;
                                    country: string | null;
                                    created: number;
                                    description: string | null;
                                    display_name: string;
                                    effective_percentage: number | null;
                                    flat_amount: any | null;
                                    inclusive: boolean;
                                    jurisdiction: string | null;
                                    jurisdiction_level: string | null;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    percentage: number;
                                    rate_type: string | null;
                                    state: string | null;
                                    tax_type: string | null;
                                }[] | null | undefined;
                                description: string | null;
                                discount: {
                                    id: string;
                                    object: string;
                                    checkout_session: string | null;
                                    coupon: {
                                        id: string;
                                        object: string;
                                        amount_off: number | null;
                                        applies_to?: {
                                            products: Array<string>;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        currency_options?: {
                                            [x: string]: {
                                                amount_off: number;
                                            };
                                        } | undefined;
                                        deleted?: void | undefined;
                                        duration: string;
                                        duration_in_months: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        percent_off: number | null;
                                        redeem_by: number | null;
                                        times_redeemed: number;
                                        valid: boolean;
                                    };
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    deleted?: void | undefined;
                                    end: number | null;
                                    invoice: string | null;
                                    invoice_item: string | null;
                                    promotion_code: string | {
                                        id: string;
                                        object: string;
                                        active: boolean;
                                        code: string;
                                        coupon: {
                                            id: string;
                                            object: string;
                                            amount_off: number | null;
                                            applies_to?: {
                                                products: Array<string>;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            currency_options?: {
                                                [x: string]: {
                                                    amount_off: number;
                                                };
                                            } | undefined;
                                            deleted?: void | undefined;
                                            duration: string;
                                            duration_in_months: number | null;
                                            livemode: boolean;
                                            max_redemptions: number | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            percent_off: number | null;
                                            redeem_by: number | null;
                                            times_redeemed: number;
                                            valid: boolean;
                                        };
                                        created: number;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        expires_at: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        restrictions: {
                                            currency_options?: {
                                                [x: string]: {
                                                    minimum_amount: number;
                                                };
                                            } | undefined;
                                            first_time_transaction: boolean;
                                            minimum_amount: number | null;
                                            minimum_amount_currency: string | null;
                                        };
                                        times_redeemed: number;
                                    } | null;
                                    start: number;
                                    subscription: string | null;
                                    subscription_item: string | null;
                                } | null;
                                discounts: (string | {
                                    id: string;
                                    object: string;
                                    checkout_session: string | null;
                                    coupon: {
                                        id: string;
                                        object: string;
                                        amount_off: number | null;
                                        applies_to?: {
                                            products: Array<string>;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        currency_options?: {
                                            [x: string]: {
                                                amount_off: number;
                                            };
                                        } | undefined;
                                        deleted?: void | undefined;
                                        duration: string;
                                        duration_in_months: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        percent_off: number | null;
                                        redeem_by: number | null;
                                        times_redeemed: number;
                                        valid: boolean;
                                    };
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    deleted?: void | undefined;
                                    end: number | null;
                                    invoice: string | null;
                                    invoice_item: string | null;
                                    promotion_code: string | {
                                        id: string;
                                        object: string;
                                        active: boolean;
                                        code: string;
                                        coupon: {
                                            id: string;
                                            object: string;
                                            amount_off: number | null;
                                            applies_to?: {
                                                products: Array<string>;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            currency_options?: {
                                                [x: string]: {
                                                    amount_off: number;
                                                };
                                            } | undefined;
                                            deleted?: void | undefined;
                                            duration: string;
                                            duration_in_months: number | null;
                                            livemode: boolean;
                                            max_redemptions: number | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            percent_off: number | null;
                                            redeem_by: number | null;
                                            times_redeemed: number;
                                            valid: boolean;
                                        };
                                        created: number;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        expires_at: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        restrictions: {
                                            currency_options?: {
                                                [x: string]: {
                                                    minimum_amount: number;
                                                };
                                            } | undefined;
                                            first_time_transaction: boolean;
                                            minimum_amount: number | null;
                                            minimum_amount_currency: string | null;
                                        };
                                        times_redeemed: number;
                                    } | null;
                                    start: number;
                                    subscription: string | null;
                                    subscription_item: string | null;
                                })[];
                                ended_at: number | null;
                                invoice_settings: any;
                                items: any[];
                                latest_invoice: string | any | null;
                                livemode: boolean;
                                metadata: {
                                    [x: string]: string;
                                };
                                next_pending_invoice_item_invoice: number | null;
                                on_behalf_of: string | any | null;
                                pause_collection: any | null;
                                payment_settings: any | null;
                                pending_invoice_item_interval: any | null;
                                pending_setup_intent: string | {
                                    id: string;
                                    object: string;
                                    application: string | {
                                        id: string;
                                        object: string;
                                        deleted?: void | undefined;
                                        name: string | null;
                                    } | null;
                                    attach_to_self?: boolean | undefined;
                                    automatic_payment_methods: any | null;
                                    cancellation_reason: string | null;
                                    client_secret: string | null;
                                    created: number;
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    description: string | null;
                                    flow_directions: string[] | null;
                                    last_setup_error: any | null;
                                    latest_attempt: string | any | null;
                                    livemode: boolean;
                                    mandate: string | any | null;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    next_action: any | null;
                                    on_behalf_of: string | any | null;
                                    payment_method: string | any | null;
                                    payment_method_configuration_details: any | null;
                                    payment_method_options: any | null;
                                    payment_method_types: Array<string>;
                                    single_use_mandate: string | any | null;
                                    status: string;
                                    usage: string;
                                } | null;
                                pending_update: any | null;
                                schedule: string | any | null;
                                start_date: number;
                                status: string;
                                test_clock: string | any | null;
                                transfer_data: any | null;
                                trial_end: number | null;
                                trial_settings: any | null;
                                trial_start: number | null;
                            } | null;
                            subscription_details: {
                                metadata: {
                                    [x: string]: string;
                                } | null;
                            } | null;
                            subscription_proration_date?: number | undefined;
                            subtotal: number;
                            subtotal_excluding_tax: number | null;
                            tax: number | null;
                            test_clock: string | {
                                id: string;
                                object: string;
                                created: number;
                                deleted?: void | undefined;
                                deletes_after: number;
                                frozen_time: number;
                                livemode: boolean;
                                name: string | null;
                                status: string;
                                status_details: any;
                            } | null;
                            threshold_reason?: {
                                amount_gte: number | null;
                                item_reasons: any[];
                            } | undefined;
                            total: number;
                            total_discount_amounts: {
                                amount: number;
                                discount: string | {
                                    id: string;
                                    object: string;
                                    checkout_session: string | null;
                                    coupon: {
                                        id: string;
                                        object: string;
                                        amount_off: number | null;
                                        applies_to?: {
                                            products: Array<string>;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        currency_options?: {
                                            [x: string]: {
                                                amount_off: number;
                                            };
                                        } | undefined;
                                        deleted?: void | undefined;
                                        duration: string;
                                        duration_in_months: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        percent_off: number | null;
                                        redeem_by: number | null;
                                        times_redeemed: number;
                                        valid: boolean;
                                    };
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    deleted?: void | undefined;
                                    end: number | null;
                                    invoice: string | null;
                                    invoice_item: string | null;
                                    promotion_code: string | {
                                        id: string;
                                        object: string;
                                        active: boolean;
                                        code: string;
                                        coupon: {
                                            id: string;
                                            object: string;
                                            amount_off: number | null;
                                            applies_to?: {
                                                products: Array<string>;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            currency_options?: {
                                                [x: string]: {
                                                    amount_off: number;
                                                };
                                            } | undefined;
                                            deleted?: void | undefined;
                                            duration: string;
                                            duration_in_months: number | null;
                                            livemode: boolean;
                                            max_redemptions: number | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            percent_off: number | null;
                                            redeem_by: number | null;
                                            times_redeemed: number;
                                            valid: boolean;
                                        };
                                        created: number;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        expires_at: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        restrictions: {
                                            currency_options?: {
                                                [x: string]: {
                                                    minimum_amount: number;
                                                };
                                            } | undefined;
                                            first_time_transaction: boolean;
                                            minimum_amount: number | null;
                                            minimum_amount_currency: string | null;
                                        };
                                        times_redeemed: number;
                                    } | null;
                                    start: number;
                                    subscription: string | null;
                                    subscription_item: string | null;
                                } | {
                                    id: string;
                                    object: string;
                                    checkout_session: string | null;
                                    coupon: {
                                        id: string;
                                        object: string;
                                        amount_off: number | null;
                                        applies_to?: {
                                            products: Array<string>;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        currency_options?: {
                                            [x: string]: {
                                                amount_off: number;
                                            };
                                        } | undefined;
                                        deleted?: void | undefined;
                                        duration: string;
                                        duration_in_months: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        percent_off: number | null;
                                        redeem_by: number | null;
                                        times_redeemed: number;
                                        valid: boolean;
                                    };
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    deleted: boolean;
                                    invoice: string | null;
                                    invoice_item: string | null;
                                    promotion_code: string | {
                                        id: string;
                                        object: string;
                                        active: boolean;
                                        code: string;
                                        coupon: {
                                            id: string;
                                            object: string;
                                            amount_off: number | null;
                                            applies_to?: {
                                                products: Array<string>;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            currency_options?: {
                                                [x: string]: {
                                                    amount_off: number;
                                                };
                                            } | undefined;
                                            deleted?: void | undefined;
                                            duration: string;
                                            duration_in_months: number | null;
                                            livemode: boolean;
                                            max_redemptions: number | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            percent_off: number | null;
                                            redeem_by: number | null;
                                            times_redeemed: number;
                                            valid: boolean;
                                        };
                                        created: number;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        expires_at: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        restrictions: {
                                            currency_options?: {
                                                [x: string]: {
                                                    minimum_amount: number;
                                                };
                                            } | undefined;
                                            first_time_transaction: boolean;
                                            minimum_amount: number | null;
                                            minimum_amount_currency: string | null;
                                        };
                                        times_redeemed: number;
                                    } | null;
                                    start: number;
                                    subscription: string | null;
                                    subscription_item: string | null;
                                };
                            }[] | null;
                            total_excluding_tax: number | null;
                            total_pretax_credit_amounts?: {
                                amount: number;
                                credit_balance_transaction?: string | any | null | undefined;
                                discount?: string | {
                                    id: string;
                                    object: string;
                                    checkout_session: string | null;
                                    coupon: {
                                        id: string;
                                        object: string;
                                        amount_off: number | null;
                                        applies_to?: {
                                            products: Array<string>;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        currency_options?: {
                                            [x: string]: {
                                                amount_off: number;
                                            };
                                        } | undefined;
                                        deleted?: void | undefined;
                                        duration: string;
                                        duration_in_months: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        percent_off: number | null;
                                        redeem_by: number | null;
                                        times_redeemed: number;
                                        valid: boolean;
                                    };
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    deleted?: void | undefined;
                                    end: number | null;
                                    invoice: string | null;
                                    invoice_item: string | null;
                                    promotion_code: string | {
                                        id: string;
                                        object: string;
                                        active: boolean;
                                        code: string;
                                        coupon: {
                                            id: string;
                                            object: string;
                                            amount_off: number | null;
                                            applies_to?: {
                                                products: Array<string>;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            currency_options?: {
                                                [x: string]: {
                                                    amount_off: number;
                                                };
                                            } | undefined;
                                            deleted?: void | undefined;
                                            duration: string;
                                            duration_in_months: number | null;
                                            livemode: boolean;
                                            max_redemptions: number | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            percent_off: number | null;
                                            redeem_by: number | null;
                                            times_redeemed: number;
                                            valid: boolean;
                                        };
                                        created: number;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        expires_at: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        restrictions: {
                                            currency_options?: {
                                                [x: string]: {
                                                    minimum_amount: number;
                                                };
                                            } | undefined;
                                            first_time_transaction: boolean;
                                            minimum_amount: number | null;
                                            minimum_amount_currency: string | null;
                                        };
                                        times_redeemed: number;
                                    } | null;
                                    start: number;
                                    subscription: string | null;
                                    subscription_item: string | null;
                                } | {
                                    id: string;
                                    object: string;
                                    checkout_session: string | null;
                                    coupon: {
                                        id: string;
                                        object: string;
                                        amount_off: number | null;
                                        applies_to?: {
                                            products: Array<string>;
                                        } | undefined;
                                        created: number;
                                        currency: string | null;
                                        currency_options?: {
                                            [x: string]: {
                                                amount_off: number;
                                            };
                                        } | undefined;
                                        deleted?: void | undefined;
                                        duration: string;
                                        duration_in_months: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        name: string | null;
                                        percent_off: number | null;
                                        redeem_by: number | null;
                                        times_redeemed: number;
                                        valid: boolean;
                                    };
                                    customer: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null;
                                    deleted: boolean;
                                    invoice: string | null;
                                    invoice_item: string | null;
                                    promotion_code: string | {
                                        id: string;
                                        object: string;
                                        active: boolean;
                                        code: string;
                                        coupon: {
                                            id: string;
                                            object: string;
                                            amount_off: number | null;
                                            applies_to?: {
                                                products: Array<string>;
                                            } | undefined;
                                            created: number;
                                            currency: string | null;
                                            currency_options?: {
                                                [x: string]: {
                                                    amount_off: number;
                                                };
                                            } | undefined;
                                            deleted?: void | undefined;
                                            duration: string;
                                            duration_in_months: number | null;
                                            livemode: boolean;
                                            max_redemptions: number | null;
                                            metadata: {
                                                [x: string]: string;
                                            } | null;
                                            name: string | null;
                                            percent_off: number | null;
                                            redeem_by: number | null;
                                            times_redeemed: number;
                                            valid: boolean;
                                        };
                                        created: number;
                                        customer: string | any | {
                                            id: string;
                                            object: string;
                                            deleted: boolean;
                                        } | null;
                                        expires_at: number | null;
                                        livemode: boolean;
                                        max_redemptions: number | null;
                                        metadata: {
                                            [x: string]: string;
                                        } | null;
                                        restrictions: {
                                            currency_options?: {
                                                [x: string]: {
                                                    minimum_amount: number;
                                                };
                                            } | undefined;
                                            first_time_transaction: boolean;
                                            minimum_amount: number | null;
                                            minimum_amount_currency: string | null;
                                        };
                                        times_redeemed: number;
                                    } | null;
                                    start: number;
                                    subscription: string | null;
                                    subscription_item: string | null;
                                } | undefined;
                                type: string;
                            }[] | null | undefined;
                            total_tax_amounts: {
                                amount: number;
                                inclusive: boolean;
                                tax_rate: string | {
                                    id: string;
                                    object: string;
                                    active: boolean;
                                    country: string | null;
                                    created: number;
                                    description: string | null;
                                    display_name: string;
                                    effective_percentage: number | null;
                                    flat_amount: any | null;
                                    inclusive: boolean;
                                    jurisdiction: string | null;
                                    jurisdiction_level: string | null;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    percentage: number;
                                    rate_type: string | null;
                                    state: string | null;
                                    tax_type: string | null;
                                };
                                taxability_reason: string | null;
                                taxable_amount: number | null;
                            }[];
                            transfer_data: {
                                amount: number | null;
                                destination: string | any;
                            } | null;
                            webhooks_delivered_at: number | null;
                        } | null;
                        level3?: {
                            customer_reference?: string | undefined;
                            line_items: {
                                discount_amount: number | null;
                                product_code: string;
                                product_description: string;
                                quantity: number | null;
                                tax_amount: number | null;
                                unit_cost: number | null;
                            }[];
                            merchant_reference: string;
                            shipping_address_zip?: string | undefined;
                            shipping_amount?: number | undefined;
                            shipping_from_zip?: string | undefined;
                        } | undefined;
                        livemode: boolean;
                        metadata: {
                            [x: string]: string;
                        };
                        on_behalf_of: string | any | null;
                        outcome: {
                            network_status: string | null;
                            reason: string | null;
                            risk_level?: string | undefined;
                            risk_score?: number | undefined;
                            rule?: string | {
                                action: string;
                                id: string;
                                predicate: string;
                            } | undefined;
                            seller_message: string | null;
                            type: string;
                        } | null;
                        paid: boolean;
                        payment_intent: string | {
                            id: string;
                            object: string;
                            amount: number;
                            amount_capturable: number;
                            amount_details?: any | undefined;
                            amount_received: number;
                            application: string | {
                                id: string;
                                object: string;
                                deleted?: void | undefined;
                                name: string | null;
                            } | null;
                            application_fee_amount: number | null;
                            automatic_payment_methods: any | null;
                            canceled_at: number | null;
                            cancellation_reason: string | null;
                            capture_method: string;
                            client_secret: string | null;
                            confirmation_method: string;
                            created: number;
                            currency: string;
                            customer: string | any | {
                                id: string;
                                object: string;
                                deleted: boolean;
                            } | null;
                            description: string | null;
                            invoice: string | any | null;
                            last_payment_error: any | null;
                            latest_charge: string | any | null;
                            livemode: boolean;
                            metadata: {
                                [x: string]: string;
                            };
                            next_action: any | null;
                            on_behalf_of: string | any | null;
                            payment_method: string | any | null;
                            payment_method_configuration_details: any | null;
                            payment_method_options: any | null;
                            payment_method_types: Array<string>;
                            processing: any | null;
                            receipt_email: string | null;
                            review: string | any | null;
                            setup_future_usage: string | null;
                            shipping: any | null;
                            source: string | any | any | {
                                id: string;
                                object: string;
                                account?: string | any | null | undefined;
                                address_city: string | null;
                                address_country: string | null;
                                address_line1: string | null;
                                address_line1_check: string | null;
                                address_line2: string | null;
                                address_state: string | null;
                                address_zip: string | null;
                                address_zip_check: string | null;
                                available_payout_methods?: string[] | null | undefined;
                                brand: string;
                                country: string | null;
                                currency?: (string | null) | undefined;
                                customer?: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null | undefined;
                                cvc_check: string | null;
                                default_for_currency?: (boolean | null) | undefined;
                                deleted?: void | undefined;
                                description?: string | undefined;
                                dynamic_last4: string | null;
                                exp_month: number;
                                exp_year: number;
                                fingerprint?: (string | null) | undefined;
                                funding: string;
                                iin?: string | undefined;
                                issuer?: string | undefined;
                                last4: string;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                name: string | null;
                                networks?: {
                                    preferred: string | null;
                                } | undefined;
                                status?: (string | null) | undefined;
                                tokenization_method: string | null;
                            } | {
                                id: string;
                                object: string;
                                ach_credit_transfer?: {
                                    account_number?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    refund_account_holder_name?: (string | null) | undefined;
                                    refund_account_holder_type?: (string | null) | undefined;
                                    refund_routing_number?: (string | null) | undefined;
                                    routing_number?: (string | null) | undefined;
                                    swift_code?: (string | null) | undefined;
                                } | undefined;
                                ach_debit?: {
                                    bank_name?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                    routing_number?: (string | null) | undefined;
                                    type?: (string | null) | undefined;
                                } | undefined;
                                acss_debit?: {
                                    bank_address_city?: (string | null) | undefined;
                                    bank_address_line_1?: (string | null) | undefined;
                                    bank_address_line_2?: (string | null) | undefined;
                                    bank_address_postal_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    category?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                    routing_number?: (string | null) | undefined;
                                } | undefined;
                                alipay?: {
                                    data_string?: (string | null) | undefined;
                                    native_url?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                amount: number | null;
                                au_becs_debit?: {
                                    bsb_number?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                } | undefined;
                                bancontact?: {
                                    bank_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    iban_last4?: (string | null) | undefined;
                                    preferred_language?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                card?: {
                                    address_line1_check?: (string | null) | undefined;
                                    address_zip_check?: (string | null) | undefined;
                                    brand?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    cvc_check?: (string | null) | undefined;
                                    description?: string | undefined;
                                    dynamic_last4?: (string | null) | undefined;
                                    exp_month?: (number | null) | undefined;
                                    exp_year?: (number | null) | undefined;
                                    fingerprint?: string | undefined;
                                    funding?: (string | null) | undefined;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4?: (string | null) | undefined;
                                    name?: (string | null) | undefined;
                                    three_d_secure?: string | undefined;
                                    tokenization_method?: (string | null) | undefined;
                                } | undefined;
                                card_present?: {
                                    application_cryptogram?: string | undefined;
                                    application_preferred_name?: string | undefined;
                                    authorization_code?: (string | null) | undefined;
                                    authorization_response_code?: string | undefined;
                                    brand?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    cvm_type?: string | undefined;
                                    data_type?: (string | null) | undefined;
                                    dedicated_file_name?: string | undefined;
                                    description?: string | undefined;
                                    emv_auth_data?: string | undefined;
                                    evidence_customer_signature?: (string | null) | undefined;
                                    evidence_transaction_certificate?: (string | null) | undefined;
                                    exp_month?: (number | null) | undefined;
                                    exp_year?: (number | null) | undefined;
                                    fingerprint?: string | undefined;
                                    funding?: (string | null) | undefined;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4?: (string | null) | undefined;
                                    pos_device_id?: (string | null) | undefined;
                                    pos_entry_mode?: string | undefined;
                                    read_method?: (string | null) | undefined;
                                    reader?: (string | null) | undefined;
                                    terminal_verification_results?: string | undefined;
                                    transaction_status_information?: string | undefined;
                                } | undefined;
                                client_secret: string;
                                code_verification?: {
                                    attempts_remaining: number;
                                    status: string;
                                } | undefined;
                                created: number;
                                currency: string | null;
                                customer?: string | undefined;
                                eps?: {
                                    reference?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                flow: string;
                                giropay?: {
                                    bank_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                ideal?: {
                                    bank?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    iban_last4?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                klarna?: {
                                    background_image_url?: string | undefined;
                                    client_token?: (string | null) | undefined;
                                    first_name?: string | undefined;
                                    last_name?: string | undefined;
                                    locale?: string | undefined;
                                    logo_url?: string | undefined;
                                    page_title?: string | undefined;
                                    pay_later_asset_urls_descriptive?: string | undefined;
                                    pay_later_asset_urls_standard?: string | undefined;
                                    pay_later_name?: string | undefined;
                                    pay_later_redirect_url?: string | undefined;
                                    pay_now_asset_urls_descriptive?: string | undefined;
                                    pay_now_asset_urls_standard?: string | undefined;
                                    pay_now_name?: string | undefined;
                                    pay_now_redirect_url?: string | undefined;
                                    pay_over_time_asset_urls_descriptive?: string | undefined;
                                    pay_over_time_asset_urls_standard?: string | undefined;
                                    pay_over_time_name?: string | undefined;
                                    pay_over_time_redirect_url?: string | undefined;
                                    payment_method_categories?: string | undefined;
                                    purchase_country?: string | undefined;
                                    purchase_type?: string | undefined;
                                    redirect_url?: string | undefined;
                                    shipping_delay?: number | undefined;
                                    shipping_first_name?: string | undefined;
                                    shipping_last_name?: string | undefined;
                                } | undefined;
                                livemode: boolean;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                multibanco?: {
                                    entity?: (string | null) | undefined;
                                    reference?: (string | null) | undefined;
                                    refund_account_holder_address_city?: (string | null) | undefined;
                                    refund_account_holder_address_country?: (string | null) | undefined;
                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                    refund_account_holder_address_state?: (string | null) | undefined;
                                    refund_account_holder_name?: (string | null) | undefined;
                                    refund_iban?: (string | null) | undefined;
                                } | undefined;
                                owner: {
                                    address: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | null;
                                    email: string | null;
                                    name: string | null;
                                    phone: string | null;
                                    verified_address: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | null;
                                    verified_email: string | null;
                                    verified_name: string | null;
                                    verified_phone: string | null;
                                } | null;
                                p24?: {
                                    reference?: (string | null) | undefined;
                                } | undefined;
                                receiver?: {
                                    address: string | null;
                                    amount_charged: number;
                                    amount_received: number;
                                    amount_returned: number;
                                    refund_attributes_method: string;
                                    refund_attributes_status: string;
                                } | undefined;
                                redirect?: {
                                    failure_reason: string | null;
                                    return_url: string;
                                    status: string;
                                    url: string;
                                } | undefined;
                                sepa_credit_transfer?: {
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    iban?: (string | null) | undefined;
                                    refund_account_holder_address_city?: (string | null) | undefined;
                                    refund_account_holder_address_country?: (string | null) | undefined;
                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                    refund_account_holder_address_state?: (string | null) | undefined;
                                    refund_account_holder_name?: (string | null) | undefined;
                                    refund_iban?: (string | null) | undefined;
                                } | undefined;
                                sepa_debit?: {
                                    bank_code?: (string | null) | undefined;
                                    branch_code?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                    mandate_reference?: (string | null) | undefined;
                                    mandate_url?: (string | null) | undefined;
                                } | undefined;
                                sofort?: {
                                    bank_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    iban_last4?: (string | null) | undefined;
                                    preferred_language?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                source_order?: {
                                    amount: number;
                                    currency: string;
                                    email?: string | undefined;
                                    items: {
                                        amount: number | null;
                                        currency: string | null;
                                        description: string | null;
                                        parent: string | null;
                                        quantity?: number | undefined;
                                        type: string | null;
                                    }[] | null;
                                    shipping?: {
                                        address?: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | undefined;
                                        carrier?: (string | null) | undefined;
                                        name?: string | undefined;
                                        phone?: (string | null) | undefined;
                                        tracking_number?: (string | null) | undefined;
                                    } | undefined;
                                } | undefined;
                                statement_descriptor: string | null;
                                status: string;
                                three_d_secure?: {
                                    address_line1_check?: (string | null) | undefined;
                                    address_zip_check?: (string | null) | undefined;
                                    authenticated?: (boolean | null) | undefined;
                                    brand?: (string | null) | undefined;
                                    card?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    customer?: (string | null) | undefined;
                                    cvc_check?: (string | null) | undefined;
                                    description?: string | undefined;
                                    dynamic_last4?: (string | null) | undefined;
                                    exp_month?: (number | null) | undefined;
                                    exp_year?: (number | null) | undefined;
                                    fingerprint?: string | undefined;
                                    funding?: (string | null) | undefined;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4?: (string | null) | undefined;
                                    name?: (string | null) | undefined;
                                    three_d_secure?: string | undefined;
                                    tokenization_method?: (string | null) | undefined;
                                } | undefined;
                                type: string;
                                usage: string | null;
                                wechat?: {
                                    prepay_id?: string | undefined;
                                    qr_code_url?: (string | null) | undefined;
                                    statement_descriptor?: string | undefined;
                                } | undefined;
                            } | any | any | null;
                            statement_descriptor: string | null;
                            statement_descriptor_suffix: string | null;
                            status: string;
                            transfer_data: any | null;
                            transfer_group: string | null;
                        } | null;
                        payment_method: string | null;
                        payment_method_details: {
                            ach_credit_transfer?: {
                                account_number: string | null;
                                bank_name: string | null;
                                routing_number: string | null;
                                swift_code: string | null;
                            } | undefined;
                            ach_debit?: {
                                account_holder_type: string | null;
                                bank_name: string | null;
                                country: string | null;
                                fingerprint: string | null;
                                last4: string | null;
                                routing_number: string | null;
                            } | undefined;
                            acss_debit?: {
                                bank_name: string | null;
                                fingerprint: string | null;
                                institution_number: string | null;
                                last4: string | null;
                                mandate?: string | undefined;
                                transit_number: string | null;
                            } | undefined;
                            affirm?: {
                                transaction_id: string | null;
                            } | undefined;
                            afterpay_clearpay?: {
                                order_id: string | null;
                                reference: string | null;
                            } | undefined;
                            alipay?: {
                                buyer_id?: string | undefined;
                                fingerprint: string | null;
                                transaction_id: string | null;
                            } | undefined;
                            alma?: {} | undefined;
                            amazon_pay?: {} | undefined;
                            au_becs_debit?: {
                                bsb_number: string | null;
                                fingerprint: string | null;
                                last4: string | null;
                                mandate?: string | undefined;
                            } | undefined;
                            bacs_debit?: {
                                fingerprint: string | null;
                                last4: string | null;
                                mandate: string | null;
                                sort_code: string | null;
                            } | undefined;
                            bancontact?: {
                                bank_code: string | null;
                                bank_name: string | null;
                                bic: string | null;
                                generated_sepa_debit: string | any | null;
                                generated_sepa_debit_mandate: string | any | null;
                                iban_last4: string | null;
                                preferred_language: string | null;
                                verified_name: string | null;
                            } | undefined;
                            blik?: {
                                buyer_id: string | null;
                            } | undefined;
                            boleto?: {
                                tax_id: string;
                            } | undefined;
                            card?: {
                                amount_authorized: number | null;
                                authorization_code: string | null;
                                brand: string | null;
                                capture_before?: number | undefined;
                                checks: any | null;
                                country: string | null;
                                description?: (string | null) | undefined;
                                exp_month: number;
                                exp_year: number;
                                extended_authorization?: any | undefined;
                                fingerprint?: (string | null) | undefined;
                                funding: string | null;
                                iin?: (string | null) | undefined;
                                incremental_authorization?: any | undefined;
                                installments: any | null;
                                issuer?: (string | null) | undefined;
                                last4: string | null;
                                mandate: string | null;
                                moto?: (boolean | null) | undefined;
                                multicapture?: any | undefined;
                                network: string | null;
                                network_token?: any | null | undefined;
                                overcapture?: any | undefined;
                                three_d_secure: any | null;
                                wallet: any | null;
                            } | undefined;
                            card_present?: {
                                amount_authorized: number | null;
                                brand: string | null;
                                brand_product: string | null;
                                capture_before?: number | undefined;
                                cardholder_name: string | null;
                                country: string | null;
                                description?: (string | null) | undefined;
                                emv_auth_data: string | null;
                                exp_month: number;
                                exp_year: number;
                                fingerprint: string | null;
                                funding: string | null;
                                generated_card: string | null;
                                iin?: (string | null) | undefined;
                                incremental_authorization_supported: boolean;
                                issuer?: (string | null) | undefined;
                                last4: string | null;
                                network: string | null;
                                network_transaction_id: string | null;
                                offline: any | null;
                                overcapture_supported: boolean;
                                preferred_locales: Array<string> | null;
                                read_method: string | null;
                                receipt: any | null;
                                wallet?: any | undefined;
                            } | undefined;
                            cashapp?: {
                                buyer_id: string | null;
                                cashtag: string | null;
                            } | undefined;
                            customer_balance?: {} | undefined;
                            eps?: {
                                bank: string | null;
                                verified_name: string | null;
                            } | undefined;
                            fpx?: {
                                account_holder_type: string | null;
                                bank: string;
                                transaction_id: string | null;
                            } | undefined;
                            giropay?: {
                                bank_code: string | null;
                                bank_name: string | null;
                                bic: string | null;
                                verified_name: string | null;
                            } | undefined;
                            grabpay?: {
                                transaction_id: string | null;
                            } | undefined;
                            ideal?: {
                                bank: string | null;
                                bic: string | null;
                                generated_sepa_debit: string | any | null;
                                generated_sepa_debit_mandate: string | any | null;
                                iban_last4: string | null;
                                verified_name: string | null;
                            } | undefined;
                            interac_present?: {
                                brand: string | null;
                                cardholder_name: string | null;
                                country: string | null;
                                description?: (string | null) | undefined;
                                emv_auth_data: string | null;
                                exp_month: number;
                                exp_year: number;
                                fingerprint: string | null;
                                funding: string | null;
                                generated_card: string | null;
                                iin?: (string | null) | undefined;
                                issuer?: (string | null) | undefined;
                                last4: string | null;
                                network: string | null;
                                network_transaction_id: string | null;
                                preferred_locales: Array<string> | null;
                                read_method: string | null;
                                receipt: any | null;
                            } | undefined;
                            kakao_pay?: {
                                buyer_id: string | null;
                            } | undefined;
                            klarna?: {
                                payer_details: any | null;
                                payment_method_category: string | null;
                                preferred_locale: string | null;
                            } | undefined;
                            konbini?: {
                                store: any | null;
                            } | undefined;
                            kr_card?: {
                                brand: string | null;
                                buyer_id: string | null;
                                last4: string | null;
                            } | undefined;
                            link?: {
                                country: string | null;
                            } | undefined;
                            mobilepay?: {
                                card: any | null;
                            } | undefined;
                            multibanco?: {
                                entity: string | null;
                                reference: string | null;
                            } | undefined;
                            naver_pay?: {
                                buyer_id: string | null;
                            } | undefined;
                            oxxo?: {
                                number: string | null;
                            } | undefined;
                            p24?: {
                                bank: string | null;
                                reference: string | null;
                                verified_name: string | null;
                            } | undefined;
                            payco?: {
                                buyer_id: string | null;
                            } | undefined;
                            paynow?: {
                                reference: string | null;
                            } | undefined;
                            paypal?: {
                                payer_email: string | null;
                                payer_id: string | null;
                                payer_name: string | null;
                                seller_protection: any | null;
                                transaction_id: string | null;
                            } | undefined;
                            pix?: {
                                bank_transaction_id?: (string | null) | undefined;
                            } | undefined;
                            promptpay?: {
                                reference: string | null;
                            } | undefined;
                            revolut_pay?: {} | undefined;
                            samsung_pay?: {
                                buyer_id: string | null;
                            } | undefined;
                            sepa_credit_transfer?: {
                                bank_name: string | null;
                                bic: string | null;
                                iban: string | null;
                            } | undefined;
                            sepa_debit?: {
                                bank_code: string | null;
                                branch_code: string | null;
                                country: string | null;
                                fingerprint: string | null;
                                last4: string | null;
                                mandate: string | null;
                            } | undefined;
                            sofort?: {
                                bank_code: string | null;
                                bank_name: string | null;
                                bic: string | null;
                                country: string | null;
                                generated_sepa_debit: string | any | null;
                                generated_sepa_debit_mandate: string | any | null;
                                iban_last4: string | null;
                                preferred_language: string | null;
                                verified_name: string | null;
                            } | undefined;
                            stripe_account?: {} | undefined;
                            swish?: {
                                fingerprint: string | null;
                                payment_reference: string | null;
                                verified_phone_last4: string | null;
                            } | undefined;
                            twint?: {} | undefined;
                            type: string;
                            us_bank_account?: {
                                account_holder_type: string | null;
                                account_type: string | null;
                                bank_name: string | null;
                                fingerprint: string | null;
                                last4: string | null;
                                mandate?: string | any | undefined;
                                payment_reference: string | null;
                                routing_number: string | null;
                            } | undefined;
                            wechat?: {} | undefined;
                            wechat_pay?: {
                                fingerprint: string | null;
                                transaction_id: string | null;
                            } | undefined;
                            zip?: {} | undefined;
                        } | null;
                        radar_options?: {
                            session?: string | undefined;
                        } | undefined;
                        receipt_email: string | null;
                        receipt_number: string | null;
                        receipt_url: string | null;
                        refunded: boolean;
                        refunds?: {
                            id: string;
                            object: string;
                            amount: number;
                            balance_transaction: string | {
                                id: string;
                                object: string;
                                amount: number;
                                available_on: number;
                                created: number;
                                currency: string;
                                description: string | null;
                                exchange_rate: number | null;
                                fee: number;
                                fee_details: any[];
                                net: number;
                                reporting_category: string;
                                source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                status: string;
                                type: string;
                            } | null;
                            charge: string | any | null;
                            created: number;
                            currency: string;
                            description?: string | undefined;
                            destination_details?: {
                                affirm?: any | undefined;
                                afterpay_clearpay?: any | undefined;
                                alipay?: any | undefined;
                                alma?: any | undefined;
                                amazon_pay?: any | undefined;
                                au_bank_transfer?: any | undefined;
                                blik?: any | undefined;
                                br_bank_transfer?: any | undefined;
                                card?: any | undefined;
                                cashapp?: any | undefined;
                                customer_cash_balance?: any | undefined;
                                eps?: any | undefined;
                                eu_bank_transfer?: any | undefined;
                                gb_bank_transfer?: any | undefined;
                                giropay?: any | undefined;
                                grabpay?: any | undefined;
                                jp_bank_transfer?: any | undefined;
                                klarna?: any | undefined;
                                multibanco?: any | undefined;
                                mx_bank_transfer?: any | undefined;
                                p24?: any | undefined;
                                paynow?: any | undefined;
                                paypal?: any | undefined;
                                pix?: any | undefined;
                                revolut?: any | undefined;
                                sofort?: any | undefined;
                                swish?: any | undefined;
                                th_bank_transfer?: any | undefined;
                                type: string;
                                us_bank_transfer?: any | undefined;
                                wechat_pay?: any | undefined;
                                zip?: any | undefined;
                            } | undefined;
                            failure_balance_transaction?: string | {
                                id: string;
                                object: string;
                                amount: number;
                                available_on: number;
                                created: number;
                                currency: string;
                                description: string | null;
                                exchange_rate: number | null;
                                fee: number;
                                fee_details: any[];
                                net: number;
                                reporting_category: string;
                                source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                status: string;
                                type: string;
                            } | undefined;
                            failure_reason?: string | undefined;
                            instructions_email?: string | undefined;
                            metadata: {
                                [x: string]: string;
                            } | null;
                            next_action?: {
                                display_details?: any | undefined;
                                type: string;
                            } | undefined;
                            payment_intent: string | {
                                id: string;
                                object: string;
                                amount: number;
                                amount_capturable: number;
                                amount_details?: any | undefined;
                                amount_received: number;
                                application: string | {
                                    id: string;
                                    object: string;
                                    deleted?: void | undefined;
                                    name: string | null;
                                } | null;
                                application_fee_amount: number | null;
                                automatic_payment_methods: any | null;
                                canceled_at: number | null;
                                cancellation_reason: string | null;
                                capture_method: string;
                                client_secret: string | null;
                                confirmation_method: string;
                                created: number;
                                currency: string;
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null;
                                description: string | null;
                                invoice: string | any | null;
                                last_payment_error: any | null;
                                latest_charge: string | any | null;
                                livemode: boolean;
                                metadata: {
                                    [x: string]: string;
                                };
                                next_action: any | null;
                                on_behalf_of: string | any | null;
                                payment_method: string | any | null;
                                payment_method_configuration_details: any | null;
                                payment_method_options: any | null;
                                payment_method_types: Array<string>;
                                processing: any | null;
                                receipt_email: string | null;
                                review: string | any | null;
                                setup_future_usage: string | null;
                                shipping: any | null;
                                source: string | any | any | {
                                    id: string;
                                    object: string;
                                    account?: string | any | null | undefined;
                                    address_city: string | null;
                                    address_country: string | null;
                                    address_line1: string | null;
                                    address_line1_check: string | null;
                                    address_line2: string | null;
                                    address_state: string | null;
                                    address_zip: string | null;
                                    address_zip_check: string | null;
                                    available_payout_methods?: string[] | null | undefined;
                                    brand: string;
                                    country: string | null;
                                    currency?: (string | null) | undefined;
                                    customer?: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null | undefined;
                                    cvc_check: string | null;
                                    default_for_currency?: (boolean | null) | undefined;
                                    deleted?: void | undefined;
                                    description?: string | undefined;
                                    dynamic_last4: string | null;
                                    exp_month: number;
                                    exp_year: number;
                                    fingerprint?: (string | null) | undefined;
                                    funding: string;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4: string;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    name: string | null;
                                    networks?: {
                                        preferred: string | null;
                                    } | undefined;
                                    status?: (string | null) | undefined;
                                    tokenization_method: string | null;
                                } | {
                                    id: string;
                                    object: string;
                                    ach_credit_transfer?: {
                                        account_number?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_account_holder_type?: (string | null) | undefined;
                                        refund_routing_number?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        swift_code?: (string | null) | undefined;
                                    } | undefined;
                                    ach_debit?: {
                                        bank_name?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        type?: (string | null) | undefined;
                                    } | undefined;
                                    acss_debit?: {
                                        bank_address_city?: (string | null) | undefined;
                                        bank_address_line_1?: (string | null) | undefined;
                                        bank_address_line_2?: (string | null) | undefined;
                                        bank_address_postal_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        category?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                    } | undefined;
                                    alipay?: {
                                        data_string?: (string | null) | undefined;
                                        native_url?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    amount: number | null;
                                    au_becs_debit?: {
                                        bsb_number?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                    } | undefined;
                                    bancontact?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    card?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    card_present?: {
                                        application_cryptogram?: string | undefined;
                                        application_preferred_name?: string | undefined;
                                        authorization_code?: (string | null) | undefined;
                                        authorization_response_code?: string | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvm_type?: string | undefined;
                                        data_type?: (string | null) | undefined;
                                        dedicated_file_name?: string | undefined;
                                        description?: string | undefined;
                                        emv_auth_data?: string | undefined;
                                        evidence_customer_signature?: (string | null) | undefined;
                                        evidence_transaction_certificate?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        pos_device_id?: (string | null) | undefined;
                                        pos_entry_mode?: string | undefined;
                                        read_method?: (string | null) | undefined;
                                        reader?: (string | null) | undefined;
                                        terminal_verification_results?: string | undefined;
                                        transaction_status_information?: string | undefined;
                                    } | undefined;
                                    client_secret: string;
                                    code_verification?: {
                                        attempts_remaining: number;
                                        status: string;
                                    } | undefined;
                                    created: number;
                                    currency: string | null;
                                    customer?: string | undefined;
                                    eps?: {
                                        reference?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    flow: string;
                                    giropay?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    ideal?: {
                                        bank?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    klarna?: {
                                        background_image_url?: string | undefined;
                                        client_token?: (string | null) | undefined;
                                        first_name?: string | undefined;
                                        last_name?: string | undefined;
                                        locale?: string | undefined;
                                        logo_url?: string | undefined;
                                        page_title?: string | undefined;
                                        pay_later_asset_urls_descriptive?: string | undefined;
                                        pay_later_asset_urls_standard?: string | undefined;
                                        pay_later_name?: string | undefined;
                                        pay_later_redirect_url?: string | undefined;
                                        pay_now_asset_urls_descriptive?: string | undefined;
                                        pay_now_asset_urls_standard?: string | undefined;
                                        pay_now_name?: string | undefined;
                                        pay_now_redirect_url?: string | undefined;
                                        pay_over_time_asset_urls_descriptive?: string | undefined;
                                        pay_over_time_asset_urls_standard?: string | undefined;
                                        pay_over_time_name?: string | undefined;
                                        pay_over_time_redirect_url?: string | undefined;
                                        payment_method_categories?: string | undefined;
                                        purchase_country?: string | undefined;
                                        purchase_type?: string | undefined;
                                        redirect_url?: string | undefined;
                                        shipping_delay?: number | undefined;
                                        shipping_first_name?: string | undefined;
                                        shipping_last_name?: string | undefined;
                                    } | undefined;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    multibanco?: {
                                        entity?: (string | null) | undefined;
                                        reference?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    owner: {
                                        address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        email: string | null;
                                        name: string | null;
                                        phone: string | null;
                                        verified_address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        verified_email: string | null;
                                        verified_name: string | null;
                                        verified_phone: string | null;
                                    } | null;
                                    p24?: {
                                        reference?: (string | null) | undefined;
                                    } | undefined;
                                    receiver?: {
                                        address: string | null;
                                        amount_charged: number;
                                        amount_received: number;
                                        amount_returned: number;
                                        refund_attributes_method: string;
                                        refund_attributes_status: string;
                                    } | undefined;
                                    redirect?: {
                                        failure_reason: string | null;
                                        return_url: string;
                                        status: string;
                                        url: string;
                                    } | undefined;
                                    sepa_credit_transfer?: {
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    sepa_debit?: {
                                        bank_code?: (string | null) | undefined;
                                        branch_code?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        mandate_reference?: (string | null) | undefined;
                                        mandate_url?: (string | null) | undefined;
                                    } | undefined;
                                    sofort?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    source_order?: {
                                        amount: number;
                                        currency: string;
                                        email?: string | undefined;
                                        items: {
                                            amount: number | null;
                                            currency: string | null;
                                            description: string | null;
                                            parent: string | null;
                                            quantity?: number | undefined;
                                            type: string | null;
                                        }[] | null;
                                        shipping?: {
                                            address?: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | undefined;
                                            carrier?: (string | null) | undefined;
                                            name?: string | undefined;
                                            phone?: (string | null) | undefined;
                                            tracking_number?: (string | null) | undefined;
                                        } | undefined;
                                    } | undefined;
                                    statement_descriptor: string | null;
                                    status: string;
                                    three_d_secure?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        authenticated?: (boolean | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        card?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        customer?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    type: string;
                                    usage: string | null;
                                    wechat?: {
                                        prepay_id?: string | undefined;
                                        qr_code_url?: (string | null) | undefined;
                                        statement_descriptor?: string | undefined;
                                    } | undefined;
                                } | any | any | null;
                                statement_descriptor: string | null;
                                statement_descriptor_suffix: string | null;
                                status: string;
                                transfer_data: any | null;
                                transfer_group: string | null;
                            } | null;
                            reason: string | null;
                            receipt_number: string | null;
                            source_transfer_reversal: string | {
                                id: string;
                                object: string;
                                amount: number;
                                balance_transaction: string | {
                                    id: string;
                                    object: string;
                                    amount: number;
                                    available_on: number;
                                    created: number;
                                    currency: string;
                                    description: string | null;
                                    exchange_rate: number | null;
                                    fee: number;
                                    fee_details: any[];
                                    net: number;
                                    reporting_category: string;
                                    source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                    status: string;
                                    type: string;
                                } | null;
                                created: number;
                                currency: string;
                                destination_payment_refund: string | any | null;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                source_refund: string | any | null;
                                transfer: string | any;
                            } | null;
                            status: string | null;
                            transfer_reversal: string | {
                                id: string;
                                object: string;
                                amount: number;
                                balance_transaction: string | {
                                    id: string;
                                    object: string;
                                    amount: number;
                                    available_on: number;
                                    created: number;
                                    currency: string;
                                    description: string | null;
                                    exchange_rate: number | null;
                                    fee: number;
                                    fee_details: any[];
                                    net: number;
                                    reporting_category: string;
                                    source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                    status: string;
                                    type: string;
                                } | null;
                                created: number;
                                currency: string;
                                destination_payment_refund: string | any | null;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                source_refund: string | any | null;
                                transfer: string | any;
                            } | null;
                        }[] | null | undefined;
                        review: string | {
                            id: string;
                            object: string;
                            billing_zip: string | null;
                            charge: string | any | null;
                            closed_reason: string | null;
                            created: number;
                            ip_address: string | null;
                            ip_address_location: {
                                city: string | null;
                                country: string | null;
                                latitude: number | null;
                                longitude: number | null;
                                region: string | null;
                            } | null;
                            livemode: boolean;
                            open: boolean;
                            opened_reason: string;
                            payment_intent?: string | {
                                id: string;
                                object: string;
                                amount: number;
                                amount_capturable: number;
                                amount_details?: any | undefined;
                                amount_received: number;
                                application: string | {
                                    id: string;
                                    object: string;
                                    deleted?: void | undefined;
                                    name: string | null;
                                } | null;
                                application_fee_amount: number | null;
                                automatic_payment_methods: any | null;
                                canceled_at: number | null;
                                cancellation_reason: string | null;
                                capture_method: string;
                                client_secret: string | null;
                                confirmation_method: string;
                                created: number;
                                currency: string;
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null;
                                description: string | null;
                                invoice: string | any | null;
                                last_payment_error: any | null;
                                latest_charge: string | any | null;
                                livemode: boolean;
                                metadata: {
                                    [x: string]: string;
                                };
                                next_action: any | null;
                                on_behalf_of: string | any | null;
                                payment_method: string | any | null;
                                payment_method_configuration_details: any | null;
                                payment_method_options: any | null;
                                payment_method_types: Array<string>;
                                processing: any | null;
                                receipt_email: string | null;
                                review: string | any | null;
                                setup_future_usage: string | null;
                                shipping: any | null;
                                source: string | any | any | {
                                    id: string;
                                    object: string;
                                    account?: string | any | null | undefined;
                                    address_city: string | null;
                                    address_country: string | null;
                                    address_line1: string | null;
                                    address_line1_check: string | null;
                                    address_line2: string | null;
                                    address_state: string | null;
                                    address_zip: string | null;
                                    address_zip_check: string | null;
                                    available_payout_methods?: string[] | null | undefined;
                                    brand: string;
                                    country: string | null;
                                    currency?: (string | null) | undefined;
                                    customer?: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null | undefined;
                                    cvc_check: string | null;
                                    default_for_currency?: (boolean | null) | undefined;
                                    deleted?: void | undefined;
                                    description?: string | undefined;
                                    dynamic_last4: string | null;
                                    exp_month: number;
                                    exp_year: number;
                                    fingerprint?: (string | null) | undefined;
                                    funding: string;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4: string;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    name: string | null;
                                    networks?: {
                                        preferred: string | null;
                                    } | undefined;
                                    status?: (string | null) | undefined;
                                    tokenization_method: string | null;
                                } | {
                                    id: string;
                                    object: string;
                                    ach_credit_transfer?: {
                                        account_number?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_account_holder_type?: (string | null) | undefined;
                                        refund_routing_number?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        swift_code?: (string | null) | undefined;
                                    } | undefined;
                                    ach_debit?: {
                                        bank_name?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        type?: (string | null) | undefined;
                                    } | undefined;
                                    acss_debit?: {
                                        bank_address_city?: (string | null) | undefined;
                                        bank_address_line_1?: (string | null) | undefined;
                                        bank_address_line_2?: (string | null) | undefined;
                                        bank_address_postal_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        category?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                    } | undefined;
                                    alipay?: {
                                        data_string?: (string | null) | undefined;
                                        native_url?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    amount: number | null;
                                    au_becs_debit?: {
                                        bsb_number?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                    } | undefined;
                                    bancontact?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    card?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    card_present?: {
                                        application_cryptogram?: string | undefined;
                                        application_preferred_name?: string | undefined;
                                        authorization_code?: (string | null) | undefined;
                                        authorization_response_code?: string | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvm_type?: string | undefined;
                                        data_type?: (string | null) | undefined;
                                        dedicated_file_name?: string | undefined;
                                        description?: string | undefined;
                                        emv_auth_data?: string | undefined;
                                        evidence_customer_signature?: (string | null) | undefined;
                                        evidence_transaction_certificate?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        pos_device_id?: (string | null) | undefined;
                                        pos_entry_mode?: string | undefined;
                                        read_method?: (string | null) | undefined;
                                        reader?: (string | null) | undefined;
                                        terminal_verification_results?: string | undefined;
                                        transaction_status_information?: string | undefined;
                                    } | undefined;
                                    client_secret: string;
                                    code_verification?: {
                                        attempts_remaining: number;
                                        status: string;
                                    } | undefined;
                                    created: number;
                                    currency: string | null;
                                    customer?: string | undefined;
                                    eps?: {
                                        reference?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    flow: string;
                                    giropay?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    ideal?: {
                                        bank?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    klarna?: {
                                        background_image_url?: string | undefined;
                                        client_token?: (string | null) | undefined;
                                        first_name?: string | undefined;
                                        last_name?: string | undefined;
                                        locale?: string | undefined;
                                        logo_url?: string | undefined;
                                        page_title?: string | undefined;
                                        pay_later_asset_urls_descriptive?: string | undefined;
                                        pay_later_asset_urls_standard?: string | undefined;
                                        pay_later_name?: string | undefined;
                                        pay_later_redirect_url?: string | undefined;
                                        pay_now_asset_urls_descriptive?: string | undefined;
                                        pay_now_asset_urls_standard?: string | undefined;
                                        pay_now_name?: string | undefined;
                                        pay_now_redirect_url?: string | undefined;
                                        pay_over_time_asset_urls_descriptive?: string | undefined;
                                        pay_over_time_asset_urls_standard?: string | undefined;
                                        pay_over_time_name?: string | undefined;
                                        pay_over_time_redirect_url?: string | undefined;
                                        payment_method_categories?: string | undefined;
                                        purchase_country?: string | undefined;
                                        purchase_type?: string | undefined;
                                        redirect_url?: string | undefined;
                                        shipping_delay?: number | undefined;
                                        shipping_first_name?: string | undefined;
                                        shipping_last_name?: string | undefined;
                                    } | undefined;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    multibanco?: {
                                        entity?: (string | null) | undefined;
                                        reference?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    owner: {
                                        address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        email: string | null;
                                        name: string | null;
                                        phone: string | null;
                                        verified_address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        verified_email: string | null;
                                        verified_name: string | null;
                                        verified_phone: string | null;
                                    } | null;
                                    p24?: {
                                        reference?: (string | null) | undefined;
                                    } | undefined;
                                    receiver?: {
                                        address: string | null;
                                        amount_charged: number;
                                        amount_received: number;
                                        amount_returned: number;
                                        refund_attributes_method: string;
                                        refund_attributes_status: string;
                                    } | undefined;
                                    redirect?: {
                                        failure_reason: string | null;
                                        return_url: string;
                                        status: string;
                                        url: string;
                                    } | undefined;
                                    sepa_credit_transfer?: {
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    sepa_debit?: {
                                        bank_code?: (string | null) | undefined;
                                        branch_code?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        mandate_reference?: (string | null) | undefined;
                                        mandate_url?: (string | null) | undefined;
                                    } | undefined;
                                    sofort?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    source_order?: {
                                        amount: number;
                                        currency: string;
                                        email?: string | undefined;
                                        items: {
                                            amount: number | null;
                                            currency: string | null;
                                            description: string | null;
                                            parent: string | null;
                                            quantity?: number | undefined;
                                            type: string | null;
                                        }[] | null;
                                        shipping?: {
                                            address?: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | undefined;
                                            carrier?: (string | null) | undefined;
                                            name?: string | undefined;
                                            phone?: (string | null) | undefined;
                                            tracking_number?: (string | null) | undefined;
                                        } | undefined;
                                    } | undefined;
                                    statement_descriptor: string | null;
                                    status: string;
                                    three_d_secure?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        authenticated?: (boolean | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        card?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        customer?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    type: string;
                                    usage: string | null;
                                    wechat?: {
                                        prepay_id?: string | undefined;
                                        qr_code_url?: (string | null) | undefined;
                                        statement_descriptor?: string | undefined;
                                    } | undefined;
                                } | any | any | null;
                                statement_descriptor: string | null;
                                statement_descriptor_suffix: string | null;
                                status: string;
                                transfer_data: any | null;
                                transfer_group: string | null;
                            } | undefined;
                            reason: string;
                            session: {
                                browser: string | null;
                                device: string | null;
                                platform: string | null;
                                version: string | null;
                            } | null;
                        } | null;
                        shipping: {
                            address?: {
                                city: string | null;
                                country: string | null;
                                line1: string | null;
                                line2: string | null;
                                postal_code: string | null;
                                state: string | null;
                            } | undefined;
                            carrier?: (string | null) | undefined;
                            name?: string | undefined;
                            phone?: (string | null) | undefined;
                            tracking_number?: (string | null) | undefined;
                        } | null;
                        source: any | any | {
                            id: string;
                            object: string;
                            account?: string | any | null | undefined;
                            address_city: string | null;
                            address_country: string | null;
                            address_line1: string | null;
                            address_line1_check: string | null;
                            address_line2: string | null;
                            address_state: string | null;
                            address_zip: string | null;
                            address_zip_check: string | null;
                            available_payout_methods?: string[] | null | undefined;
                            brand: string;
                            country: string | null;
                            currency?: (string | null) | undefined;
                            customer?: string | any | {
                                id: string;
                                object: string;
                                deleted: boolean;
                            } | null | undefined;
                            cvc_check: string | null;
                            default_for_currency?: (boolean | null) | undefined;
                            deleted?: void | undefined;
                            description?: string | undefined;
                            dynamic_last4: string | null;
                            exp_month: number;
                            exp_year: number;
                            fingerprint?: (string | null) | undefined;
                            funding: string;
                            iin?: string | undefined;
                            issuer?: string | undefined;
                            last4: string;
                            metadata: {
                                [x: string]: string;
                            } | null;
                            name: string | null;
                            networks?: {
                                preferred: string | null;
                            } | undefined;
                            status?: (string | null) | undefined;
                            tokenization_method: string | null;
                        } | {
                            id: string;
                            object: string;
                            ach_credit_transfer?: {
                                account_number?: (string | null) | undefined;
                                bank_name?: (string | null) | undefined;
                                fingerprint?: (string | null) | undefined;
                                refund_account_holder_name?: (string | null) | undefined;
                                refund_account_holder_type?: (string | null) | undefined;
                                refund_routing_number?: (string | null) | undefined;
                                routing_number?: (string | null) | undefined;
                                swift_code?: (string | null) | undefined;
                            } | undefined;
                            ach_debit?: {
                                bank_name?: (string | null) | undefined;
                                country?: (string | null) | undefined;
                                fingerprint?: (string | null) | undefined;
                                last4?: (string | null) | undefined;
                                routing_number?: (string | null) | undefined;
                                type?: (string | null) | undefined;
                            } | undefined;
                            acss_debit?: {
                                bank_address_city?: (string | null) | undefined;
                                bank_address_line_1?: (string | null) | undefined;
                                bank_address_line_2?: (string | null) | undefined;
                                bank_address_postal_code?: (string | null) | undefined;
                                bank_name?: (string | null) | undefined;
                                category?: (string | null) | undefined;
                                country?: (string | null) | undefined;
                                fingerprint?: (string | null) | undefined;
                                last4?: (string | null) | undefined;
                                routing_number?: (string | null) | undefined;
                            } | undefined;
                            alipay?: {
                                data_string?: (string | null) | undefined;
                                native_url?: (string | null) | undefined;
                                statement_descriptor?: (string | null) | undefined;
                            } | undefined;
                            amount: number | null;
                            au_becs_debit?: {
                                bsb_number?: (string | null) | undefined;
                                fingerprint?: (string | null) | undefined;
                                last4?: (string | null) | undefined;
                            } | undefined;
                            bancontact?: {
                                bank_code?: (string | null) | undefined;
                                bank_name?: (string | null) | undefined;
                                bic?: (string | null) | undefined;
                                iban_last4?: (string | null) | undefined;
                                preferred_language?: (string | null) | undefined;
                                statement_descriptor?: (string | null) | undefined;
                            } | undefined;
                            card?: {
                                address_line1_check?: (string | null) | undefined;
                                address_zip_check?: (string | null) | undefined;
                                brand?: (string | null) | undefined;
                                country?: (string | null) | undefined;
                                cvc_check?: (string | null) | undefined;
                                description?: string | undefined;
                                dynamic_last4?: (string | null) | undefined;
                                exp_month?: (number | null) | undefined;
                                exp_year?: (number | null) | undefined;
                                fingerprint?: string | undefined;
                                funding?: (string | null) | undefined;
                                iin?: string | undefined;
                                issuer?: string | undefined;
                                last4?: (string | null) | undefined;
                                name?: (string | null) | undefined;
                                three_d_secure?: string | undefined;
                                tokenization_method?: (string | null) | undefined;
                            } | undefined;
                            card_present?: {
                                application_cryptogram?: string | undefined;
                                application_preferred_name?: string | undefined;
                                authorization_code?: (string | null) | undefined;
                                authorization_response_code?: string | undefined;
                                brand?: (string | null) | undefined;
                                country?: (string | null) | undefined;
                                cvm_type?: string | undefined;
                                data_type?: (string | null) | undefined;
                                dedicated_file_name?: string | undefined;
                                description?: string | undefined;
                                emv_auth_data?: string | undefined;
                                evidence_customer_signature?: (string | null) | undefined;
                                evidence_transaction_certificate?: (string | null) | undefined;
                                exp_month?: (number | null) | undefined;
                                exp_year?: (number | null) | undefined;
                                fingerprint?: string | undefined;
                                funding?: (string | null) | undefined;
                                iin?: string | undefined;
                                issuer?: string | undefined;
                                last4?: (string | null) | undefined;
                                pos_device_id?: (string | null) | undefined;
                                pos_entry_mode?: string | undefined;
                                read_method?: (string | null) | undefined;
                                reader?: (string | null) | undefined;
                                terminal_verification_results?: string | undefined;
                                transaction_status_information?: string | undefined;
                            } | undefined;
                            client_secret: string;
                            code_verification?: {
                                attempts_remaining: number;
                                status: string;
                            } | undefined;
                            created: number;
                            currency: string | null;
                            customer?: string | undefined;
                            eps?: {
                                reference?: (string | null) | undefined;
                                statement_descriptor?: (string | null) | undefined;
                            } | undefined;
                            flow: string;
                            giropay?: {
                                bank_code?: (string | null) | undefined;
                                bank_name?: (string | null) | undefined;
                                bic?: (string | null) | undefined;
                                statement_descriptor?: (string | null) | undefined;
                            } | undefined;
                            ideal?: {
                                bank?: (string | null) | undefined;
                                bic?: (string | null) | undefined;
                                iban_last4?: (string | null) | undefined;
                                statement_descriptor?: (string | null) | undefined;
                            } | undefined;
                            klarna?: {
                                background_image_url?: string | undefined;
                                client_token?: (string | null) | undefined;
                                first_name?: string | undefined;
                                last_name?: string | undefined;
                                locale?: string | undefined;
                                logo_url?: string | undefined;
                                page_title?: string | undefined;
                                pay_later_asset_urls_descriptive?: string | undefined;
                                pay_later_asset_urls_standard?: string | undefined;
                                pay_later_name?: string | undefined;
                                pay_later_redirect_url?: string | undefined;
                                pay_now_asset_urls_descriptive?: string | undefined;
                                pay_now_asset_urls_standard?: string | undefined;
                                pay_now_name?: string | undefined;
                                pay_now_redirect_url?: string | undefined;
                                pay_over_time_asset_urls_descriptive?: string | undefined;
                                pay_over_time_asset_urls_standard?: string | undefined;
                                pay_over_time_name?: string | undefined;
                                pay_over_time_redirect_url?: string | undefined;
                                payment_method_categories?: string | undefined;
                                purchase_country?: string | undefined;
                                purchase_type?: string | undefined;
                                redirect_url?: string | undefined;
                                shipping_delay?: number | undefined;
                                shipping_first_name?: string | undefined;
                                shipping_last_name?: string | undefined;
                            } | undefined;
                            livemode: boolean;
                            metadata: {
                                [x: string]: string;
                            } | null;
                            multibanco?: {
                                entity?: (string | null) | undefined;
                                reference?: (string | null) | undefined;
                                refund_account_holder_address_city?: (string | null) | undefined;
                                refund_account_holder_address_country?: (string | null) | undefined;
                                refund_account_holder_address_line1?: (string | null) | undefined;
                                refund_account_holder_address_line2?: (string | null) | undefined;
                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                refund_account_holder_address_state?: (string | null) | undefined;
                                refund_account_holder_name?: (string | null) | undefined;
                                refund_iban?: (string | null) | undefined;
                            } | undefined;
                            owner: {
                                address: {
                                    city: string | null;
                                    country: string | null;
                                    line1: string | null;
                                    line2: string | null;
                                    postal_code: string | null;
                                    state: string | null;
                                } | null;
                                email: string | null;
                                name: string | null;
                                phone: string | null;
                                verified_address: {
                                    city: string | null;
                                    country: string | null;
                                    line1: string | null;
                                    line2: string | null;
                                    postal_code: string | null;
                                    state: string | null;
                                } | null;
                                verified_email: string | null;
                                verified_name: string | null;
                                verified_phone: string | null;
                            } | null;
                            p24?: {
                                reference?: (string | null) | undefined;
                            } | undefined;
                            receiver?: {
                                address: string | null;
                                amount_charged: number;
                                amount_received: number;
                                amount_returned: number;
                                refund_attributes_method: string;
                                refund_attributes_status: string;
                            } | undefined;
                            redirect?: {
                                failure_reason: string | null;
                                return_url: string;
                                status: string;
                                url: string;
                            } | undefined;
                            sepa_credit_transfer?: {
                                bank_name?: (string | null) | undefined;
                                bic?: (string | null) | undefined;
                                iban?: (string | null) | undefined;
                                refund_account_holder_address_city?: (string | null) | undefined;
                                refund_account_holder_address_country?: (string | null) | undefined;
                                refund_account_holder_address_line1?: (string | null) | undefined;
                                refund_account_holder_address_line2?: (string | null) | undefined;
                                refund_account_holder_address_postal_code?: (string | null) | undefined;
                                refund_account_holder_address_state?: (string | null) | undefined;
                                refund_account_holder_name?: (string | null) | undefined;
                                refund_iban?: (string | null) | undefined;
                            } | undefined;
                            sepa_debit?: {
                                bank_code?: (string | null) | undefined;
                                branch_code?: (string | null) | undefined;
                                country?: (string | null) | undefined;
                                fingerprint?: (string | null) | undefined;
                                last4?: (string | null) | undefined;
                                mandate_reference?: (string | null) | undefined;
                                mandate_url?: (string | null) | undefined;
                            } | undefined;
                            sofort?: {
                                bank_code?: (string | null) | undefined;
                                bank_name?: (string | null) | undefined;
                                bic?: (string | null) | undefined;
                                country?: (string | null) | undefined;
                                iban_last4?: (string | null) | undefined;
                                preferred_language?: (string | null) | undefined;
                                statement_descriptor?: (string | null) | undefined;
                            } | undefined;
                            source_order?: {
                                amount: number;
                                currency: string;
                                email?: string | undefined;
                                items: {
                                    amount: number | null;
                                    currency: string | null;
                                    description: string | null;
                                    parent: string | null;
                                    quantity?: number | undefined;
                                    type: string | null;
                                }[] | null;
                                shipping?: {
                                    address?: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | undefined;
                                    carrier?: (string | null) | undefined;
                                    name?: string | undefined;
                                    phone?: (string | null) | undefined;
                                    tracking_number?: (string | null) | undefined;
                                } | undefined;
                            } | undefined;
                            statement_descriptor: string | null;
                            status: string;
                            three_d_secure?: {
                                address_line1_check?: (string | null) | undefined;
                                address_zip_check?: (string | null) | undefined;
                                authenticated?: (boolean | null) | undefined;
                                brand?: (string | null) | undefined;
                                card?: (string | null) | undefined;
                                country?: (string | null) | undefined;
                                customer?: (string | null) | undefined;
                                cvc_check?: (string | null) | undefined;
                                description?: string | undefined;
                                dynamic_last4?: (string | null) | undefined;
                                exp_month?: (number | null) | undefined;
                                exp_year?: (number | null) | undefined;
                                fingerprint?: string | undefined;
                                funding?: (string | null) | undefined;
                                iin?: string | undefined;
                                issuer?: string | undefined;
                                last4?: (string | null) | undefined;
                                name?: (string | null) | undefined;
                                three_d_secure?: string | undefined;
                                tokenization_method?: (string | null) | undefined;
                            } | undefined;
                            type: string;
                            usage: string | null;
                            wechat?: {
                                prepay_id?: string | undefined;
                                qr_code_url?: (string | null) | undefined;
                                statement_descriptor?: string | undefined;
                            } | undefined;
                        } | null;
                        source_transfer: string | {
                            id: string;
                            object: string;
                            amount: number;
                            amount_reversed: number;
                            balance_transaction: string | {
                                id: string;
                                object: string;
                                amount: number;
                                available_on: number;
                                created: number;
                                currency: string;
                                description: string | null;
                                exchange_rate: number | null;
                                fee: number;
                                fee_details: any[];
                                net: number;
                                reporting_category: string;
                                source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                status: string;
                                type: string;
                            } | null;
                            created: number;
                            currency: string;
                            description: string | null;
                            destination: string | any | null;
                            destination_payment?: string | any | undefined;
                            livemode: boolean;
                            metadata: {
                                [x: string]: string;
                            };
                            reversals: {
                                id: string;
                                object: string;
                                amount: number;
                                balance_transaction: string | {
                                    id: string;
                                    object: string;
                                    amount: number;
                                    available_on: number;
                                    created: number;
                                    currency: string;
                                    description: string | null;
                                    exchange_rate: number | null;
                                    fee: number;
                                    fee_details: any[];
                                    net: number;
                                    reporting_category: string;
                                    source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                    status: string;
                                    type: string;
                                } | null;
                                created: number;
                                currency: string;
                                destination_payment_refund: string | any | null;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                source_refund: string | any | null;
                                transfer: string | any;
                            }[];
                            reversed: boolean;
                            source_transaction: string | any | null;
                            source_type?: string | undefined;
                            transfer_group: string | null;
                        } | null;
                        statement_descriptor: string | null;
                        statement_descriptor_suffix: string | null;
                        status: string;
                        transfer?: string | {
                            id: string;
                            object: string;
                            amount: number;
                            amount_reversed: number;
                            balance_transaction: string | {
                                id: string;
                                object: string;
                                amount: number;
                                available_on: number;
                                created: number;
                                currency: string;
                                description: string | null;
                                exchange_rate: number | null;
                                fee: number;
                                fee_details: any[];
                                net: number;
                                reporting_category: string;
                                source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                status: string;
                                type: string;
                            } | null;
                            created: number;
                            currency: string;
                            description: string | null;
                            destination: string | any | null;
                            destination_payment?: string | any | undefined;
                            livemode: boolean;
                            metadata: {
                                [x: string]: string;
                            };
                            reversals: {
                                id: string;
                                object: string;
                                amount: number;
                                balance_transaction: string | {
                                    id: string;
                                    object: string;
                                    amount: number;
                                    available_on: number;
                                    created: number;
                                    currency: string;
                                    description: string | null;
                                    exchange_rate: number | null;
                                    fee: number;
                                    fee_details: any[];
                                    net: number;
                                    reporting_category: string;
                                    source: string | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | null;
                                    status: string;
                                    type: string;
                                } | null;
                                created: number;
                                currency: string;
                                destination_payment_refund: string | any | null;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                source_refund: string | any | null;
                                transfer: string | any;
                            }[];
                            reversed: boolean;
                            source_transaction: string | any | null;
                            source_type?: string | undefined;
                            transfer_group: string | null;
                        } | undefined;
                        transfer_data: {
                            amount: number | null;
                            destination: string | any;
                        } | null;
                        transfer_group: string | null;
                    } | null;
                    setup_attempt: string | {
                        id: string;
                        object: string;
                        application: string | {
                            id: string;
                            object: string;
                            deleted?: void | undefined;
                            name: string | null;
                        } | null;
                        attach_to_self?: boolean | undefined;
                        created: number;
                        customer: string | any | {
                            id: string;
                            object: string;
                            deleted: boolean;
                        } | null;
                        flow_directions: string[] | null;
                        livemode: boolean;
                        on_behalf_of: string | any | null;
                        payment_method: string | any;
                        payment_method_details: {
                            acss_debit?: {} | undefined;
                            amazon_pay?: {} | undefined;
                            au_becs_debit?: {} | undefined;
                            bacs_debit?: {} | undefined;
                            bancontact?: {
                                bank_code: string | null;
                                bank_name: string | null;
                                bic: string | null;
                                generated_sepa_debit: string | any | null;
                                generated_sepa_debit_mandate: string | any | null;
                                iban_last4: string | null;
                                preferred_language: string | null;
                                verified_name: string | null;
                            } | undefined;
                            boleto?: {} | undefined;
                            card?: {
                                brand: string | null;
                                checks: any | null;
                                country: string | null;
                                description?: (string | null) | undefined;
                                exp_month: number | null;
                                exp_year: number | null;
                                fingerprint?: (string | null) | undefined;
                                funding: string | null;
                                iin?: (string | null) | undefined;
                                issuer?: (string | null) | undefined;
                                last4: string | null;
                                network: string | null;
                                three_d_secure: any | null;
                                wallet: any | null;
                            } | undefined;
                            card_present?: {
                                generated_card: string | any | null;
                                offline: any | null;
                            } | undefined;
                            cashapp?: {} | undefined;
                            ideal?: {
                                bank: string | null;
                                bic: string | null;
                                generated_sepa_debit: string | any | null;
                                generated_sepa_debit_mandate: string | any | null;
                                iban_last4: string | null;
                                verified_name: string | null;
                            } | undefined;
                            kakao_pay?: {} | undefined;
                            klarna?: {} | undefined;
                            kr_card?: {} | undefined;
                            link?: {} | undefined;
                            paypal?: {} | undefined;
                            revolut_pay?: {} | undefined;
                            sepa_debit?: {} | undefined;
                            sofort?: {
                                bank_code: string | null;
                                bank_name: string | null;
                                bic: string | null;
                                generated_sepa_debit: string | any | null;
                                generated_sepa_debit_mandate: string | any | null;
                                iban_last4: string | null;
                                preferred_language: string | null;
                                verified_name: string | null;
                            } | undefined;
                            type: string;
                            us_bank_account?: {} | undefined;
                        };
                        setup_error: {
                            charge?: string | undefined;
                            code?: string | undefined;
                            decline_code?: string | undefined;
                            doc_url?: string | undefined;
                            message?: string | undefined;
                            param?: string | undefined;
                            payment_intent?: {
                                id: string;
                                object: string;
                                amount: number;
                                amount_capturable: number;
                                amount_details?: any | undefined;
                                amount_received: number;
                                application: string | {
                                    id: string;
                                    object: string;
                                    deleted?: void | undefined;
                                    name: string | null;
                                } | null;
                                application_fee_amount: number | null;
                                automatic_payment_methods: any | null;
                                canceled_at: number | null;
                                cancellation_reason: string | null;
                                capture_method: string;
                                client_secret: string | null;
                                confirmation_method: string;
                                created: number;
                                currency: string;
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null;
                                description: string | null;
                                invoice: string | any | null;
                                last_payment_error: any | null;
                                latest_charge: string | any | null;
                                livemode: boolean;
                                metadata: {
                                    [x: string]: string;
                                };
                                next_action: any | null;
                                on_behalf_of: string | any | null;
                                payment_method: string | any | null;
                                payment_method_configuration_details: any | null;
                                payment_method_options: any | null;
                                payment_method_types: Array<string>;
                                processing: any | null;
                                receipt_email: string | null;
                                review: string | any | null;
                                setup_future_usage: string | null;
                                shipping: any | null;
                                source: string | any | any | {
                                    id: string;
                                    object: string;
                                    account?: string | any | null | undefined;
                                    address_city: string | null;
                                    address_country: string | null;
                                    address_line1: string | null;
                                    address_line1_check: string | null;
                                    address_line2: string | null;
                                    address_state: string | null;
                                    address_zip: string | null;
                                    address_zip_check: string | null;
                                    available_payout_methods?: string[] | null | undefined;
                                    brand: string;
                                    country: string | null;
                                    currency?: (string | null) | undefined;
                                    customer?: string | any | {
                                        id: string;
                                        object: string;
                                        deleted: boolean;
                                    } | null | undefined;
                                    cvc_check: string | null;
                                    default_for_currency?: (boolean | null) | undefined;
                                    deleted?: void | undefined;
                                    description?: string | undefined;
                                    dynamic_last4: string | null;
                                    exp_month: number;
                                    exp_year: number;
                                    fingerprint?: (string | null) | undefined;
                                    funding: string;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4: string;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    name: string | null;
                                    networks?: {
                                        preferred: string | null;
                                    } | undefined;
                                    status?: (string | null) | undefined;
                                    tokenization_method: string | null;
                                } | {
                                    id: string;
                                    object: string;
                                    ach_credit_transfer?: {
                                        account_number?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_account_holder_type?: (string | null) | undefined;
                                        refund_routing_number?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        swift_code?: (string | null) | undefined;
                                    } | undefined;
                                    ach_debit?: {
                                        bank_name?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                        type?: (string | null) | undefined;
                                    } | undefined;
                                    acss_debit?: {
                                        bank_address_city?: (string | null) | undefined;
                                        bank_address_line_1?: (string | null) | undefined;
                                        bank_address_line_2?: (string | null) | undefined;
                                        bank_address_postal_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        category?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        routing_number?: (string | null) | undefined;
                                    } | undefined;
                                    alipay?: {
                                        data_string?: (string | null) | undefined;
                                        native_url?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    amount: number | null;
                                    au_becs_debit?: {
                                        bsb_number?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                    } | undefined;
                                    bancontact?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    card?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    card_present?: {
                                        application_cryptogram?: string | undefined;
                                        application_preferred_name?: string | undefined;
                                        authorization_code?: (string | null) | undefined;
                                        authorization_response_code?: string | undefined;
                                        brand?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        cvm_type?: string | undefined;
                                        data_type?: (string | null) | undefined;
                                        dedicated_file_name?: string | undefined;
                                        description?: string | undefined;
                                        emv_auth_data?: string | undefined;
                                        evidence_customer_signature?: (string | null) | undefined;
                                        evidence_transaction_certificate?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        pos_device_id?: (string | null) | undefined;
                                        pos_entry_mode?: string | undefined;
                                        read_method?: (string | null) | undefined;
                                        reader?: (string | null) | undefined;
                                        terminal_verification_results?: string | undefined;
                                        transaction_status_information?: string | undefined;
                                    } | undefined;
                                    client_secret: string;
                                    code_verification?: {
                                        attempts_remaining: number;
                                        status: string;
                                    } | undefined;
                                    created: number;
                                    currency: string | null;
                                    customer?: string | undefined;
                                    eps?: {
                                        reference?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    flow: string;
                                    giropay?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    ideal?: {
                                        bank?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    klarna?: {
                                        background_image_url?: string | undefined;
                                        client_token?: (string | null) | undefined;
                                        first_name?: string | undefined;
                                        last_name?: string | undefined;
                                        locale?: string | undefined;
                                        logo_url?: string | undefined;
                                        page_title?: string | undefined;
                                        pay_later_asset_urls_descriptive?: string | undefined;
                                        pay_later_asset_urls_standard?: string | undefined;
                                        pay_later_name?: string | undefined;
                                        pay_later_redirect_url?: string | undefined;
                                        pay_now_asset_urls_descriptive?: string | undefined;
                                        pay_now_asset_urls_standard?: string | undefined;
                                        pay_now_name?: string | undefined;
                                        pay_now_redirect_url?: string | undefined;
                                        pay_over_time_asset_urls_descriptive?: string | undefined;
                                        pay_over_time_asset_urls_standard?: string | undefined;
                                        pay_over_time_name?: string | undefined;
                                        pay_over_time_redirect_url?: string | undefined;
                                        payment_method_categories?: string | undefined;
                                        purchase_country?: string | undefined;
                                        purchase_type?: string | undefined;
                                        redirect_url?: string | undefined;
                                        shipping_delay?: number | undefined;
                                        shipping_first_name?: string | undefined;
                                        shipping_last_name?: string | undefined;
                                    } | undefined;
                                    livemode: boolean;
                                    metadata: {
                                        [x: string]: string;
                                    } | null;
                                    multibanco?: {
                                        entity?: (string | null) | undefined;
                                        reference?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    owner: {
                                        address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        email: string | null;
                                        name: string | null;
                                        phone: string | null;
                                        verified_address: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | null;
                                        verified_email: string | null;
                                        verified_name: string | null;
                                        verified_phone: string | null;
                                    } | null;
                                    p24?: {
                                        reference?: (string | null) | undefined;
                                    } | undefined;
                                    receiver?: {
                                        address: string | null;
                                        amount_charged: number;
                                        amount_received: number;
                                        amount_returned: number;
                                        refund_attributes_method: string;
                                        refund_attributes_status: string;
                                    } | undefined;
                                    redirect?: {
                                        failure_reason: string | null;
                                        return_url: string;
                                        status: string;
                                        url: string;
                                    } | undefined;
                                    sepa_credit_transfer?: {
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        iban?: (string | null) | undefined;
                                        refund_account_holder_address_city?: (string | null) | undefined;
                                        refund_account_holder_address_country?: (string | null) | undefined;
                                        refund_account_holder_address_line1?: (string | null) | undefined;
                                        refund_account_holder_address_line2?: (string | null) | undefined;
                                        refund_account_holder_address_postal_code?: (string | null) | undefined;
                                        refund_account_holder_address_state?: (string | null) | undefined;
                                        refund_account_holder_name?: (string | null) | undefined;
                                        refund_iban?: (string | null) | undefined;
                                    } | undefined;
                                    sepa_debit?: {
                                        bank_code?: (string | null) | undefined;
                                        branch_code?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        fingerprint?: (string | null) | undefined;
                                        last4?: (string | null) | undefined;
                                        mandate_reference?: (string | null) | undefined;
                                        mandate_url?: (string | null) | undefined;
                                    } | undefined;
                                    sofort?: {
                                        bank_code?: (string | null) | undefined;
                                        bank_name?: (string | null) | undefined;
                                        bic?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        iban_last4?: (string | null) | undefined;
                                        preferred_language?: (string | null) | undefined;
                                        statement_descriptor?: (string | null) | undefined;
                                    } | undefined;
                                    source_order?: {
                                        amount: number;
                                        currency: string;
                                        email?: string | undefined;
                                        items: {
                                            amount: number | null;
                                            currency: string | null;
                                            description: string | null;
                                            parent: string | null;
                                            quantity?: number | undefined;
                                            type: string | null;
                                        }[] | null;
                                        shipping?: {
                                            address?: {
                                                city: string | null;
                                                country: string | null;
                                                line1: string | null;
                                                line2: string | null;
                                                postal_code: string | null;
                                                state: string | null;
                                            } | undefined;
                                            carrier?: (string | null) | undefined;
                                            name?: string | undefined;
                                            phone?: (string | null) | undefined;
                                            tracking_number?: (string | null) | undefined;
                                        } | undefined;
                                    } | undefined;
                                    statement_descriptor: string | null;
                                    status: string;
                                    three_d_secure?: {
                                        address_line1_check?: (string | null) | undefined;
                                        address_zip_check?: (string | null) | undefined;
                                        authenticated?: (boolean | null) | undefined;
                                        brand?: (string | null) | undefined;
                                        card?: (string | null) | undefined;
                                        country?: (string | null) | undefined;
                                        customer?: (string | null) | undefined;
                                        cvc_check?: (string | null) | undefined;
                                        description?: string | undefined;
                                        dynamic_last4?: (string | null) | undefined;
                                        exp_month?: (number | null) | undefined;
                                        exp_year?: (number | null) | undefined;
                                        fingerprint?: string | undefined;
                                        funding?: (string | null) | undefined;
                                        iin?: string | undefined;
                                        issuer?: string | undefined;
                                        last4?: (string | null) | undefined;
                                        name?: (string | null) | undefined;
                                        three_d_secure?: string | undefined;
                                        tokenization_method?: (string | null) | undefined;
                                    } | undefined;
                                    type: string;
                                    usage: string | null;
                                    wechat?: {
                                        prepay_id?: string | undefined;
                                        qr_code_url?: (string | null) | undefined;
                                        statement_descriptor?: string | undefined;
                                    } | undefined;
                                } | any | any | null;
                                statement_descriptor: string | null;
                                statement_descriptor_suffix: string | null;
                                status: string;
                                transfer_data: any | null;
                                transfer_group: string | null;
                            } | undefined;
                            payment_method?: any | undefined;
                            payment_method_type?: string | undefined;
                            request_log_url?: string | undefined;
                            setup_intent?: {
                                id: string;
                                object: string;
                                application: string | {
                                    id: string;
                                    object: string;
                                    deleted?: void | undefined;
                                    name: string | null;
                                } | null;
                                attach_to_self?: boolean | undefined;
                                automatic_payment_methods: any | null;
                                cancellation_reason: string | null;
                                client_secret: string | null;
                                created: number;
                                customer: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null;
                                description: string | null;
                                flow_directions: string[] | null;
                                last_setup_error: any | null;
                                latest_attempt: string | any | null;
                                livemode: boolean;
                                mandate: string | any | null;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                next_action: any | null;
                                on_behalf_of: string | any | null;
                                payment_method: string | any | null;
                                payment_method_configuration_details: any | null;
                                payment_method_options: any | null;
                                payment_method_types: Array<string>;
                                single_use_mandate: string | any | null;
                                status: string;
                                usage: string;
                            } | undefined;
                            source?: any | any | {
                                id: string;
                                object: string;
                                account?: string | any | null | undefined;
                                address_city: string | null;
                                address_country: string | null;
                                address_line1: string | null;
                                address_line1_check: string | null;
                                address_line2: string | null;
                                address_state: string | null;
                                address_zip: string | null;
                                address_zip_check: string | null;
                                available_payout_methods?: string[] | null | undefined;
                                brand: string;
                                country: string | null;
                                currency?: (string | null) | undefined;
                                customer?: string | any | {
                                    id: string;
                                    object: string;
                                    deleted: boolean;
                                } | null | undefined;
                                cvc_check: string | null;
                                default_for_currency?: (boolean | null) | undefined;
                                deleted?: void | undefined;
                                description?: string | undefined;
                                dynamic_last4: string | null;
                                exp_month: number;
                                exp_year: number;
                                fingerprint?: (string | null) | undefined;
                                funding: string;
                                iin?: string | undefined;
                                issuer?: string | undefined;
                                last4: string;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                name: string | null;
                                networks?: {
                                    preferred: string | null;
                                } | undefined;
                                status?: (string | null) | undefined;
                                tokenization_method: string | null;
                            } | {
                                id: string;
                                object: string;
                                ach_credit_transfer?: {
                                    account_number?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    refund_account_holder_name?: (string | null) | undefined;
                                    refund_account_holder_type?: (string | null) | undefined;
                                    refund_routing_number?: (string | null) | undefined;
                                    routing_number?: (string | null) | undefined;
                                    swift_code?: (string | null) | undefined;
                                } | undefined;
                                ach_debit?: {
                                    bank_name?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                    routing_number?: (string | null) | undefined;
                                    type?: (string | null) | undefined;
                                } | undefined;
                                acss_debit?: {
                                    bank_address_city?: (string | null) | undefined;
                                    bank_address_line_1?: (string | null) | undefined;
                                    bank_address_line_2?: (string | null) | undefined;
                                    bank_address_postal_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    category?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                    routing_number?: (string | null) | undefined;
                                } | undefined;
                                alipay?: {
                                    data_string?: (string | null) | undefined;
                                    native_url?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                amount: number | null;
                                au_becs_debit?: {
                                    bsb_number?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                } | undefined;
                                bancontact?: {
                                    bank_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    iban_last4?: (string | null) | undefined;
                                    preferred_language?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                card?: {
                                    address_line1_check?: (string | null) | undefined;
                                    address_zip_check?: (string | null) | undefined;
                                    brand?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    cvc_check?: (string | null) | undefined;
                                    description?: string | undefined;
                                    dynamic_last4?: (string | null) | undefined;
                                    exp_month?: (number | null) | undefined;
                                    exp_year?: (number | null) | undefined;
                                    fingerprint?: string | undefined;
                                    funding?: (string | null) | undefined;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4?: (string | null) | undefined;
                                    name?: (string | null) | undefined;
                                    three_d_secure?: string | undefined;
                                    tokenization_method?: (string | null) | undefined;
                                } | undefined;
                                card_present?: {
                                    application_cryptogram?: string | undefined;
                                    application_preferred_name?: string | undefined;
                                    authorization_code?: (string | null) | undefined;
                                    authorization_response_code?: string | undefined;
                                    brand?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    cvm_type?: string | undefined;
                                    data_type?: (string | null) | undefined;
                                    dedicated_file_name?: string | undefined;
                                    description?: string | undefined;
                                    emv_auth_data?: string | undefined;
                                    evidence_customer_signature?: (string | null) | undefined;
                                    evidence_transaction_certificate?: (string | null) | undefined;
                                    exp_month?: (number | null) | undefined;
                                    exp_year?: (number | null) | undefined;
                                    fingerprint?: string | undefined;
                                    funding?: (string | null) | undefined;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4?: (string | null) | undefined;
                                    pos_device_id?: (string | null) | undefined;
                                    pos_entry_mode?: string | undefined;
                                    read_method?: (string | null) | undefined;
                                    reader?: (string | null) | undefined;
                                    terminal_verification_results?: string | undefined;
                                    transaction_status_information?: string | undefined;
                                } | undefined;
                                client_secret: string;
                                code_verification?: {
                                    attempts_remaining: number;
                                    status: string;
                                } | undefined;
                                created: number;
                                currency: string | null;
                                customer?: string | undefined;
                                eps?: {
                                    reference?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                flow: string;
                                giropay?: {
                                    bank_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                ideal?: {
                                    bank?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    iban_last4?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                klarna?: {
                                    background_image_url?: string | undefined;
                                    client_token?: (string | null) | undefined;
                                    first_name?: string | undefined;
                                    last_name?: string | undefined;
                                    locale?: string | undefined;
                                    logo_url?: string | undefined;
                                    page_title?: string | undefined;
                                    pay_later_asset_urls_descriptive?: string | undefined;
                                    pay_later_asset_urls_standard?: string | undefined;
                                    pay_later_name?: string | undefined;
                                    pay_later_redirect_url?: string | undefined;
                                    pay_now_asset_urls_descriptive?: string | undefined;
                                    pay_now_asset_urls_standard?: string | undefined;
                                    pay_now_name?: string | undefined;
                                    pay_now_redirect_url?: string | undefined;
                                    pay_over_time_asset_urls_descriptive?: string | undefined;
                                    pay_over_time_asset_urls_standard?: string | undefined;
                                    pay_over_time_name?: string | undefined;
                                    pay_over_time_redirect_url?: string | undefined;
                                    payment_method_categories?: string | undefined;
                                    purchase_country?: string | undefined;
                                    purchase_type?: string | undefined;
                                    redirect_url?: string | undefined;
                                    shipping_delay?: number | undefined;
                                    shipping_first_name?: string | undefined;
                                    shipping_last_name?: string | undefined;
                                } | undefined;
                                livemode: boolean;
                                metadata: {
                                    [x: string]: string;
                                } | null;
                                multibanco?: {
                                    entity?: (string | null) | undefined;
                                    reference?: (string | null) | undefined;
                                    refund_account_holder_address_city?: (string | null) | undefined;
                                    refund_account_holder_address_country?: (string | null) | undefined;
                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                    refund_account_holder_address_state?: (string | null) | undefined;
                                    refund_account_holder_name?: (string | null) | undefined;
                                    refund_iban?: (string | null) | undefined;
                                } | undefined;
                                owner: {
                                    address: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | null;
                                    email: string | null;
                                    name: string | null;
                                    phone: string | null;
                                    verified_address: {
                                        city: string | null;
                                        country: string | null;
                                        line1: string | null;
                                        line2: string | null;
                                        postal_code: string | null;
                                        state: string | null;
                                    } | null;
                                    verified_email: string | null;
                                    verified_name: string | null;
                                    verified_phone: string | null;
                                } | null;
                                p24?: {
                                    reference?: (string | null) | undefined;
                                } | undefined;
                                receiver?: {
                                    address: string | null;
                                    amount_charged: number;
                                    amount_received: number;
                                    amount_returned: number;
                                    refund_attributes_method: string;
                                    refund_attributes_status: string;
                                } | undefined;
                                redirect?: {
                                    failure_reason: string | null;
                                    return_url: string;
                                    status: string;
                                    url: string;
                                } | undefined;
                                sepa_credit_transfer?: {
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    iban?: (string | null) | undefined;
                                    refund_account_holder_address_city?: (string | null) | undefined;
                                    refund_account_holder_address_country?: (string | null) | undefined;
                                    refund_account_holder_address_line1?: (string | null) | undefined;
                                    refund_account_holder_address_line2?: (string | null) | undefined;
                                    refund_account_holder_address_postal_code?: (string | null) | undefined;
                                    refund_account_holder_address_state?: (string | null) | undefined;
                                    refund_account_holder_name?: (string | null) | undefined;
                                    refund_iban?: (string | null) | undefined;
                                } | undefined;
                                sepa_debit?: {
                                    bank_code?: (string | null) | undefined;
                                    branch_code?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    fingerprint?: (string | null) | undefined;
                                    last4?: (string | null) | undefined;
                                    mandate_reference?: (string | null) | undefined;
                                    mandate_url?: (string | null) | undefined;
                                } | undefined;
                                sofort?: {
                                    bank_code?: (string | null) | undefined;
                                    bank_name?: (string | null) | undefined;
                                    bic?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    iban_last4?: (string | null) | undefined;
                                    preferred_language?: (string | null) | undefined;
                                    statement_descriptor?: (string | null) | undefined;
                                } | undefined;
                                source_order?: {
                                    amount: number;
                                    currency: string;
                                    email?: string | undefined;
                                    items: {
                                        amount: number | null;
                                        currency: string | null;
                                        description: string | null;
                                        parent: string | null;
                                        quantity?: number | undefined;
                                        type: string | null;
                                    }[] | null;
                                    shipping?: {
                                        address?: {
                                            city: string | null;
                                            country: string | null;
                                            line1: string | null;
                                            line2: string | null;
                                            postal_code: string | null;
                                            state: string | null;
                                        } | undefined;
                                        carrier?: (string | null) | undefined;
                                        name?: string | undefined;
                                        phone?: (string | null) | undefined;
                                        tracking_number?: (string | null) | undefined;
                                    } | undefined;
                                } | undefined;
                                statement_descriptor: string | null;
                                status: string;
                                three_d_secure?: {
                                    address_line1_check?: (string | null) | undefined;
                                    address_zip_check?: (string | null) | undefined;
                                    authenticated?: (boolean | null) | undefined;
                                    brand?: (string | null) | undefined;
                                    card?: (string | null) | undefined;
                                    country?: (string | null) | undefined;
                                    customer?: (string | null) | undefined;
                                    cvc_check?: (string | null) | undefined;
                                    description?: string | undefined;
                                    dynamic_last4?: (string | null) | undefined;
                                    exp_month?: (number | null) | undefined;
                                    exp_year?: (number | null) | undefined;
                                    fingerprint?: string | undefined;
                                    funding?: (string | null) | undefined;
                                    iin?: string | undefined;
                                    issuer?: string | undefined;
                                    last4?: (string | null) | undefined;
                                    name?: (string | null) | undefined;
                                    three_d_secure?: string | undefined;
                                    tokenization_method?: (string | null) | undefined;
                                } | undefined;
                                type: string;
                                usage: string | null;
                                wechat?: {
                                    prepay_id?: string | undefined;
                                    qr_code_url?: (string | null) | undefined;
                                    statement_descriptor?: string | undefined;
                                } | undefined;
                            } | undefined;
                            type: string;
                        } | null;
                        setup_intent: string | {
                            id: string;
                            object: string;
                            application: string | {
                                id: string;
                                object: string;
                                deleted?: void | undefined;
                                name: string | null;
                            } | null;
                            attach_to_self?: boolean | undefined;
                            automatic_payment_methods: any | null;
                            cancellation_reason: string | null;
                            client_secret: string | null;
                            created: number;
                            customer: string | any | {
                                id: string;
                                object: string;
                                deleted: boolean;
                            } | null;
                            description: string | null;
                            flow_directions: string[] | null;
                            last_setup_error: any | null;
                            latest_attempt: string | any | null;
                            livemode: boolean;
                            mandate: string | any | null;
                            metadata: {
                                [x: string]: string;
                            } | null;
                            next_action: any | null;
                            on_behalf_of: string | any | null;
                            payment_method: string | any | null;
                            payment_method_configuration_details: any | null;
                            payment_method_options: any | null;
                            payment_method_types: Array<string>;
                            single_use_mandate: string | any | null;
                            status: string;
                            usage: string;
                        };
                        status: string;
                        usage: string;
                    } | null;
                } | null;
                last4: string | null;
            } | undefined;
            sofort?: {
                country: string | null;
            } | undefined;
            swish?: {} | undefined;
            twint?: {} | undefined;
            type: string;
            us_bank_account?: {
                account_holder_type: string | null;
                account_type: string | null;
                bank_name: string | null;
                financial_connections_account: string | null;
                fingerprint: string | null;
                last4: string | null;
                networks: {
                    preferred: string | null;
                    supported: string[];
                } | null;
                routing_number: string | null;
                status_details: {
                    blocked?: {
                        network_code: string | null;
                        reason: string | null;
                    } | undefined;
                } | null;
            } | undefined;
            wechat_pay?: {} | undefined;
            zip?: {} | undefined;
        } | null;
        footer: string | null;
        rendering_options: {
            amount_tax_display: string | null;
            template: string | null;
        } | null;
    };
    livemode: boolean;
    metadata: {
        [x: string]: string;
    };
    name?: (string | null) | undefined;
    next_invoice_sequence?: number | undefined;
    phone?: (string | null) | undefined;
    preferred_locales?: (Array<string> | null) | undefined;
    shipping: {
        address?: {
            city: string | null;
            country: string | null;
            line1: string | null;
            line2: string | null;
            postal_code: string | null;
            state: string | null;
        } | undefined;
        carrier?: (string | null) | undefined;
        name?: string | undefined;
        phone?: (string | null) | undefined;
        tracking_number?: (string | null) | undefined;
    } | null;
    sources?: (any | any | {
        id: string;
        object: string;
        account?: string | any | null | undefined;
        address_city: string | null;
        address_country: string | null;
        address_line1: string | null;
        address_line1_check: string | null;
        address_line2: string | null;
        address_state: string | null;
        address_zip: string | null;
        address_zip_check: string | null;
        available_payout_methods?: string[] | null | undefined;
        brand: string;
        country: string | null;
        currency?: (string | null) | undefined;
        customer?: string | any | {
            id: string;
            object: string;
            deleted: boolean;
        } | null | undefined;
        cvc_check: string | null;
        default_for_currency?: (boolean | null) | undefined;
        deleted?: void | undefined;
        description?: string | undefined;
        dynamic_last4: string | null;
        exp_month: number;
        exp_year: number;
        fingerprint?: (string | null) | undefined;
        funding: string;
        iin?: string | undefined;
        issuer?: string | undefined;
        last4: string;
        metadata: {
            [x: string]: string;
        } | null;
        name: string | null;
        networks?: {
            preferred: string | null;
        } | undefined;
        status?: (string | null) | undefined;
        tokenization_method: string | null;
    } | {
        id: string;
        object: string;
        ach_credit_transfer?: {
            account_number?: (string | null) | undefined;
            bank_name?: (string | null) | undefined;
            fingerprint?: (string | null) | undefined;
            refund_account_holder_name?: (string | null) | undefined;
            refund_account_holder_type?: (string | null) | undefined;
            refund_routing_number?: (string | null) | undefined;
            routing_number?: (string | null) | undefined;
            swift_code?: (string | null) | undefined;
        } | undefined;
        ach_debit?: {
            bank_name?: (string | null) | undefined;
            country?: (string | null) | undefined;
            fingerprint?: (string | null) | undefined;
            last4?: (string | null) | undefined;
            routing_number?: (string | null) | undefined;
            type?: (string | null) | undefined;
        } | undefined;
        acss_debit?: {
            bank_address_city?: (string | null) | undefined;
            bank_address_line_1?: (string | null) | undefined;
            bank_address_line_2?: (string | null) | undefined;
            bank_address_postal_code?: (string | null) | undefined;
            bank_name?: (string | null) | undefined;
            category?: (string | null) | undefined;
            country?: (string | null) | undefined;
            fingerprint?: (string | null) | undefined;
            last4?: (string | null) | undefined;
            routing_number?: (string | null) | undefined;
        } | undefined;
        alipay?: {
            data_string?: (string | null) | undefined;
            native_url?: (string | null) | undefined;
            statement_descriptor?: (string | null) | undefined;
        } | undefined;
        amount: number | null;
        au_becs_debit?: {
            bsb_number?: (string | null) | undefined;
            fingerprint?: (string | null) | undefined;
            last4?: (string | null) | undefined;
        } | undefined;
        bancontact?: {
            bank_code?: (string | null) | undefined;
            bank_name?: (string | null) | undefined;
            bic?: (string | null) | undefined;
            iban_last4?: (string | null) | undefined;
            preferred_language?: (string | null) | undefined;
            statement_descriptor?: (string | null) | undefined;
        } | undefined;
        card?: {
            address_line1_check?: (string | null) | undefined;
            address_zip_check?: (string | null) | undefined;
            brand?: (string | null) | undefined;
            country?: (string | null) | undefined;
            cvc_check?: (string | null) | undefined;
            description?: string | undefined;
            dynamic_last4?: (string | null) | undefined;
            exp_month?: (number | null) | undefined;
            exp_year?: (number | null) | undefined;
            fingerprint?: string | undefined;
            funding?: (string | null) | undefined;
            iin?: string | undefined;
            issuer?: string | undefined;
            last4?: (string | null) | undefined;
            name?: (string | null) | undefined;
            three_d_secure?: string | undefined;
            tokenization_method?: (string | null) | undefined;
        } | undefined;
        card_present?: {
            application_cryptogram?: string | undefined;
            application_preferred_name?: string | undefined;
            authorization_code?: (string | null) | undefined;
            authorization_response_code?: string | undefined;
            brand?: (string | null) | undefined;
            country?: (string | null) | undefined;
            cvm_type?: string | undefined;
            data_type?: (string | null) | undefined;
            dedicated_file_name?: string | undefined;
            description?: string | undefined;
            emv_auth_data?: string | undefined;
            evidence_customer_signature?: (string | null) | undefined;
            evidence_transaction_certificate?: (string | null) | undefined;
            exp_month?: (number | null) | undefined;
            exp_year?: (number | null) | undefined;
            fingerprint?: string | undefined;
            funding?: (string | null) | undefined;
            iin?: string | undefined;
            issuer?: string | undefined;
            last4?: (string | null) | undefined;
            pos_device_id?: (string | null) | undefined;
            pos_entry_mode?: string | undefined;
            read_method?: (string | null) | undefined;
            reader?: (string | null) | undefined;
            terminal_verification_results?: string | undefined;
            transaction_status_information?: string | undefined;
        } | undefined;
        client_secret: string;
        code_verification?: {
            attempts_remaining: number;
            status: string;
        } | undefined;
        created: number;
        currency: string | null;
        customer?: string | undefined;
        eps?: {
            reference?: (string | null) | undefined;
            statement_descriptor?: (string | null) | undefined;
        } | undefined;
        flow: string;
        giropay?: {
            bank_code?: (string | null) | undefined;
            bank_name?: (string | null) | undefined;
            bic?: (string | null) | undefined;
            statement_descriptor?: (string | null) | undefined;
        } | undefined;
        ideal?: {
            bank?: (string | null) | undefined;
            bic?: (string | null) | undefined;
            iban_last4?: (string | null) | undefined;
            statement_descriptor?: (string | null) | undefined;
        } | undefined;
        klarna?: {
            background_image_url?: string | undefined;
            client_token?: (string | null) | undefined;
            first_name?: string | undefined;
            last_name?: string | undefined;
            locale?: string | undefined;
            logo_url?: string | undefined;
            page_title?: string | undefined;
            pay_later_asset_urls_descriptive?: string | undefined;
            pay_later_asset_urls_standard?: string | undefined;
            pay_later_name?: string | undefined;
            pay_later_redirect_url?: string | undefined;
            pay_now_asset_urls_descriptive?: string | undefined;
            pay_now_asset_urls_standard?: string | undefined;
            pay_now_name?: string | undefined;
            pay_now_redirect_url?: string | undefined;
            pay_over_time_asset_urls_descriptive?: string | undefined;
            pay_over_time_asset_urls_standard?: string | undefined;
            pay_over_time_name?: string | undefined;
            pay_over_time_redirect_url?: string | undefined;
            payment_method_categories?: string | undefined;
            purchase_country?: string | undefined;
            purchase_type?: string | undefined;
            redirect_url?: string | undefined;
            shipping_delay?: number | undefined;
            shipping_first_name?: string | undefined;
            shipping_last_name?: string | undefined;
        } | undefined;
        livemode: boolean;
        metadata: {
            [x: string]: string;
        } | null;
        multibanco?: {
            entity?: (string | null) | undefined;
            reference?: (string | null) | undefined;
            refund_account_holder_address_city?: (string | null) | undefined;
            refund_account_holder_address_country?: (string | null) | undefined;
            refund_account_holder_address_line1?: (string | null) | undefined;
            refund_account_holder_address_line2?: (string | null) | undefined;
            refund_account_holder_address_postal_code?: (string | null) | undefined;
            refund_account_holder_address_state?: (string | null) | undefined;
            refund_account_holder_name?: (string | null) | undefined;
            refund_iban?: (string | null) | undefined;
        } | undefined;
        owner: {
            address: {
                city: string | null;
                country: string | null;
                line1: string | null;
                line2: string | null;
                postal_code: string | null;
                state: string | null;
            } | null;
            email: string | null;
            name: string | null;
            phone: string | null;
            verified_address: {
                city: string | null;
                country: string | null;
                line1: string | null;
                line2: string | null;
                postal_code: string | null;
                state: string | null;
            } | null;
            verified_email: string | null;
            verified_name: string | null;
            verified_phone: string | null;
        } | null;
        p24?: {
            reference?: (string | null) | undefined;
        } | undefined;
        receiver?: {
            address: string | null;
            amount_charged: number;
            amount_received: number;
            amount_returned: number;
            refund_attributes_method: string;
            refund_attributes_status: string;
        } | undefined;
        redirect?: {
            failure_reason: string | null;
            return_url: string;
            status: string;
            url: string;
        } | undefined;
        sepa_credit_transfer?: {
            bank_name?: (string | null) | undefined;
            bic?: (string | null) | undefined;
            iban?: (string | null) | undefined;
            refund_account_holder_address_city?: (string | null) | undefined;
            refund_account_holder_address_country?: (string | null) | undefined;
            refund_account_holder_address_line1?: (string | null) | undefined;
            refund_account_holder_address_line2?: (string | null) | undefined;
            refund_account_holder_address_postal_code?: (string | null) | undefined;
            refund_account_holder_address_state?: (string | null) | undefined;
            refund_account_holder_name?: (string | null) | undefined;
            refund_iban?: (string | null) | undefined;
        } | undefined;
        sepa_debit?: {
            bank_code?: (string | null) | undefined;
            branch_code?: (string | null) | undefined;
            country?: (string | null) | undefined;
            fingerprint?: (string | null) | undefined;
            last4?: (string | null) | undefined;
            mandate_reference?: (string | null) | undefined;
            mandate_url?: (string | null) | undefined;
        } | undefined;
        sofort?: {
            bank_code?: (string | null) | undefined;
            bank_name?: (string | null) | undefined;
            bic?: (string | null) | undefined;
            country?: (string | null) | undefined;
            iban_last4?: (string | null) | undefined;
            preferred_language?: (string | null) | undefined;
            statement_descriptor?: (string | null) | undefined;
        } | undefined;
        source_order?: {
            amount: number;
            currency: string;
            email?: string | undefined;
            items: {
                amount: number | null;
                currency: string | null;
                description: string | null;
                parent: string | null;
                quantity?: number | undefined;
                type: string | null;
            }[] | null;
            shipping?: {
                address?: {
                    city: string | null;
                    country: string | null;
                    line1: string | null;
                    line2: string | null;
                    postal_code: string | null;
                    state: string | null;
                } | undefined;
                carrier?: (string | null) | undefined;
                name?: string | undefined;
                phone?: (string | null) | undefined;
                tracking_number?: (string | null) | undefined;
            } | undefined;
        } | undefined;
        statement_descriptor: string | null;
        status: string;
        three_d_secure?: {
            address_line1_check?: (string | null) | undefined;
            address_zip_check?: (string | null) | undefined;
            authenticated?: (boolean | null) | undefined;
            brand?: (string | null) | undefined;
            card?: (string | null) | undefined;
            country?: (string | null) | undefined;
            customer?: (string | null) | undefined;
            cvc_check?: (string | null) | undefined;
            description?: string | undefined;
            dynamic_last4?: (string | null) | undefined;
            exp_month?: (number | null) | undefined;
            exp_year?: (number | null) | undefined;
            fingerprint?: string | undefined;
            funding?: (string | null) | undefined;
            iin?: string | undefined;
            issuer?: string | undefined;
            last4?: (string | null) | undefined;
            name?: (string | null) | undefined;
            three_d_secure?: string | undefined;
            tokenization_method?: (string | null) | undefined;
        } | undefined;
        type: string;
        usage: string | null;
        wechat?: {
            prepay_id?: string | undefined;
            qr_code_url?: (string | null) | undefined;
            statement_descriptor?: string | undefined;
        } | undefined;
    })[] | undefined;
    subscriptions?: {
        id: string;
        object: string;
        application: string | {
            id: string;
            object: string;
            deleted?: void | undefined;
            name: string | null;
        } | {
            id: string;
            object: string;
            deleted: boolean;
            name: string | null;
        } | null;
        application_fee_percent: number | null;
        automatic_tax: any;
        billing_cycle_anchor: number;
        billing_cycle_anchor_config: any | null;
        billing_thresholds: any | null;
        cancel_at: number | null;
        cancel_at_period_end: boolean;
        canceled_at: number | null;
        cancellation_details: any | null;
        collection_method: string;
        created: number;
        currency: string;
        current_period_end: number;
        current_period_start: number;
        customer: string | any | {
            id: string;
            object: string;
            deleted: boolean;
        };
        days_until_due: number | null;
        default_payment_method: string | any | null;
        default_source: string | any | any | {
            id: string;
            object: string;
            account?: string | any | null | undefined;
            address_city: string | null;
            address_country: string | null;
            address_line1: string | null;
            address_line1_check: string | null;
            address_line2: string | null;
            address_state: string | null;
            address_zip: string | null;
            address_zip_check: string | null;
            available_payout_methods?: string[] | null | undefined;
            brand: string;
            country: string | null;
            currency?: (string | null) | undefined;
            customer?: string | any | {
                id: string;
                object: string;
                deleted: boolean;
            } | null | undefined;
            cvc_check: string | null;
            default_for_currency?: (boolean | null) | undefined;
            deleted?: void | undefined;
            description?: string | undefined;
            dynamic_last4: string | null;
            exp_month: number;
            exp_year: number;
            fingerprint?: (string | null) | undefined;
            funding: string;
            iin?: string | undefined;
            issuer?: string | undefined;
            last4: string;
            metadata: {
                [x: string]: string;
            } | null;
            name: string | null;
            networks?: {
                preferred: string | null;
            } | undefined;
            status?: (string | null) | undefined;
            tokenization_method: string | null;
        } | {
            id: string;
            object: string;
            ach_credit_transfer?: {
                account_number?: (string | null) | undefined;
                bank_name?: (string | null) | undefined;
                fingerprint?: (string | null) | undefined;
                refund_account_holder_name?: (string | null) | undefined;
                refund_account_holder_type?: (string | null) | undefined;
                refund_routing_number?: (string | null) | undefined;
                routing_number?: (string | null) | undefined;
                swift_code?: (string | null) | undefined;
            } | undefined;
            ach_debit?: {
                bank_name?: (string | null) | undefined;
                country?: (string | null) | undefined;
                fingerprint?: (string | null) | undefined;
                last4?: (string | null) | undefined;
                routing_number?: (string | null) | undefined;
                type?: (string | null) | undefined;
            } | undefined;
            acss_debit?: {
                bank_address_city?: (string | null) | undefined;
                bank_address_line_1?: (string | null) | undefined;
                bank_address_line_2?: (string | null) | undefined;
                bank_address_postal_code?: (string | null) | undefined;
                bank_name?: (string | null) | undefined;
                category?: (string | null) | undefined;
                country?: (string | null) | undefined;
                fingerprint?: (string | null) | undefined;
                last4?: (string | null) | undefined;
                routing_number?: (string | null) | undefined;
            } | undefined;
            alipay?: {
                data_string?: (string | null) | undefined;
                native_url?: (string | null) | undefined;
                statement_descriptor?: (string | null) | undefined;
            } | undefined;
            amount: number | null;
            au_becs_debit?: {
                bsb_number?: (string | null) | undefined;
                fingerprint?: (string | null) | undefined;
                last4?: (string | null) | undefined;
            } | undefined;
            bancontact?: {
                bank_code?: (string | null) | undefined;
                bank_name?: (string | null) | undefined;
                bic?: (string | null) | undefined;
                iban_last4?: (string | null) | undefined;
                preferred_language?: (string | null) | undefined;
                statement_descriptor?: (string | null) | undefined;
            } | undefined;
            card?: {
                address_line1_check?: (string | null) | undefined;
                address_zip_check?: (string | null) | undefined;
                brand?: (string | null) | undefined;
                country?: (string | null) | undefined;
                cvc_check?: (string | null) | undefined;
                description?: string | undefined;
                dynamic_last4?: (string | null) | undefined;
                exp_month?: (number | null) | undefined;
                exp_year?: (number | null) | undefined;
                fingerprint?: string | undefined;
                funding?: (string | null) | undefined;
                iin?: string | undefined;
                issuer?: string | undefined;
                last4?: (string | null) | undefined;
                name?: (string | null) | undefined;
                three_d_secure?: string | undefined;
                tokenization_method?: (string | null) | undefined;
            } | undefined;
            card_present?: {
                application_cryptogram?: string | undefined;
                application_preferred_name?: string | undefined;
                authorization_code?: (string | null) | undefined;
                authorization_response_code?: string | undefined;
                brand?: (string | null) | undefined;
                country?: (string | null) | undefined;
                cvm_type?: string | undefined;
                data_type?: (string | null) | undefined;
                dedicated_file_name?: string | undefined;
                description?: string | undefined;
                emv_auth_data?: string | undefined;
                evidence_customer_signature?: (string | null) | undefined;
                evidence_transaction_certificate?: (string | null) | undefined;
                exp_month?: (number | null) | undefined;
                exp_year?: (number | null) | undefined;
                fingerprint?: string | undefined;
                funding?: (string | null) | undefined;
                iin?: string | undefined;
                issuer?: string | undefined;
                last4?: (string | null) | undefined;
                pos_device_id?: (string | null) | undefined;
                pos_entry_mode?: string | undefined;
                read_method?: (string | null) | undefined;
                reader?: (string | null) | undefined;
                terminal_verification_results?: string | undefined;
                transaction_status_information?: string | undefined;
            } | undefined;
            client_secret: string;
            code_verification?: {
                attempts_remaining: number;
                status: string;
            } | undefined;
            created: number;
            currency: string | null;
            customer?: string | undefined;
            eps?: {
                reference?: (string | null) | undefined;
                statement_descriptor?: (string | null) | undefined;
            } | undefined;
            flow: string;
            giropay?: {
                bank_code?: (string | null) | undefined;
                bank_name?: (string | null) | undefined;
                bic?: (string | null) | undefined;
                statement_descriptor?: (string | null) | undefined;
            } | undefined;
            ideal?: {
                bank?: (string | null) | undefined;
                bic?: (string | null) | undefined;
                iban_last4?: (string | null) | undefined;
                statement_descriptor?: (string | null) | undefined;
            } | undefined;
            klarna?: {
                background_image_url?: string | undefined;
                client_token?: (string | null) | undefined;
                first_name?: string | undefined;
                last_name?: string | undefined;
                locale?: string | undefined;
                logo_url?: string | undefined;
                page_title?: string | undefined;
                pay_later_asset_urls_descriptive?: string | undefined;
                pay_later_asset_urls_standard?: string | undefined;
                pay_later_name?: string | undefined;
                pay_later_redirect_url?: string | undefined;
                pay_now_asset_urls_descriptive?: string | undefined;
                pay_now_asset_urls_standard?: string | undefined;
                pay_now_name?: string | undefined;
                pay_now_redirect_url?: string | undefined;
                pay_over_time_asset_urls_descriptive?: string | undefined;
                pay_over_time_asset_urls_standard?: string | undefined;
                pay_over_time_name?: string | undefined;
                pay_over_time_redirect_url?: string | undefined;
                payment_method_categories?: string | undefined;
                purchase_country?: string | undefined;
                purchase_type?: string | undefined;
                redirect_url?: string | undefined;
                shipping_delay?: number | undefined;
                shipping_first_name?: string | undefined;
                shipping_last_name?: string | undefined;
            } | undefined;
            livemode: boolean;
            metadata: {
                [x: string]: string;
            } | null;
            multibanco?: {
                entity?: (string | null) | undefined;
                reference?: (string | null) | undefined;
                refund_account_holder_address_city?: (string | null) | undefined;
                refund_account_holder_address_country?: (string | null) | undefined;
                refund_account_holder_address_line1?: (string | null) | undefined;
                refund_account_holder_address_line2?: (string | null) | undefined;
                refund_account_holder_address_postal_code?: (string | null) | undefined;
                refund_account_holder_address_state?: (string | null) | undefined;
                refund_account_holder_name?: (string | null) | undefined;
                refund_iban?: (string | null) | undefined;
            } | undefined;
            owner: {
                address: {
                    city: string | null;
                    country: string | null;
                    line1: string | null;
                    line2: string | null;
                    postal_code: string | null;
                    state: string | null;
                } | null;
                email: string | null;
                name: string | null;
                phone: string | null;
                verified_address: {
                    city: string | null;
                    country: string | null;
                    line1: string | null;
                    line2: string | null;
                    postal_code: string | null;
                    state: string | null;
                } | null;
                verified_email: string | null;
                verified_name: string | null;
                verified_phone: string | null;
            } | null;
            p24?: {
                reference?: (string | null) | undefined;
            } | undefined;
            receiver?: {
                address: string | null;
                amount_charged: number;
                amount_received: number;
                amount_returned: number;
                refund_attributes_method: string;
                refund_attributes_status: string;
            } | undefined;
            redirect?: {
                failure_reason: string | null;
                return_url: string;
                status: string;
                url: string;
            } | undefined;
            sepa_credit_transfer?: {
                bank_name?: (string | null) | undefined;
                bic?: (string | null) | undefined;
                iban?: (string | null) | undefined;
                refund_account_holder_address_city?: (string | null) | undefined;
                refund_account_holder_address_country?: (string | null) | undefined;
                refund_account_holder_address_line1?: (string | null) | undefined;
                refund_account_holder_address_line2?: (string | null) | undefined;
                refund_account_holder_address_postal_code?: (string | null) | undefined;
                refund_account_holder_address_state?: (string | null) | undefined;
                refund_account_holder_name?: (string | null) | undefined;
                refund_iban?: (string | null) | undefined;
            } | undefined;
            sepa_debit?: {
                bank_code?: (string | null) | undefined;
                branch_code?: (string | null) | undefined;
                country?: (string | null) | undefined;
                fingerprint?: (string | null) | undefined;
                last4?: (string | null) | undefined;
                mandate_reference?: (string | null) | undefined;
                mandate_url?: (string | null) | undefined;
            } | undefined;
            sofort?: {
                bank_code?: (string | null) | undefined;
                bank_name?: (string | null) | undefined;
                bic?: (string | null) | undefined;
                country?: (string | null) | undefined;
                iban_last4?: (string | null) | undefined;
                preferred_language?: (string | null) | undefined;
                statement_descriptor?: (string | null) | undefined;
            } | undefined;
            source_order?: {
                amount: number;
                currency: string;
                email?: string | undefined;
                items: {
                    amount: number | null;
                    currency: string | null;
                    description: string | null;
                    parent: string | null;
                    quantity?: number | undefined;
                    type: string | null;
                }[] | null;
                shipping?: {
                    address?: {
                        city: string | null;
                        country: string | null;
                        line1: string | null;
                        line2: string | null;
                        postal_code: string | null;
                        state: string | null;
                    } | undefined;
                    carrier?: (string | null) | undefined;
                    name?: string | undefined;
                    phone?: (string | null) | undefined;
                    tracking_number?: (string | null) | undefined;
                } | undefined;
            } | undefined;
            statement_descriptor: string | null;
            status: string;
            three_d_secure?: {
                address_line1_check?: (string | null) | undefined;
                address_zip_check?: (string | null) | undefined;
                authenticated?: (boolean | null) | undefined;
                brand?: (string | null) | undefined;
                card?: (string | null) | undefined;
                country?: (string | null) | undefined;
                customer?: (string | null) | undefined;
                cvc_check?: (string | null) | undefined;
                description?: string | undefined;
                dynamic_last4?: (string | null) | undefined;
                exp_month?: (number | null) | undefined;
                exp_year?: (number | null) | undefined;
                fingerprint?: string | undefined;
                funding?: (string | null) | undefined;
                iin?: string | undefined;
                issuer?: string | undefined;
                last4?: (string | null) | undefined;
                name?: (string | null) | undefined;
                three_d_secure?: string | undefined;
                tokenization_method?: (string | null) | undefined;
            } | undefined;
            type: string;
            usage: string | null;
            wechat?: {
                prepay_id?: string | undefined;
                qr_code_url?: (string | null) | undefined;
                statement_descriptor?: string | undefined;
            } | undefined;
        } | null;
        default_tax_rates?: {
            id: string;
            object: string;
            active: boolean;
            country: string | null;
            created: number;
            description: string | null;
            display_name: string;
            effective_percentage: number | null;
            flat_amount: any | null;
            inclusive: boolean;
            jurisdiction: string | null;
            jurisdiction_level: string | null;
            livemode: boolean;
            metadata: {
                [x: string]: string;
            } | null;
            percentage: number;
            rate_type: string | null;
            state: string | null;
            tax_type: string | null;
        }[] | null | undefined;
        description: string | null;
        discount: {
            id: string;
            object: string;
            checkout_session: string | null;
            coupon: {
                id: string;
                object: string;
                amount_off: number | null;
                applies_to?: {
                    products: Array<string>;
                } | undefined;
                created: number;
                currency: string | null;
                currency_options?: {
                    [x: string]: {
                        amount_off: number;
                    };
                } | undefined;
                deleted?: void | undefined;
                duration: string;
                duration_in_months: number | null;
                livemode: boolean;
                max_redemptions: number | null;
                metadata: {
                    [x: string]: string;
                } | null;
                name: string | null;
                percent_off: number | null;
                redeem_by: number | null;
                times_redeemed: number;
                valid: boolean;
            };
            customer: string | any | {
                id: string;
                object: string;
                deleted: boolean;
            } | null;
            deleted?: void | undefined;
            end: number | null;
            invoice: string | null;
            invoice_item: string | null;
            promotion_code: string | {
                id: string;
                object: string;
                active: boolean;
                code: string;
                coupon: {
                    id: string;
                    object: string;
                    amount_off: number | null;
                    applies_to?: {
                        products: Array<string>;
                    } | undefined;
                    created: number;
                    currency: string | null;
                    currency_options?: {
                        [x: string]: {
                            amount_off: number;
                        };
                    } | undefined;
                    deleted?: void | undefined;
                    duration: string;
                    duration_in_months: number | null;
                    livemode: boolean;
                    max_redemptions: number | null;
                    metadata: {
                        [x: string]: string;
                    } | null;
                    name: string | null;
                    percent_off: number | null;
                    redeem_by: number | null;
                    times_redeemed: number;
                    valid: boolean;
                };
                created: number;
                customer: string | any | {
                    id: string;
                    object: string;
                    deleted: boolean;
                } | null;
                expires_at: number | null;
                livemode: boolean;
                max_redemptions: number | null;
                metadata: {
                    [x: string]: string;
                } | null;
                restrictions: {
                    currency_options?: {
                        [x: string]: {
                            minimum_amount: number;
                        };
                    } | undefined;
                    first_time_transaction: boolean;
                    minimum_amount: number | null;
                    minimum_amount_currency: string | null;
                };
                times_redeemed: number;
            } | null;
            start: number;
            subscription: string | null;
            subscription_item: string | null;
        } | null;
        discounts: (string | {
            id: string;
            object: string;
            checkout_session: string | null;
            coupon: {
                id: string;
                object: string;
                amount_off: number | null;
                applies_to?: {
                    products: Array<string>;
                } | undefined;
                created: number;
                currency: string | null;
                currency_options?: {
                    [x: string]: {
                        amount_off: number;
                    };
                } | undefined;
                deleted?: void | undefined;
                duration: string;
                duration_in_months: number | null;
                livemode: boolean;
                max_redemptions: number | null;
                metadata: {
                    [x: string]: string;
                } | null;
                name: string | null;
                percent_off: number | null;
                redeem_by: number | null;
                times_redeemed: number;
                valid: boolean;
            };
            customer: string | any | {
                id: string;
                object: string;
                deleted: boolean;
            } | null;
            deleted?: void | undefined;
            end: number | null;
            invoice: string | null;
            invoice_item: string | null;
            promotion_code: string | {
                id: string;
                object: string;
                active: boolean;
                code: string;
                coupon: {
                    id: string;
                    object: string;
                    amount_off: number | null;
                    applies_to?: {
                        products: Array<string>;
                    } | undefined;
                    created: number;
                    currency: string | null;
                    currency_options?: {
                        [x: string]: {
                            amount_off: number;
                        };
                    } | undefined;
                    deleted?: void | undefined;
                    duration: string;
                    duration_in_months: number | null;
                    livemode: boolean;
                    max_redemptions: number | null;
                    metadata: {
                        [x: string]: string;
                    } | null;
                    name: string | null;
                    percent_off: number | null;
                    redeem_by: number | null;
                    times_redeemed: number;
                    valid: boolean;
                };
                created: number;
                customer: string | any | {
                    id: string;
                    object: string;
                    deleted: boolean;
                } | null;
                expires_at: number | null;
                livemode: boolean;
                max_redemptions: number | null;
                metadata: {
                    [x: string]: string;
                } | null;
                restrictions: {
                    currency_options?: {
                        [x: string]: {
                            minimum_amount: number;
                        };
                    } | undefined;
                    first_time_transaction: boolean;
                    minimum_amount: number | null;
                    minimum_amount_currency: string | null;
                };
                times_redeemed: number;
            } | null;
            start: number;
            subscription: string | null;
            subscription_item: string | null;
        })[];
        ended_at: number | null;
        invoice_settings: any;
        items: any[];
        latest_invoice: string | any | null;
        livemode: boolean;
        metadata: {
            [x: string]: string;
        };
        next_pending_invoice_item_invoice: number | null;
        on_behalf_of: string | any | null;
        pause_collection: any | null;
        payment_settings: any | null;
        pending_invoice_item_interval: any | null;
        pending_setup_intent: string | {
            id: string;
            object: string;
            application: string | {
                id: string;
                object: string;
                deleted?: void | undefined;
                name: string | null;
            } | null;
            attach_to_self?: boolean | undefined;
            automatic_payment_methods: any | null;
            cancellation_reason: string | null;
            client_secret: string | null;
            created: number;
            customer: string | any | {
                id: string;
                object: string;
                deleted: boolean;
            } | null;
            description: string | null;
            flow_directions: string[] | null;
            last_setup_error: any | null;
            latest_attempt: string | any | null;
            livemode: boolean;
            mandate: string | any | null;
            metadata: {
                [x: string]: string;
            } | null;
            next_action: any | null;
            on_behalf_of: string | any | null;
            payment_method: string | any | null;
            payment_method_configuration_details: any | null;
            payment_method_options: any | null;
            payment_method_types: Array<string>;
            single_use_mandate: string | any | null;
            status: string;
            usage: string;
        } | null;
        pending_update: any | null;
        schedule: string | any | null;
        start_date: number;
        status: string;
        test_clock: string | any | null;
        transfer_data: any | null;
        trial_end: number | null;
        trial_settings: any | null;
        trial_start: number | null;
    }[] | undefined;
    tax?: {
        automatic_tax: string;
        ip_address: string | null;
        location: {
            country: string;
            source: string;
            state: string | null;
        } | null;
    } | undefined;
    tax_exempt?: string | null | undefined;
    tax_ids?: {
        id: string;
        object: string;
        country: string | null;
        created: number;
        customer: string | any | null;
        deleted?: void | undefined;
        livemode: boolean;
        owner: any | null;
        type: string;
        value: string;
        verification: any | null;
    }[] | undefined;
    test_clock?: string | {
        id: string;
        object: string;
        created: number;
        deleted?: void | undefined;
        deletes_after: number;
        frozen_time: number;
        livemode: boolean;
        name: string | null;
        status: string;
        status_details: any;
    } | null | undefined;
    lastResponse: {
        headers: {
            [x: string]: string;
        };
        requestId: string;
        statusCode: number;
        apiVersion?: string | undefined;
        idempotencyKey?: string | undefined;
        stripeAccount?: string | undefined;
    };
}>;
