> For the complete documentation index, see [llms.txt](https://docs.onchainpay.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.onchainpay.io/authorization.md).

# Authorization

**You need to obtain public and secret keys in your personal account before using this API.**

**Public key** should be passed in header `x-api-public-key`\
**Secret key** is used for creating signature of your request. Signature should be passed in header `x-api-signature`

Example of a key pair:

**public:**

`a9biVHtyP71VxuItAd88tuN+WyNGxVR41j9lGLj7zc0DjtGHkNRAKQWS/fiCnJPomY9i+hETCLiQvR5l+siKug==`

**secret:**

`RbWMG0rT6NSDQPKXs44gau/97OTsMW1+EakuQA8gb+IwjIUAdx56Fl3Oa7a8dw5L3soWK/o6UFfqlzh/6LXPDA==`
