# Return provider's pending SSL certificates This function lists all pending SSL certificates from a cPanel Market provider for which the system currently polls. Endpoint: GET /Market/get_pending_ssl_certificates Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `provider` (string, required) The cPanel Market provider's name. Example: "cPStore" ## Response 200 fields (application/json): - `apiversion` (integer) The version of the API. Example: 3 - `func` (string) The name of the method called. Example: "get_pending_ssl_certificates" - `module` (string) The name of the module called. Example: "Market" - `result` (object) - `result.data` (array) An array of objects that contain information about each certificate for which the system polls the provider. - `result.data.created_time` (integer) When the system placed the order. Example: 1417475501 - `result.data.csr` (string) The certificate signing request's (CSR) text. A CSR file in Base64 PEM format. Example: "Click to view...-----BEGIN CERTIFICATE REQUEST----- MIIC4DCCAcgCAQAwgZoxFjAUBgNVBAMTDXRlc3RzaW1vbi5jb20xFjAUBgNVBAsT DURvY3VtZW50YXRpb24xDjAMBgNVBAgTBVRleGFzMQ8wDQYDVQQKEwZjUGFuZWwx KDAmBgkqhkiG9w0BCQEWGWxhdXJlbmNlLnNpbW9uQGNwYW5lbC5uZXQxCzAJBgNV BAYTAlVTMRAwDgYDVQQHEwdIb3VzdG9uMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A MIIBCgKCAQEA4AVM6J4Qg3DIFWr/eJ5GRmIATYsJIepKbrDy70sq+udcO8R8xxak 0oMZ/9mUdpjSNK/fLVTuCO0kxTfQ9VUWJllX7ThD6Zh9ZvlC/nf/OEZLm3ZbnBgu 8rbC8E9wuDOkKbJLnINgdhtowIydLK2MJ++q62bFV89jkHWTMcKyyqHENo3hc+lk pd9vnp8rZTinaVb7nX26uQqAFZYRo+WU0G/NPsq40QVSMoqPxyEz4qXo0hvuIlCX mzFZq/6fCVPEKPLhQgMmpdBkMz4dVOazREfqXdjMD2+QXSNiA1AwWr8l0r4rtzlx EYDJIR41yXp0xMl3KoolxMyvLBqZy32niQIDAQABoAAwDQYJKoZIhvcNAQEFBQAD ggEBAEaCn+rg6qlhp6SEKuZg1G6z1M+1XQoTN3E6bTdM3rD1wXjqtyFfYGTy5Bvv gUKrl6t312owJ2si8/K9v/ocVxdjc0rPWSOWScfSc1Od3i1L1YuqbboL2aQSak3y gpGnZMHCUED1y4xyABAFOaXUurFiZj5u3P2mBAYGt2ez2afiPlo5YpTRNCoTUlVz KNKkyUnptBLOvlwGgerBmOoP4QdVhTSuxO9TECsiPdldE1BVZrlFclDFvoP01jFZ WOTWz+k3O202gK4w/tPP2VMVldNFrC0QoENu85ohT1nJj6F3mrM1CZ+1c8zYzr+S 6aAXFhHE6FweeunRAGjEJggoTPo= -----END CERTIFICATE REQUEST-----" - `result.data.domains` (array) The domains on the certificate. Example: ["example.com"] - `result.data.expired` (integer) Whether the pending queue item has been deleted. * - Deleted. * - deleted. Enum: 0, 1 - `result.data.first_poll_time` (integer) The first time that the system polled the provider for the certificate. Example: 1437475501 - `result.data.identity_verification` (object) hash that contains information to verify an OV or EV certificate request. The function returns this hash for OV or EV certificate requests. This hash includes returns that vary between certificate providers. The output example demonstrates what the cPStore returns for an OV certificate. Example: {"assumed_name":"cPanel","business_category":"b","countryName":"US","date_of_incorporation":"1996-01-01T00:00:00.000Z","duns_number":"12-345-6789","joi_country_name":"US","joi_locality_name":"Somewhere","joi_state_or_province_name":"PA","localityName":"Houston","organizationName":"WebPros International, LLC","organizationalUnitName":"Team Cobra","postalCode":"77092","rep_email_address":"richard.ang@cpanel.net","rep_forename":"Richard","rep_surname":"Ang","rep_telephone":"713-529-0800","stateOrProvinceName":"TX","streetAddress":"2500 N. Loop W."} - `result.data.last_poll_time` (integer) The last time that the system polled the provider for the certificate. Example: 1457475501 - `result.data.last_status_code` (string) The last status code of the order. The function returns the value in the unnamed hash. * - The system cannot locate the specified certificate. * - The specified certificate requires approval. * - The system canceled the order of the specified certificate. * - The system canceled the order item of the specified certificate. Enum: "CertificateNotFound", "RequiresApproval", "OrderCanceled", "OrderItemCanceled" - `result.data.order_id` (string) The ID of the order. Example: "AAE35B28-E57B-11E5-A5DD-B633DD41FB49" - `result.data.order_item_id` (string) The ID of the ordered item. Example: "1" - `result.data.product_id` (string) The product's ID. Example: "12345" - `result.data.provider` (string) The cPanel Market provider's name. Example: "cPStore" - `result.data.status` (string) The status of the order. * - Payment confirmed. * - Payment not confirmed. Example: "confirmed" - `result.data.support_uri` (string) The URI of the cPanel Market Provider's support site. Example: "http://support.example.com/" - `result.data.vhost_names` (array) The virtual host domains on the certificate. Example: ["example.com"] - `result.errors` (array,null) List of errors if the API failed. - `result.messages` (array,null) List of messages generated by the API. - `result.metadata` (object) - `result.status` (integer) * - Success. * - Failed. Check the errors field for more details. Enum: 0, 1 - `result.warnings` (array,null) List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.