---
title: "Return provider's pending SSL certificates"
method: GET
path: "/Market/get_pending_ssl_certificates"
tags: ["Market", "SSL Certificates"]
---

# Return provider's pending SSL certificates

`GET /Market/get_pending_ssl_certificates`

This function lists all pending SSL certificates from a cPanel Market provider for which the system currently polls.

## Query parameters

- `provider` string, required

## Response `200`

HTTP Request was successful.

- object
  - `apiversion` integer — The version of the API.
  - `func` string — The name of the method called.
  - `module` string — The name of the module called.
  - `result` object
    - `data` object[] — An array of objects that contain information about each certificate for which the system polls the provider.
      - `created_time` integer — When the system placed the order.
      - `csr` string, base64 certificate — The certificate signing request's (CSR) text. A CSR file in Base64 PEM format.
      - `domains` string[] — The domains on the certificate.
      - `expired` 0 | 1 — Whether the pending queue item has been deleted. * `1` - Deleted. * `0` - **Not** deleted.
      - `first_poll_time` integer — The first time that the system polled the provider for the certificate.
      - `identity_verification` object — hash that contains information to verify an OV or EV certificate request. **Notes:** 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.
      - `certificate_id` string — The certificate ID. The system sets this for re-issued short-lived certificates, which it polls by certificate ID rather than by order item ID.
      - `last_poll_time` integer — The last time that the system polled the provider for the certificate.
      - `last_status_code` 'CertificateNotFound' | 'RequiresApproval' | 'OrderCanceled' | 'OrderItemCanceled' — The last status code of the order. The function returns the value in the unnamed hash. * `CertificateNotFound` - The system cannot locate the specified certificate. * `RequiresApproval` - The specified certificate requires approval. * `OrderCanceled` - The system canceled the order of the specified certificate. * `OrderItemCanceled` - The system canceled the order item of the specified certificate.
      - `order_id` string — The ID of the order.
      - `order_item_id` string — The ID of the ordered item.
      - `originating_certificate_id` string — For a re-issued certificate, the ID of the certificate that it descends from.
      - `parent_cert_expiry` integer — The expiration of the parent subscription certificate, as a Unix timestamp.
      - `product_id` string — The product's ID.
      - `provider` string — The cPanel Market provider's name.
      - `status` string — The status of the order. * `confirmed` - Payment confirmed. * `unconfirmed` - Payment not confirmed.
      - `support_uri` string, url — The URI of the cPanel Market Provider's support site.
      - `vhost_names` string[] — The virtual host domains on the certificate.
    - `errors` string[], nullable — List of errors if the API failed.
    - `messages` string[], nullable — List of messages generated by the API.
    - `metadata` object
    - `status` 0 | 1 — * `1` - Success. * `0` - Failed. Check the errors field for more details.
    - `warnings` string[], nullable — List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.

---

[API](https://skmtc.net/cpanel/apis/cpanel-uapi.md) · [All operations](https://skmtc.net/cpanel/apis/cpanel-uapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/cpanel-uapi/versions/632e2f8e6d04/schema)
