Update a bank account

Updated on 30 Apr 2020

Description

A User or External Entity on behalf of a User with role permission PROFILE_OWNER will go through all steps of “View profile’s bank accounts” Use Case, and then send a request to Endpoint “Update a bank account”.

Actors

  1. External Entity that can interact with System Operator API acting as a registered System Operator User with permissions: PROFILE_OWNER.
  2. System Operator running “SDK.Finance” software and exposing the portfolio of financial APIs.

Preconditions

  1. The user must have a System Operator profile with sufficient access privileges.

Basic Flow

By default, this flow assumes that External Entity sends Requests to System Operator Endpoints, and System Operator sends back Responses to External Entity.

  1. Perform all steps of Use Case “View profile’s bank accounts”.
  2. External Entity sends a request to Endpoint “Update a bank account”.

Endpoint URL: https://sdkfinance.app/api/ui/#!/Profile_-_bank_accounts/Update_bank_account

Parameters: 

Idbank account identifier

Authorization – Authorization token

Request body example:



   "accountDetails":{ 

      "fullName":"string",

      "account":"string",

      "iban":"string",

      "bic":"string",

      "swift":"string",

      "name":"string",

      "address":"string"

   }

}
  1. System Operator returns result information to External Entity. (See Result example below)

Optional Flow with Web Browser UI

  1. Perform all steps of Use Case “View profile’s bank accounts”.
  2. A user sends a request to Endpoint “Update a bank account”.

Endpoint URL: https://sdkfinance.app/api/ui/#!/Profile_-_bank_accounts/Update_bank_account

Parameters: 

Idbank account identifier

Authorization – Authorization token

Request body example:



   "accountDetails":{ 

      "fullName":"string",

      "account":"string",

      "iban":"string",

      "bic":"string",

      "swift":"string",

      "name":"string",

      "address":"string"

   }

}
  1. System Operator returns result information to User (See Result example below).

Post Conditions

The bank account is updated.

Result example



   "account":{ 

      "id":"string",

      "createdAt":"2018-08-07T14:16:19.147Z",

      "updatedAt":"2018-08-07T14:16:19.147Z",

      "status":"PENDING",

      "details":{ 

         "fullName":"string",

         "account":"string",

         "iban":"string",

         "bic":"string",

         "swift":"string",

         "name":"string",

         "address":"string"

      }

   },

   "status":"ok",

   "message":"string"

}