Integration with monitoring
To get your affiliate link, you need to log in to your account using your email and password, then go to the Profile section of the Affiliate Program and below is Your affiliate link.
The exchange office can accept GET parameters cur_from and cur_to, which are passed from the monitoring system when a user clicks on a link to the exchange website.
When a user clicks on a link from the monitoring system, the exchange website URL may include GET parameters cur_from and cur_to with the values of the currencies selected by the user. Short letter codes are used as currency names. These data should be used to redirect the user to the exchange direction page previously selected by the user in the monitoring system or to automatically populate the selected currencies in the selection lists.
An example of a link with parameters:
https://nimlab.eu/ref/XXXXXX/?cur_from=PMUSD&cur_to=BTC
Links for exporting courses:
https://nimlab.eu/service/export/xml/:code
JSONhttps://nimlab.eu/service/export/json/:code
TXThttps://nimlab.eu/service/export/txt/:code
API for Partners
To obtain your partner link, you need to log in to your account using your email and password, then go to the Profile section, select API, and click on the Create API Access button. Then copy the data that appears below, which will be your API key.
URL: https://nimlab.eu/service/partner/api.php
Passed as GET parameters:
api_action
– pp
api_key
– your personal key
method
– API module method
The API link will look something like this:
https://nimlab.eu/service/partner/api.php?api_action=pp&api_key={api_key}&method={method}
get_info - information about account and payment methods
Parameters:
page.partner_api.name | page.partner_api.type | page.partner_api.required | page.partner_api.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 partner exchanges
Parameters:
page.partner_api.name | page.partner_api.type | page.partner_api.required | page.partner_api.description |
start_time | Integer | No | time to output data from (unix) |
end_time | Integer | No | time to output data until (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 - partner transitions
Parameters:
page.partner_api.name | page.partner_api.type | page.partner_api.required | page.partner_api.description |
start_time | Integer | No | time to output data from (unix) |
end_time | Integer | No | time to output data until (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: "" } } } }