Sample Code

We have a GitHub repository that we will maintain to show how to communicate with our APIs in various languages. At a high level, the code examples will allow you to carry out these basic actions:

  • Generate a authorisation URL for a AIS connection (while registering a user)
  • Generate a authorisation URL for a PIS connection
  • Complete a connection by exchanging a code for tokens
  • Request a client credentials token to access data
  • Making a data request to get accounts data

At present, the repository will assume that you have an API client that is configured for production.

You can find the repository here