Exposes the Blue Bank #BankOfApis Personal Current Accounts v0.7.
See the Blue Bank Developer Portal for more information.
Run the following command in the root directory of your Node-RED install:
npm install node-red-contrib-blue-bank
- Sign up for the Blue Bank Developer Portal.
- Subscribe to Blue Bank v0.7 API
- Create dummy bank accounts
All methods require:
Subscription Key
- Found under Your Subscriptions, Primary Key
Authorization Token
- Click Get Bearer Token here
Get Account /accounts/{id} - GET
This returns a full Account object for the given id.
Extra Requirements:
Account ID
Update Account /accounts/{id} - PATCH
By design, only the accountFriendlyName
property can be updated by API. Other fields are reserved by the Bank and any attempts to change to them will be ignored.
Expects the property on msg.payload.accountFriendlyName
.
Get Accounts /customers/{id}/accounts - GET
Use this call to enumerate the list of accounts for the specified user.
Extra Requirements:
Customer ID
Get Transactions /accounts/{id}/transactions - GET
Returns a set of Transaction objects for the specified account.
Extra Requirements:
Account ID
Get Customer /customers/{id} - GET
Use this call to return a specific Customer object, if you know the id.
Extra Requirements:
Customer ID
Update Customer /customers/{id} - PATCH
Use this call to update a specific Customer object, if you know the id. At present, the only property which it is possible to update is mobilePhone
.
Expects the property on msg.payload.mobilePhone
.
Note: In a future release, this feature will be available in a customer portal and this PATCH operation will be removed from the public API.
Get Customers /customers - GET
This call will return a collection of Customer objects which the currently authenticated user is allowed to see.