IDFX Deposit

posted in: API | 0

Proses inquiry data dan IDFX telah sukses menerima pembayaran dari client.

1. FROM IDFX SERVER
Memastikan bahwa mt4 target telah benar.

[HOOK] POST http://api.yourbroker.com/idfx
{
  "Term": "mt4_check",
  "MT4": "1680001069",
  "PhonePass": "123456"
}
Term string Term Action Code
MT4 string MT4 Target
PhonePass string Phone Password

 

2. RESPONSE BROKER WEBHOOK SERVER

{
  "Error":false,
  "Message":"OK",
  "MT4":"1680001069",
  "Name":"Joko Santoso"
}
Error boolean [true/false] Error indicator, false if MT4 is found and ok to deposit
Message string [OK/Error Message/Other Customized Message] Message to client
MT4 string Reply Confirmation MT4 target
Name string Client Name

 

3. FROM IDFX SERVER

Client telah berhasil menyelesaikan transfer rupiah antar bank,

[HOOK] POST http://api.yourbroker.com/idfx
{
 "Term": "deposit",
 "TRID":"123456",
 "MT4":"1680001069",
 "USD":"1.23",
 "IDR":"12300",
 "Fee":"369",
 "IDRTotal":"11931"
}
TRID string Transaction ID from IDFX
MT4 string MT4 Target
USD string USD Nominal
IDR string IDR Payment
Fee string Fee Nominal
IDRTotal string Total IDR after calculation and that will transfer to broker wallet

 

4. RESPONSE BROKER WEBHOOK SERVER

{
 "Error":false,
 "Message":"TR:TO:1680001069",
 "TRID":"123456",
 "MT4":"5678904",
 "Ticket":"5678904",
 "USD":"1.23",
 "Status":"SUCCESS"
}
Error boolean [true/false] Error indicator, true if have an error, message will send to mutation
Message string [OK/Error Message/Other Customized Message] Message to client
TRID string Reply Confirmation TRID
MT4 string Reply Confirmation MT4 target
Ticket string MT4 ticket that sent to MT4 target client
USD string Reply Confirmation USD Nominal
Status string [SUCCESS/FAILED] if SUCCESS money will add to your broker wallet
if FAILED money will refund to client, additional fee still charge to broker wallet

Leave a Reply