empty

นอกเหนือจากประโยชน์ต่างๆจากการทำงานกับ InstaTrade แล้ว ลูกค้าทุกๆท่านในบริษัทของเราสามารถที่จะได้รับผลประโยชน์กับการบริการใหม่อีกด้วย

API เป็นฟังก์ชั่นห้องสมุดขนาดใหญ่ที่พร้อมสำหรับการใช้งานของลูกค้า InstaTrade ทุกๆคน ด้วยการบริการแบบใหม่นี้ คุณสามารถที่จะมีการทำงานหลักของ Client Cabinet ในแหล่งข่าวจากเว็ปไซต์ใดๆก็ตาม

เพราะฉะนั้นลูกค้าของบริษัท InstaTrade ทุกท่านสามารถจะใช้ประโยชน์จากเซตทางเลือกของ Client Cabinet ดังกล่าวได้ คำถามหรือข้อสงสัยใดๆจะเปิดให้ซักถามเกี่ยวกับ การเปิด-ปิดเทรด, ยอดบัญชีคงเหลือ, การปิดทั้งหลายทั้งปวงในช่วงระยะเวลาใดเวลาหนึ่งที่แน่นอน, โบนัสสถิติ, ประวัติการล็อคอิน และการสรุปบัญชี

ระดับการเข้าถึงทั้งหมด

ระดับการเข้าถึงClient Cabinet API ฟังก์ชั่น มีอยู่ทั้งหมด 2 ระดับ

การเข้าถึงแบบฟรีนั้นไม่ได้ต้องการข้อมูลเพิ่มเติมแต่อย่างใด

ทั้งหมดนี้ขึ้นอยู่กับการตั้งค่ากับขอบเขตของการเข้าถึงที่คุณสามารถจะดูข้อมูลได้ก็ต่อเมื่อ หลังจากใส่รหัสหรือรหัสIP และIP mask ลงไปแล้วเท่านั้น

Client Cabinet API สามารถทำให้ลูกค้าของบริษัท InstaTrade ทุกราย ในการตรวจสอบรักษาบัญชีการเทรด โดยปราศจากการล็อคอินเข้าสู่ Client Cabinet บนเว็ปไซต์อย่างเป็นทางการของบริษัท

ตัวอย่าง PHP

$Login = 0; #Must be Changed
$apiPassword = "password"; #Must be Changed
$data = array("Login" => $Login, "Password" => $apiPassword);
$data_string = json_encode($data);

$apiAuthenticationMethod = ''; #Must be Changed
$ch = curl_init('https://client-api.instaforex.org/'.$apiAuthenticationMethod);

curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json', 'Content-Length: ' . strlen($data_string)));

$token = curl_exec($ch);
curl_close($ch);

$apiMethodUrl = ''; #Must be Changed
$ch = curl_init('https://client-api.instaforex.org/'.$apiMethodUrl.$Login); #possibly Must be Changed part with [$Login]. Depends on the method param
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, array('passkey: '.$token));
$result = curl_exec($ch);
echo $result;

ตัวอย่าง C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Text;

namespace ClientPartnerApiDemoProject{
class PartnerApiSample{
public void TestMethod(){
const int login = 000000;
const string pass = "your pass";
var token = GetToken(login, pass);
var result = GetCommissionRecords(login, token);
foreach (var trade in result){
Console.WriteLine("{0} {1}",trade.Partner, trade.BalanceRecords.Count);
}
}
public string GetToken(int login, string password){
var client = new HttpClient();
HttpContent tokenContent = new ObjectContent(typeof(AccessTokenRequest), new AccessTokenRequest { Login = login, Password = password }, new JsonMediaTypeFormatter());
var token = client.PostAsync("https://client-api.instaforex.org/api/Authentication/RequestPartnerApiToken", tokenContent).Result.Content.ReadAsStringAsync().Result;
return token;
}
public List GetCommissionRecords(int login, string token){
var client = new HttpClient();
client.DefaultRequestHeaders.Add("passkey", token);
var result = client.GetAsync(string.Format("https://client-api.instaforex.org/partner/GetCommissionRecords/{0}", login)).Result.Content.ReadAsAsync>().Result;
return result;
}
public class AccessTokenRequest{
public int Login { get; set; }
public string Password { get; set; }
}
}
}
หากไม่สะดวกคุยในตอนนี้
ระบุคำถามไว้ได้ใน แชท.
 

Dear visitor,

Your IP address shows that you are currently located in the USA. If you are a resident of the United States, you are prohibited from using the services of InstaFintech Group including online trading, online transfers, deposit/withdrawal of funds, etc.

If you think you are seeing this message by mistake and your location is not the US, kindly proceed to the website. Otherwise, you must leave the website in order to comply with government restrictions.

Why does your IP address show your location as the USA?

  • - you are using a VPN provided by a hosting company based in the United States;
  • - your IP does not have proper WHOIS records;
  • - an error occurred in the WHOIS geolocation database.

Please confirm whether you are a US resident or not by clicking the relevant button below. If you choose the wrong option, being a US resident, you will not be able to open an account with InstaTrade anyway.

We are sorry for any inconvenience caused by this message.