Private API
General Information
To work with a private API, you need to create a secret key in "Application Settings" - "Private API".
Request Example:
curl -X POST 'YOUR_EXCHANGER/private-api-create-review' \
--header 'X-Authorization: SECRET_KEY' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'name=Stepan' \
--data-urlencode 'text=Thanks for quick exchange!' \
--data-urlencode '[email protected]'
Exchange
/private-api-create-order
Parameter | Description |
---|---|
slug | Exchange Slug |
send_amount | Amount |
user_login | User Login (optional) |
referrer_login | Referrer Login (optional) |
*input_name_snake_case | Required Inputs for Exchange Direction |
Returns order object.
Exchange direction ID and required inputs can be obtained using Public API or Dashboard API.
Create Reserve Request
/private-api-create-reserve-request
Parameter | Description |
---|---|
currency_id | Currency ID |
amount | Amount |
Returns reserve request object.
Currency ID can be obtained using Public API or Dashboard API.
Add Review
/private-api-create-review
Parameter | Description |
---|---|
name | Username |
text | Text |
Returns review object.
Register User
/private-api-create-user
Parameter | Description |
---|---|
login | Login (optional) |
password | Password |
api | Create API Token (optional, 1: yes, 0: no) |
referrer_login | Referrer Login (optional) |
Returns user object.
Work Documentation
For Developers
We work without days off 10:00 - 20:00 (GMT+3)
© 2018 - 2023 Made with Exchanger CMS