taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

get-bank-account-by-id.rst (587B)


      1 .. ts:op:: getBankAccountById
      2   :read-only:
      3 
      4   Get a known bank account by its identifier.
      5 
      6   **Request:**
      7 
      8     The request must be a `GetBankAccountByIdRequest` object.
      9 
     10   **Response:**
     11 
     12     On success, the result is a `GetBankAccountByIdResponse` object.
     13 
     14   **Expected errors:**
     15 
     16     The caller can handle the following errors inline:
     17     ``WALLET_BANK_ACCOUNT_NOT_FOUND``.
     18 
     19 .. ts:def:: GetBankAccountByIdRequest
     20 
     21   interface GetBankAccountByIdRequest {
     22     bankAccountId: string;
     23   }
     24 
     25 .. ts:def:: GetBankAccountByIdResponse
     26 
     27   type GetBankAccountByIdResponse = WalletBankAccountInfo;