$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.falconebiz.com/api/order_documents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 30,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"Authorization: YOUR-API-KEY",
"Company: CIN OR LLPIN",
"Domain: YOUR DOMAIN"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if($err) {
echo "cURL Error #:" . $err;
}else{
echo $response;
}
|
Success Response
[{"success_code":"1","success_msg":"Documents Successfully Ordered"}]
Failure Response
[{"error_code":"209","error_msg":"Failed to Order Documents"}]
OR
[{"error_code":"206","error_msg":"Access Denied - Company not found"}]
OR
[{"error_code":"201","error_msg":"Access Denied - Invalid CIN"}]
|
CUSTOMER REVIEWS