Page:
getLeiStatus
Pages
API Methods
API Navigation
Auth
Automatic rules
Comodo Unique Value
ConfirmLEIDataQuality
CreateNewLEI
Home
Order Auto Cancellation
Resend
Revalidate
addSSLOrder
addSSLRenewOrder
addSSLSANOrder
cancelSSLOrder
changeValidationEmail
changeValidationMethod
decodeCSR
generateCSR
getAccountBalance
getAllInvoices
getAllProductPrices
getAllProducts
getAllSSLOrders
getDomainAlternative
getDomainEmails
getDomainEmailsForGeotrust
getLEIJurisdictions
getLJurisdictions
getLeiStatus
getOrderInvoice
getOrderStatus
getOrdersStatus
getProductDetails
getProductPrice
getUnpaidOrders
getUserAgreement
getWebServers
leiLookup
reissueSSLOrder
resendValidationEmail
4
getLeiStatus
Igors Savins edited this page 2020-02-18 15:16:05 +02:00
Table of Contents
URL: /lei/status/{{order_id}}?auth_key={{Access_Token}}
Content-Type: application/x-www-form-urlencoded
Request type: POST
Overview
This call is used to check the LEI Order Status. Both 'LEI - Create New LEI' and 'LEI - Import Existing LEI' are supported. The Access Token from 'Authentication - Request Access Token' is required to submit the request.
Request parameters
- order_id - Required.
Response
If no errors in request following parameters will be returned:
- lei_id - Required. Unique lei ID.
- status - Required. Enum: ('active','cancelled','expired','incomplete','pending','processing','rejected','revoked','unpaid','need_action')
- product_id - Required. Product ID, can be taken from getAllProducts method.
- confidence_level - Optional.
- legal_address - Optional.
- headquarters_address - Optional.
- lei_number - If lei is active. LEI code.
- valid_from - If lei is active. Date.
- valid_till - If lei is active. Date.
Example code
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "{{V1_URL_PREFIX}}/lei/status/{{order_id}}?auth_key={{V1_API_TOKEN}}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
} ?>
Example response
{
"lei_id": "35",
"status": "active",
"product_id": "161",
"confidence_level": "10",
"lei_number": "98450090FE38E6Q47A33",
"valid_from": "2019-12-23 16:06:02",
"valid_till": "2020-12-23 16:06:02",
"legal_address": {
"City": "Stockport",
"Country": "GB",
"Postal": "SK8 10HG"
},
"success": true
}
API Navigation
API Methods
- "auth"
- "addSSLOrder"
- "addSSLRenewOrder"
- "addSSLSANOrder"
- "cancelSSLOrder"
- "changeValidationEmail"
- "changeValidationMethod"
- "decodeCSR"
- "validateCSR"
- "getOrderStatus"
- "getOrderInvoice"
- "getUnpaidOrders"
- "getAccountBalance"
- "getAllInvoices"
- "getAllProducts"
- "getAllProductPrices"
- "getAllSSLOrders"
- "getDomainAlternative"
- "getDomainEmails"
- "getDomainEmailsForGeotrust"
- "getProductDetails"
- "getProductPrice"
- "getUserAgreement"
- "getWebservers"
- "generateCSR"
- "reissueSSLOrder"
- "revalidate"
- "resendValidationEmail"
- "CreateNewLEI"
- "getLEIJurisdictions"
- "getLeiStatus"
- "ConfirmLEIDataQuality"
- "getAllSSLOrders"
- "leiLookup"
API Features
Other
Postman Collection
GOGETSSL API WIKI