Partner integration
Integration with monitoring
How to get a referral link
To get your partnership link, you need to enter your account using email and password then go to 'profile' section 'partnership program' and your partnership link is located below.
The exchange item can take Cur_from and Cur_to GET parameters, transmitted from monitoring at the time of the user transition to the exile to the exchanger website.
When the user is moving from monitoring, the Cur_from and Cur_to GET-parameters can be added to the URL of the exchanger’s URL.As names of currencies, short letter codes are used.These data must be used to redirect the user to the page of the exchange direction selected by the user earlier in monitoring, or for an automatic substitution of selected currencies in the lists of choice.
Example link with parameters:
https://www.1cent.io/ref/XXXXXX/?cur_from=PMUSD&cur_to=BTC
Links to export courses:
API for partners
How to get API-Key?
To get your partnership link, you need to enter your account using email and password then go to 'profile' APIs and click on the 'Create API Access' button' after copying the data that will appear below there will be your API Key.
Base URL
| Parameter | Type | Description |
api_action | String | partner program identifier, always pp |
api_key | String | your personal key |
method | String | API module method |
https://www.1cent.io/service/partner/api.php?api_action=pp&api_key=YOUR_KEY&method=get_info{
status: "success",
error: 0,
error_text: "",
data: { ... }
}- Information about the account and payment methods
https://www.1cent.io/service/partner/api.php?api_action=pp&api_key=YOUR_KEY&method=get_info{
status: "success",
error: 0,
error_text: "",
data: {
balance: 15,
totalReceived: 0,
link: "test",
min_payout: 99999999,
items: { /* платёжные методы */ },
},
}Your partner exchanges
| Parameter | Type | Description |
start_time | Integer | the time from which to display data (unix) |
end_time | Integer | the time to which display data (unix) |
https://www.1cent.io/service/partner/api.php?api_action=pp&api_key=YOUR_KEY&method=get_exchanges&start_time=1590000000&end_time=1599999999{
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",
}
}
}
}Partner referral clicks
| Parameter | Type | Description |
start_time | Integer | the time from which to display data (unix) |
end_time | Integer | the time to which display data (unix) |
https://www.1cent.io/service/partner/api.php?api_action=pp&api_key=YOUR_KEY&method=get_links&start_time=1590000000&end_time=1599999999{
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: ""
}
}
}
}