> For the complete documentation index, see [llms.txt](https://apidocs.arionbanki.is/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.arionbanki.is/psd2/api-reference/sample-clients.md).

# Sample Clients

## Postman Sample Client <a href="#set-up-postman" id="set-up-postman"></a>

For your convenience, we have created a sample Postman client for you to use which can be accessed on our GitHub here:

{% embed url="<https://github.com/arionbanki/Arion-OpenBanking-Sandbox.git>" %}

### Importing a Collection <a href="#importing-a-collection" id="importing-a-collection"></a>

A base sample client is available to import for Postman. You can follow the documentation to get it up and running.

To import the collection, simply click import in Postman:

<figure><img src="https://3956606050-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0dhg8Dx3oxMg6FAZtyuC%2Fuploads%2F10qzSXZPRZHPvC6qKPTK%2Fimage.png?alt=media&amp;token=5e294f5e-7f85-4aac-be59-0c6ec42c61e1" alt=""><figcaption></figcaption></figure>

Then locate the json file from the cloned repository. File location in repository: **postman\IOBWS 3.0 Payments and accounts.postman\_collection.json.** Select it in Postman:

![](https://arionbanki.gitbook.io/arion-banki/~gitbook/image?url=https%3A%2F%2F4095428740-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWRKRXR147Y5hgO0DneWg%252Fuploads%252Fbfzjs8wwswDxPMW8fc6K%252Fimage.png%3Falt%3Dmedia%26token%3D86862590-87fc-46ed-9f6f-be18c74e587e\&width=768\&dpr=3\&quality=100\&sign=1c9fbe20\&sv=2)

### Authorization - OAuth 2.0 <a href="#authorization-oauth-2.0" id="authorization-oauth-2.0"></a>

This method shows how the token is received. With this implementation the user needs to get a new access token manually. In the postman collection, the authentication is configured per subfolder, i.e.,  `accounts` , `funds-confirmations` , `consents` , `{payment-service}` .

**If you are calling the sandbox version of the endpoints, simply paste the token into the Token field.**

The following needs to be configured if you intend to call the live version:

**Access Token URL** - <https://curity.arionbanki.is/oauth/v2/oauth-token>

**Client ID** - The clientId you get from creating your application in [Developer Portal](https://developer.arionbanki.is/)

**Client Secret** - The clientSecret you get from creating your application in [Developer Portal](https://developer.arionbanki.is/)

**Scope** - The default scopes you get from creating your application in [Developer Portal](https://developer.arionbanki.is/)

Finally click **Get New Access Token**

<figure><img src="https://3956606050-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0dhg8Dx3oxMg6FAZtyuC%2Fuploads%2FXpex6YKg9u7TwBP734Gm%2Fimage.png?alt=media&amp;token=a537f4ba-acdd-4bc4-a926-42ffecbb9e4d" alt=""><figcaption></figcaption></figure>

You should get an OAuth token from the identity server

<img src="https://arionbanki.gitbook.io/arion-banki/~gitbook/image?url=https%3A%2F%2F4095428740-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWRKRXR147Y5hgO0DneWg%252Fuploads%252FNQsjPZEmpcxDTlIjVCOj%252Fimage.png%3Falt%3Dmedia%26token%3Db5527c06-b05e-42a3-87ab-045b85b2cfb3&#x26;width=768&#x26;dpr=3&#x26;quality=100&#x26;sign=a3c5c63f&#x26;sv=2" alt="" height="240" width="431">

You can inspect your token and make sure everything is in order

<img src="https://arionbanki.gitbook.io/arion-banki/~gitbook/image?url=https%3A%2F%2F4095428740-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWRKRXR147Y5hgO0DneWg%252Fuploads%252F8kx8f4XAO2cc30XRwJzd%252Fimage.png%3Falt%3Dmedia%26token%3D64655573-2797-4cea-9727-1afc4bf97cb4&#x26;width=768&#x26;dpr=3&#x26;quality=100&#x26;sign=fb2c4084&#x26;sv=2" alt="" height="449" width="795">

## .NET Sample Client

In the GitHub repo we have also provided sample code for making requests to the sandbox. You can find it here:&#x20;

{% embed url="<https://github.com/arionbanki/Arion-OpenBanking-Sandbox.git>" %}
