Using Postman
To see the Sage Banking Service Provider API in action you can use Postman, a multi-platform REST client with intuitive GUI for:
- configuring HTTP requests
- designing JSON payloads
- viewing HTTP responses
Get Postman
Visit the Postman website to Download and install Postman.
If you need help with Postman, they provide help and learning resources in the Postman Learning Center.
Fork the Postman collection
Postman supports Collections which are a pre-packaged bundle of API requests. To assist in the development and testing of your integration, we have provided our Postman collection below which covers the various flows. Further explanation of the collections including use cases and flows is available from Use cases and diagrams.
- Open the Banking Service Flows Postman Collection
- Choose to Fork Collection
- Create a fork label
- Select a workspace, then choose Fork Collection
- This will then also be available within your desktop postman application
Or import the Postman collection
- Select Run in Postman
- Choose to import a copy of the collection
- Allow the postman app to open your desktop version
- Select the workspace you would like to import the collections into
Import the environment JSON received during registration
The environment JSON provided by Sage during registration, contains the details of the sandbox test environment including your client ID and secret. The environment JSON must also be imported into Postman to enable the collections to function.
- Unzip the JSON format file from the downloaded ZIP archive.
- Open Postman
- Select the manage environmnets option at the top right of the Postman UI
- From the manage environmnets view, select Import
- Select the choose files option and locate the environment JSON file
- Ensure the new environment is selected once imported
Pull updates
If we update the Postman collection, these changes will not automatically update within your fork. You will need to pull these changes through the following method:
- Choose the Postman collection
- Select view more …
- Then choose to pull changes
- Any available changes will be displayed
- Select pull changes, any changes will then be pulled
For further information regarding version control, visit Postman learning.
Submit updates
If you make any updates to the Postman collection that will benefit the developer community, we would love for you to share. Creating a pull request to our public collections will allow us to review these changes and approve.
- Ensure you are using a public workspace
- Choose the Postman collection
- Select view more …
- Then choose to Create pull request
- Give a title which provides a brief overview of your update
- Within the description box, share detail regarding these changes
- Add one of our team as a reviewer;
- jordanSage
- Select Create pull request
- Once completed our team will review your updates and merge
For further information regarding version control, visit Postman learning.
Use cases and diagrams
To help visualise the Postman collection and aid the testing of your integration, we have created supporting documentation containing use cases and flow diagrams.