Skip to main content

Authentication

Authenticate as an App towards DePay's APIs.

To authenticate towards DePay's APIs as an App you need an API Key and a valid Access Token.

API Key

Make sure you have an Api Key before accessing DePay APIs.

Check Basic API Authentication.

In order to authenticate towards DePay's APIs, you need to pass your API Key via the x-api-key header:

x-api-key: Th1406MN7L796p9fM8lHTa79jrtNorXW2duHYZkY

Access Token

Make sure you have the Authorization Flow implemented and your app is able to retrieve and refresh access tokens.

Authorization Header

In order to make requests as an app retrieving other accounts' data you need to pass the access_token via the Authorization header with a Bearer prefix:

Authorization: Bearer {access_token}