// create the data array
											$data = array(
												"method"=>"track_payment",
												"northstar_trade_id"=>1002034,
											)
											// encode the data into JSON
											$dataJson = json_encode($data);
											
											// create the CURL post
											$
												$ch = curl_init('https://northstarcurrency.com/api/');
												curl_setopt($ch, CURLOPT_POST, 1);
												curl_setopt($ch, CURLOPT_POSTFIELDS, $dataJson);
												curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
												curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
												curl_setopt($ch, CURLOPT_HTTPHEADER, array(
												"Content-Type: application/json",
												"apiKey: 12345test"
												));
												$output = curl_exec($ch);
												curl_close($ch);
												print_r($output);
											
										
									 
									
										
											
												
													| Variable | 
													Data Type | 
													Example | 
												
											
											
												| status | 
												string | 
												"success" or "failed" 
  
													if status is 'failed', please see 'error' json data
												 | 
											
											
												| invoiced_amount | 
												float (2 decimal point) | 
												99.99 | 
											
											
												| invoiced_currency | 
												string (3 chars) | 
												EUR | 
											
											
												| payment_status | 
												string | 
												pending | 
											
											
												| payment_method | 
												string | 
												wire | 
											
											
												| transaction_date | 
												timestamp | 
												2022-01-09 13:15:41 | 
											
											
												| wire_details | 
												JSON Array | 
												
													{
														"Bank Name": "Bank of Test",
														"Bank Address": "123 Street Avenue",
														"Account Holder Name": "Test Capital Inc",
														"Account Holder Address": "111 Test, Toronto, ON, Canada",
														"Account Number": "12345567",
														"SWIFT": "12335x",
														"Branch Code": "1234 3345",
														"Reference": "XXXX TST"
													}
												 | 
											
											
												| error | 
												string | 
												reason(s) of error
													
														- invalid key
 
														- invalid transaction ID
 
													 
												 |