# mutation | @coopenomics/sdk
Documentation for @coopenomics/sdk

# Variable mutation`Const`

mutation: {
updateBankAccount: [{
data: Variable <"UpdateBankAccountInput!", "data">;
}, {
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;
}];
} = ...

#### Type declaration

- ##### updateBankAccount: [{
  data: Variable <"UpdateBankAccountInput!", "data">;
  }, {
  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;
  }]

- Defined in components/sdk/src/mutations/paymentMethods/updateBankAccount.ts:6