query: {
    getPaymentMethods: [{
        data: Variable<"GetPaymentMethodsInput", "data">;
    }, {
        currentPage: boolean;
        items: {
            created_at: boolean;
            data: {
                ...on BankAccount: {
                    account_number: boolean;
                    bank_name: boolean;
                    card_number: boolean;
                    currency: boolean;
                    details: {
                        bik: boolean;
                        corr: boolean;
                        kpp: boolean;
                    };
                };
                ...on SbpAccount: {
                    phone: boolean;
                };
                __typename: boolean;
            };
            is_default: boolean;
            method_id: boolean;
            method_type: boolean;
            updated_at: boolean;
            username: boolean;
        };
        totalCount: boolean;
        totalPages: boolean;
    }];
} = ...

Извлекает методы платежа

Type declaration

  • getPaymentMethods: [{
        data: Variable<"GetPaymentMethodsInput", "data">;
    }, {
        currentPage: boolean;
        items: {
            created_at: boolean;
            data: {
                ...on BankAccount: {
                    account_number: boolean;
                    bank_name: boolean;
                    card_number: boolean;
                    currency: boolean;
                    details: {
                        bik: boolean;
                        corr: boolean;
                        kpp: boolean;
                    };
                };
                ...on SbpAccount: {
                    phone: boolean;
                };
                __typename: boolean;
            };
            is_default: boolean;
            method_id: boolean;
            method_type: boolean;
            updated_at: boolean;
            username: boolean;
        };
        totalCount: boolean;
        totalPages: boolean;
    }]