# Authentication

XanPool supports two authentication methods - HTTP Basic Authentication and OAuth2 Token Based Authentication.

# HTTP Basic Authentication

This authentication allows to create users' accounts and transactions using API KEY & API SECRET.

# OAuth2 Token

This authentication allows to avoid revealing partner's password at each request, however it doesn't allow to create user's accounts as the tokens are user scoped. In order to obtain a token please refer to OAuth2 page.