Sandbox testing

The below article has been written to help you with testing your application and exploring Lean's APIs within the Sandbox. This means the following three statements are always in effect:

  1. All calls in Sandbox are made to sandbox.leantech.me not api.leantech.me.
  2. Usage of the LinkSDK has sandbox: true in the method calls.
  3. Calls to Lean's API do not require certificates or mTLS transmission.

Lean Mockbank

Usage of the LinkSDK in Sandbox mode will enable 'Lean Mockbank' as a provider. Mockbank allows you to connect sample users and test the various states of your application to make sure you're ready for production data.

Mockbank behaves the same way as live banks, providing data and sending webhooks.

Test Users

In order to log into the mockbank, you will need to provide the credentials for one of your provisioned Test Users - these are displayed in the developer portal under the Integration tab. Make sure to create a new test user for open finance testing.

Test users


Capturing Webhooks

You can test our API's directly from your terminal or Postman without building your backend, however key information is delivered via webhook.

While in sandbox, and no live data is being sent, you can use a webhook catcher to view the webhook data being sent:

LinkSDK Testing

We've provided a simple HTML wrapper on github to get started with creating entities in the Sandbox. Simply clone the repository and update the values with your own.

LinkSDK HTML Boilerplate