Skip to content

openlab HSBC OBP API Sandbox

PengfeiLi0218 edited this page Feb 18, 2019 · 8 revisions

Hello!

This is a special page for the openlab HSBC OBP API sandbox.

TL;DR

Go here: openlab HSBC

Status

This document may be updated.

Overview

Open Bank Project is an open source API for banks that provides a RESTful interface for developers to build customer facing applications without needing to code for each bank or account type differently. You can use it as a flexible toolbox of data and services to help realise (a.k.a. hack!) your ideas together. For the hackathons, developers have access to simulated transaction data for imaginary customers that match certain customer profiles.

What sort of applications can I build with the OBP API?

Customer facing retail banking and fintech applications for consumers, SMEs, associations, charities, governments and NGOs; including (but not limited to!) Personal Finance Management (PFM) Solutions, online accounting integration, financial widgets, Savings Apps, Education Apps, Gamification, Peace of Mind Apps, Transparency Apps, Crowd funding, on boarding, CRM etc..

What data and services can I access?

This OBP instance contains simulated customer related data. You can create sandbox payments, customer, products and accounts.

Using the OBP APIs you can:

  • Get account information, balance and transaction history of multiple bank accounts
  • Enrich bank transactions with metadata (tags, comments, urls and geolocation) for example to link a receipt or video to a transaction
  • Create/Access different views on accounts. Each view grants a subset of the data to a restricted group of users. For example, a customer could offer special views on his account to his accountants, auditors or regulators. A charity might open their accounts to the public
  • Initiate payments
  • Onboard Customers (KYC etc.)
  • Define Webhooks

Application registration

You will need to register your application here. You will get a consumer key and consumer secret for the calls requiring OAuth or Direct Login authentication.

Direct Login and OAuth

The recommended way to authenticate during the hackathon context is to use Direct Login.

To use OAuth1 we recommend you use (and fork) one of our OAuth Starter SDKs

Both Direct Login and OAuth1 will allow you to access the dummy sandbox customer accounts we have created for you.

You can also authenticate using your Google account and the Google OAuth 2 server (link to follow). Note that if you authenticate with your Google account, you will need to create your own accounts and transactions by making payments between accounts.

Note: Many examples in the docs / SDKs use the general OBP sandbox domain. Make sure you use the correct domain in all calls i.e. openlab.openbankproject.com !

API documentation

  • For the latest version (recommended) see 3.1.0

Power Users

The following are power user accounts on the sandbox which have the following entitlements

{
  "user_name":"powerUser1",
  "password":"X!b3726b94",
  "email":"[email protected]"
}

Customer logins

Developers can use the following logins to get access to dummy customer accounts and transactions.

{
  "user_name":"Robert.Hk.01",
  "password":"X!b3726b93",
  "email":"[email protected]"
},
{
  "user_name":"Susan.Hk.01",
  "password":"X!c46e7262",
  "email":"[email protected]"
},
{
  "user_name":"Anil.Hk.01",
  "password":"X!3b49d64c",
  "email":"[email protected]"
},
{
  "user_name":"Ellie.Hk.01",
  "password":"X!c6cc1cfe",
  "email":"[email protected]"
},
{
  "user_name":"Rosalie.Hk.01",
  "password":"X!0a0b7a91",
  "email":"[email protected]"
},
{
  "user_name":"Chris.Hk.01",
  "password":"X!e5043f01",
  "email":"[email protected]"
},
{
  "user_name":"Dennis.Hk.01",
  "password":"X!77a657d6",
  "email":"[email protected]"
},
{
  "user_name":"Jane.Hk.01",
  "password":"X!7c77a124",
  "email":"[email protected]"
},
{
  "user_name":"Emma.Hk.01",
  "password":"X!13abd253",
  "email":"[email protected]"
},
{
  "user_name":"Sebastien.Hk.01",
  "password":"X!757f0850",
  "email":"[email protected]"
},
{
  "user_name":"Wim.Hk.01",
  "password":"X!49a5ce19",
  "email":"[email protected]"
},
{
  "user_name":"Simon.Hk.01",
  "password":"X!c5cb7549",
  "email":"[email protected]"
},
{
  "user_name":"Jean-paul.Hk.01",
  "password":"X!dd52d6d3",
  "email":"[email protected]"
},
{
  "user_name":"Elise.Hk.01",
  "password":"X!e19960eb",
  "email":"[email protected]"
},
{
  "user_name":"Eleanor.Hk.01",
  "password":"X!eb7fea34",
  "email":"[email protected]"
},
{
  "user_name": "super.user.1",
  "password": "X!16a99a4e",
  "email": "[email protected]"
},
{
  "user_name": "super.user.2",
  "password": "X!8bd5ad03",
  "email": "[email protected]"
},
{
  "user_name": "super.user.3",
  "password": "X!fd32256a",
  "email": "[email protected]"
},
{
  "user_name": "super.user.4",
  "password": "X!fd9f36a7",
  "email": "[email protected]"
},
{
  "user_name": "super.user.5",
  "password": "X!b0362f35",
  "email": "[email protected]"
},
{
  "user_name": "super.user.6",
  "password": "X!2aa5f9a2",
  "email": "[email protected]"
},
{
  "user_name": "super.user.7",
  "password": "X!038fbe24",
  "email": "[email protected]"
},
{
  "user_name": "super.user.8",
  "password": "X!bbe98532",
  "email": "[email protected]"
},
{
  "user_name": "super.user.9",
  "password": "X!5d064260",
  "email": "[email protected]"
},
{
  "user_name": "super.user.10",
  "password": "X!80258f24",
  "email": "[email protected]"
}

Please ask a member of the Open Bank Project team for more logins if you require. You can use this application which also uses OAuth to browse your transaction data (use the above username/password).

FAQ:

Questions / Contact?

Clone this wiki locally