# Consents Client

![Language](https://img.shields.io/badge/Language-JavaScript-yellow.svg)

This client helps in Open Banking Consents endpoints.

## Setup

```javascript
import { ConsentsClient } from 'open-banking-pfm-sdk';

//The constructor receives an api key to validate access to all of its functions. This parameter is required. If you want to change the API Server Url you can do it passing it as second parameter.
const SERVER_URL =
  'http://tecbantest@ec2-3-21-18-54.us-east-2.compute.amazonaws.com:8081/api/v1/';
const consentsClient = new ConsentsClient('XXXX-XXXX-XXXX', SERVER_URL);
```

## How to use

