Documents on the integration of partners

Integration with monitoring

How to get a referral link

To get the partnership link, you need to enter your account with email and password, then go to 'Profile' 'Partnership' and the partnership link is below.




The exchange point can take the GET parameters cur_from and cur_to, transmitted from the monitor when the user goes to the link to the exchanger's website.

When the user switches from the monitor, the cur_from and cur_to get parameters can be added to the URL of the exchanger URL. Short letter codes are used as currency names. This data should be used to redirect the user to the page of the exchange direction selected by the user earlier in the monitor.
An example of a link with parameters: https://www.izi.exchange/ref/XXXXXX/?cur_from=PMUSD&cur_to=BTC



Links to export courses:

XML

https://www.izi.exchange/service/export/xml/:code

JSON

https://www.izi.exchange/service/export/json/:code

TXT

https://www.izi.exchange/service/export/txt/:code

API for partners

How do I get an API key?

To get your affiliate link, you need to enter your account with your email and password, then go to your API 'profile' and click the 'Create API Access' button, after copying the data that will appear below, will be your API key.


Request address:

URL: https://www.izi.exchange/service/partner/api.php

Skipped using options:

api_action - pp
api_key – Your private key
method – method API module


The API link will look something like this:



get_info - Information about account and payment methods

Parameters:
Name type Necessary Description
Additional parameters are not accepted
result:
{
  status: "success",
  error: 0,
  error_text: "",
  data: {
    balance: 15,
    totalReceived: 0,
    link: "test",
    min_payout: 99999999,
    items: { },
  },
}
      


get_exchanges- Your partnerships

Parameters:
Name type Necessary Description
start_time Integer No time from which to display data (UNIX)
end_time Integer No Time to which data is displayed (UNIX)
result:
{
  status: "success",
  error: 0,
  error_text: "",
  data: {
    items: {
      1895: {
        id: 1895,
        time: 1590356264,
        date: "2020-05-24 21:37:44",
        course_give: 0,
        course_get: 241.57,
        amount_give: 0,
        amount_get: 241.57,
        exchange_success: 1,
        accrued: 1,
        partner_reward: 0,
        user_hash: "1r7",
      }
    }
  }
}
      


get_links- Partnerships

Parameters:
Name type Necessary Description
start_time Integer No time from which to display data (UNIX)
end_time Integer No Time to which data is displayed (UNIX)
result:
{
  status: "success",
  error: 0,
  error_text: "",
  data: {
    items: {
      1631577600: {
        id: 1631577600,
        time: 1631577600,
        date: "2021-09-14 00:00:00",
        browser: "Unknown",
        ip: "0.0.0.0",
        referrer: "",
        user_hash: "613fe600",
        query_string: ""
      }
    }
  }
}