Payment Docs
Working with payments

Authorization

How to authorize your requests

Do not pass Authorization header as it specified in the OpenAPI documentation, it will not work.
For every API request, pass your token in the HTTP header:

X-Api-Token: <YOUR_API_KEY>

If you don't pass the token — the request simply won't work.

Do not share the key with third parties and do not publish it. If the key ended up with someone else — immediately request a replacement from your manager.

Request Example

Example of a simple request to verify authorization:

curl -X GET "https://api.riopay.online/v1/merchants/balance" \
  -H "X-Api-Token: YOUR_API_TOKEN"

If the token is valid, you will receive information about your merchant account.

What is Next?

On this page