# 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 transations using API KEY & Partner's password.

# 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.