The Postman collection for Open Banking APIs (๐บ๐ธ) tested using Newman and the Test Drive plan.
The following workflow runs the collection and ensures it can be used to consume and test the Open Banking APIs:
- A free Mastercard Developers account is required to obtain your Partner ID, Partner Secret and App Key:
- Before running the collection, you need a Customer ID. For that, follow Welcome Your First Customer or run the setup script. This script will call:
addTestingCustomer
generateConnectUrl
(Connect Application). Simply open the URL, search for "FinBank Profiles - A" and add to your test customer all accounts fromprofile_03
.refreshCustomerAccounts
- Click:
- Select the Test Drive environment (top right) and update
partnerId
,partnerSecret
,appKey
andcustomerId
variables - Click Send on individual requests, or Run collection
- Explore the Pre-request Script and Tests tabs, and update the collection as you wish
- Clone this repository
- Run
npx newman run openbanking-us.postman_collection.json --env-var partnerId=*** --env-var partnerSecret=*** --env-var appKey=*** --env-var customerId=*** --folder 'All APIs'
- Fork this repository
- Go to Settings > Secrets > Actions
- Create new repository secrets:
PARTNER_ID
,PARTNER_SECRET
andAPP_KEY
- Enable workflows in the Actions tab
- Click Run workflow under Newman. Expected result: โ๏ธ
- Postman allows you to generate code snippets you can use into your application
- You may also be interested in generating an API client from the Open Banking API specification
The Open Banking Postman Collection was created from the Open Banking API specification and must be maintained accordingly.