User API
General Information

To work with user API, you must release secret key in user profile.

Request Example:

curl -X POST 'https://demo.exchanger-cms.com/user-api-get-info' \

    --header 'X-Authorization: SECRET_KEY'

API Introduction

Account Info
/user-api-get-info

Returns a user object.

Orders History
/user-api-get-orders

Optional Search Parameters: "id", "token", "status", "exchange_id", "send_currency_id", "receive_currency_id".

Returns order object.

Referral Orders History
/user-api-get-referral-orders

Optional Search Parameters: "id", "token", "status", "exchange_id", "send_currency_id", "receive_currency_id".

Returns order object.

Investments History
/user-api-get-investments

Optional Search Parameters: "id", "token", "active".

Returns investment object.

Make Investment
/user-api-create-investments
Parameter Description
tariff Tariff ID
amount Amount
two_factor_authentication_password 2FA Password (if 2FA is enabled)

Returns investment object.

Payment Details List
/user-api-get-details

Optional Search Parameters: "currency_id", "value".

Returns a user payment detail object.

Save Payment Detail
/user-api-create-details
Parameter Description
currency_id Currency ID
value Payment Detail

Returns a user payment detail object.

Delete Payment Detail
/user-api-delete-details
Parameter Description
ids[] ID or IDs
Verification Info
/user-api-get-verification

Returns a verification request object.

Submit Verification
/user-api-submit-verification

To verify a bank card, the required fields are bank card number, first name, last name and photos.

Parameter Description
id_type Document ID
id_number Document Number
card_number Card Number
first_name First Name
last_name Last Name
middle_name Middle Name
birth_date Date of Birth (format: dd.mm.yyyy)
phone Phone Number
country Country
city City
address Address
zip_code Postcode
photos[] Photos (maximum: 9000 kb.)

API Identifiers

Returns a verification request object.

Spend Balance
/user-api-spend-balance
Parameter Description
token Order Token
two_factor_authentication_password 2FA Password (if 2FA is enabled)
Change Password
/user-api-change-password
Parameter Description
password Current Password
new_password New Password
two_factor_authentication_password 2FA Password (if 2FA is enabled)
Setup 2FA
/user-api-setup-two-factor-authentication
Parameter Description
two_factor_authentication_token Secret Key
two_factor_authentication_enable Status (1: enable, 0: disable)
two_factor_authentication_password 2FA Password
Inputs List
/user-api-get-inputs

Returns an array with exchange direction inputs ID as a key and its contents.

We work without days off 10:00 - 20:00 (GMT+3)
© 2018 - 2023 Made with Exchanger CMS