Parameters | Default value | Description | Required |
---|---|---|---|
object_id |
NULL | Link or account UID | * |
provider |
NULL | Name of service to purchase | * |
servers |
NULL | Server needs to be purchased | * |
quantity |
NULL | Quantity to buy | * |
note |
NULL | Notes for orders | |
reaction |
Like | For emotional likes | |
time_view |
30 | For video viewing | |
minute_view |
30 | For live stream eyes |
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://tinhr.com/en/api/services/orders',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"object_id": "https://www.facebook.com/dvmxh.tinhr",
"provider": "facebook",
"note": null,
"servers": 14,
"quantity": 100
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Authorization: Bearer api_token'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"status": true,
"message": "Successfully purchased the service.",
"data": {
"transaction_code": "QTJZCKYH",
"provider": "facebook",
"object_id": "100069205102903",
"server": 14,
"quantity": "100",
"start_quantity": "",
"buffed_quantity": "0",
"price": "2.975",
"total_payment": "297.5",
"status": "pending",
"purchase_time": "2024-01-06T11:51:36.000000Z"
}
}
Parameters | Description | Allowable value |
---|---|---|
transaction_code |
Filter by transaction code | "6SWFYGOF" or multiple codes ["6SWFYGOF", "CIH4PBYR"] |
provider |
Filter by supplier | For example: facebook |
status |
Filter by status | pending, processing, in progress, completed, partial, canceled, refunded |
object_id |
Filter by ID | For example: 124124 |
limit |
Return record limit | Example returns 5 records: 5 |
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://tinhr.com/en/api/services/orders/list',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"transaction_code": ["6SWFYGOF", "CIH4PBYR"],
"limit": 3
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Authorization: Bearer api_token'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"status": true,
"message": " Retrieve order information successfully.",
"data": [
{
"transaction_code": "6SWFYGOF",
"server": 23,
"provider": "facebook",
"service_name": "Increase likes",
"object_id": "6885866094478",
"quantity": "50",
"start_quantity": "",
"buffed_quantity": "0",
"note": null,
"price": "2.9",
"payment": "145",
"status": "pending",
"created_at": "2024-01-18T04:59:56.000000Z"
},
{
"transaction_code": "CIH4PBYR",
"server": 23,
"provider": "facebook",
"name_service": "Increase likes",
"object_id": "6885866094478",
"quantity": "50",
"start_quantity": "",
"buffed_quantity": "0",
"note": null,
"price": "2.9",
"payment": "145",
"status": "pending",
"created_at": "2024-01-18T04:51:55.000000Z"
}
]
}
Parameters | Description |
---|---|
provider |
Filter by supplier |
status |
Filter by status, 0 is hidden, 1 is visible |
limit |
Return record limit |
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://tinhr.com/en/api/services/list',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"provider": "facebook",
"status": 1,
"limit": 3
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Authorization: Bearer api_token'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"status": true,
"message": "Successfully obtained the list of service prices.",
"data": [
{
"server": 11,
"name": "Buff sub with page pro5",
"info": "Global exclusive",
"provider": "facebook",
"price": 2.26,
"min": "1000",
"max": "100000000",
"status": "1"
},
{
"server": 12,
"name": "Increase likes cheaply",
"info": " No order congestion, fast upload",
"provider": "facebook",
"price": "5.2",
"min": "100",
"max": "500000",
"status": "1"
},
]
}
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://tinhr.com/en/api/user',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Authorization: Bearer api_token'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"status": true,
"message": "Successfully retrieved account information.",
"data": {
"username": "admin",
"email": "[email protected]",
"money": "492362.5",
"point": "6710840"
}
}