Contents

listBankAccountsread-only#

List bank accounts known to the wallet from previous withdrawals.

Request:

The request must be a ListBankAccountsRequest object.

Response:

On success, the result is a ListBankAccountsResponse object.

Details:

When currency is specified, only accounts that support the currency are returned; accounts whose supported currencies are unknown are always included. Stored accounts whose paytoUri can no longer be parsed are silently skipped.

interface ListBankAccountsRequest {
  currency?: string;
}
interface ListBankAccountsResponse {
  accounts: WalletBankAccountInfo[];
}
interface WalletBankAccountInfo {
  bankAccountId: string;

  paytoUri: string;

  // Did we previously complete a KYC process for this bank account?
  // Deprecated: the KYC may have been completed for one exchange
  // but not for another.
  kycCompleted: boolean;

  // Currencies supported by the bank, if known.
  currencies: string[] | undefined;

  label: string | undefined;
}