Documentation
User Guide
Products
For Developers
Private API
Last Updated: 10.10.2024 13:18
General Information
To work with the Private API, you need to generate a secret key in the "Application Settings" - "Private API Settings".
Example request:
curl -X POST 'https://YOUR.DOMAIN/private-api-create-review' \
--header 'X-Authorization: SECRET_KEY' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'name=Andrey' \
--data-urlencode 'text=Thanks for the fast exchange!' \
--data-urlencode 'email=user@gmail.com'
Exchange
/private-api-create-order
| Parameter | Description |
|---|---|
| slug | Exchange Direction Slug |
| send_amount | Amount |
| user_login | User Login (optional) |
| referrer_login | Referrer Login (optional) |
| *input_name_snake_case | Required Fields for Exchange Direction |
Returns the order object.
You can obtain the exchange direction identifier and mandatory fields using the Public API or the Dashboard API.
Reserve Request
/private-api-create-reserve-request
| Parameter | Description |
|---|---|
| currency_id | Currency ID |
| amount | Amount |
Returns the reserve request object.
You can obtain the currency identifier using the Public API or the Dashboard API.
Leave a Review
/private-api-create-review
| Parameter | Description |
|---|---|
| name | Username |
| text | Text |
Returns the review object.
User Registration
/private-api-create-user
| Parameter | Description |
|---|---|
| login | Login (optional) |
| password | Password |
| api | Generate API Token (optional, 1: yes, 0: no) |
| referrer_login | Referrer Login (optional) |
Returns the user object.
Published: 03.05.2023 11:59
© Exchanger CMS, 2018 - 2026. Currency Exchange Script. All rights reserved.
Terms of Use