IOutput: {
getPaymentMethods: {
currentPage: number;
items: {
created_at: unknown;
data: ({
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
bik: string;
corr: string;
kpp: string;
};
} | {
__typename: "SbpAccount";
phone: string;
}) & {};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: unknown;
username: string;
}[];
totalCount: number;
totalPages: number;
};
}
Type declaration
getPaymentMethods: {
currentPage: number;
items: {
created_at: unknown;
data: ({
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
bik: string;
corr: string;
kpp: string;
};
} | {
__typename: "SbpAccount";
phone: string;
}) & {};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: unknown;
username: string;
}[];
totalCount: number;
totalPages: number;
}
currentPage: number
items: {
created_at: unknown;
data: ({
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
bik: string;
corr: string;
kpp: string;
};
} | {
__typename: "SbpAccount";
phone: string;
}) & {};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: unknown;
username: string;
}[]
totalCount: number
totalPages: number
Получить список методов оплаты