---
updatedAt: 2025-11-11T21:42:53.000Z
agentTools:
  projectIndex: https://domains.opensrs.guide/llms.txt
---

# process_pending

Processes or cancels pending orders; also applicable to any order that is declined. The order is cancelled and a new order is created. Can also be used to process cancelled domain orders, provided the cancelled order was a new order or a transfer.

## Request parameters for process\_pending

## Standard parameters

* **action** = process\_pending
* **object** = domain or trust\_service attributes

## Attributes

Parameters within the **attributes** associative array are described below.

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        approver\_email
      </td>

      <td>
        Required
      </td>

      <td>
        Approver email only needed when dv\_auth method is set to **email** 
      </td>
    </tr>

    <tr>
      <td>
        dv\_auth\_method
      </td>

      <td>
        Required
      </td>

      <td>
        Preferred authorization method for domain-vetted certificates.

        Possible values include:

        * **DNS**
        * **File**
        * **Email**

        Note: The default value is **Email**, if preferred method is not set.
      </td>
    </tr>

    <tr>
      <td>
        command
      </td>

      <td>
        Optional
      </td>

      <td>
        Only necessary if you want to cancel the pending order. If you want to process the pending order, do not add this attribute.

        Allowed value is **cancel**.
      </td>
    </tr>

    <tr>
      <td>
        fax\_received
      </td>

      <td>
        Optional
      </td>

      <td>
        Only required for .DE orders that are pending a confirmation fax.

        * **0**—No 
        * **1**—Yes
      </td>
    </tr>

    <tr>
      <td>
        order\_id
      </td>

      <td>
        Required
      </td>

      <td>
        The ID of the order to be processed.
      </td>
    </tr>

    <tr>
      <td>
        owner\_address
      </td>

      <td>
        Optional
      </td>

      <td>
        Owner's email address; only used for .DE transfers.
      </td>
    </tr>
  </tbody>
</Table>

## Response parameters for process\_pending

## Standard parameters action = reply

* **object** = domain
* **is\_success** = a Boolean is returned, indicating success or failure of the\
  request
* **response\_code** = response code indicating outcome of the request
* **response\_text** = message describing the outcome of the request attributes

## Attributes

If the request is successful, the **attributes** associative array may include the\
following:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        async\_reason
      </td>

      <td>
        Included in domain response for asynchronous requests
      </td>

      <td>
        Indicates the reason that the request was asynchronous. Allowed values are:

        * **general**—Order was submitted to an asynchronous registry.

        * **has\_claim**—Registrant action required before order can complete.
      </td>
    </tr>

    <tr>
      <td>
        domain
      </td>

      <td>
        Included in SSL Service response if **is\_success = true**
      </td>

      <td>
        The domain with which the SSL Service order is associated.
      </td>
    </tr>

    <tr>
      <td>
        dv\_auth\_details
      </td>

      <td>
        optional
      </td>

      <td>
        Displays the contents of the domain validation entry required for proper validation.  

        If **DNS** was set as the preferred method, the DNS entry content will be returned. If **file** is the method selected, the file name and file contents will be returned.

        * \*Note:**If**email\*\* was set as the preferred method, no value will be returned.
      </td>
    </tr>

    <tr>
      <td>
        dv\_auth\_method
      </td>

      <td>
        Included if the dv authorization method is **DNS** or **File**

        Note: If the authorization method selected is email, no value for dv\_auth\_method will be returned.
      </td>

      <td>
        The authorization method selected.
      </td>
    </tr>

    <tr>
      <td>
        f\_auto\_renew
      </td>

      <td>
        Included in domain response if **is\_success = true**
      </td>

      <td>
        Flag indicating whether domain is automatically renewed. Allowed values are **Y** or **N**.
      </td>
    </tr>

    <tr>
      <td>
        id
      </td>

      <td>
        Included in domain response if **is\_success = true**
      </td>

      <td>
        The ID of the domain
      </td>
    </tr>

    <tr>
      <td>
        order\_id
      </td>

      <td>
        Included in SSL Service response if **is\_success = true**
      </td>

      <td>
        The ID of the order.
      </td>
    </tr>

    <tr>
      <td>
        registration expiration date
      </td>

      <td>
        Included in domain response if **is\_success = true**
      </td>

      <td>
        The new expiration date for the service, in the format YYYY-MM-DD hh:mm:ss
      </td>
    </tr>

    <tr>
      <td>
        state
      </td>

      <td>
        Included in SSL Service response if **is\_success = true**
      </td>

      <td>
        The state of the order. Allowed values are: 

        * **awaiting-approval**—Order processed successfully; waiting for supplier approval.

        * **in-progress**—Order is in progress.
      </td>
    </tr>

    <tr>
      <td>
        supplier\_order\_id
      </td>

      <td>
        Included in SSL Service response if **is\_success = true**

        * \*Note: \*\*Required for domain-vetted RapidSSL, GeoTrust and Comodo SSL certificates
      </td>

      <td>
        The ID number for the vendor.
      </td>
    </tr>
  </tbody>
</Table>

## Examples for process\_pending domain

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">process_pending</item>
                <item key="object">domain</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="owner_address">myemail@example.com</item>
                        <item key="fax_received">1</item>
                        <item key="order_id">535242</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml If successful
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="f_auto_renew">Y</item>
                        <item key="id">3343012</item>
                        <item key="registration expiration date">2007-12-05
15:23:15</item>
                    </dt_assoc>
                </item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text"> Domain registration successfully
completed
            </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```
```xml If unsuccessful
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">0</item>
                <item key="response_code">480</item>
                <item key="response_text">Order 535242 is not a pending or declined order and cannot be processed</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```
```xml If domain name matches a trademark at the TMCH
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_code">260</item>
                <item key="is_success">1</item>
                <item key="response_text">Registration is pending registrant review before completing due to claim/trademark.</item>
                <item key="transaction_id" />
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="order_id">654155</item>
                        <item key="async_reason">has_claim</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

## Examples for process\_pending trust\_service

## Example 1

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">process_pending</item>
                <item key="object">trust_service</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="order_id">6617</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">TRUST_SERVICE</item>
                <item key="response_text">Command completed successfully.</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="domain">example.com</item>
                        <item key="order_id">6617</item>
                        <item key="supplier_order_id">219</item>
                        <item key="state">awaiting-approval</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

## Example 2

This example uses dv\_auth\_method to request DV authorization details for all three methods (File, DNS and Email) on orders for Comodo and Symantec SSL products.

**Request**

```xml File
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
        <msg_id>2.21765911726198</msg_id>
        <msg_type>standard</msg_type>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">process_pending</item>
                <item key="object">trust_service</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="order_id">17600</item>
                        <item key="dv_auth_method">file</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```
```xml DNS
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
        <msg_id>2.21765911726198</msg_id>
        <msg_type>standard</msg_type>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">process_pending</item>
                <item key="object">trust_service</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="order_id">16685</item>
                        <item key="dv_auth_method">dns</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```
```xml Email
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
        <msg_id>2.21765911726198</msg_id>
        <msg_type>standard</msg_type>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">process_pending</item>
                <item key="object">trust_service</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="order_id">16686</item>
                        <item key="approver_email">admin@20160122comodoemailb.com</item>
                        <item key="dv_auth_method">email</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml File
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">TRUST_SERVICE</item>
                <item key="response_text">Command completed successfully.</item>
                <item key="action">PROCESS_PENDING:REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="domain">simpletest1.com</item>
                        <item key="dv_auth_method">file</item>
                        <item key="order_id">17601</item>
                        <item key="dv_auth_details">
                            <dt_assoc>
                                <item key="file_contents">23D6930CD9F7B47AB1716D732BAA6114E83CAF64
                                    comodoca.com</item>
                                <item key="file_name">7E2537E8CE7B9D0554BD50BBC675A179.txt</item>
                            </dt_assoc>
                        </item>
                        <item key="state">awaiting-approval</item>
                        <item key="supplier_order_id">21843012</item>
                    </dt_assoc>
                </item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```
```xml DNS
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">TRUST_SERVICE</item>
                <item key="response_text">Command completed successfully.</item>
                <item key="action">PROCESS_PENDING:REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="domain">simpletest1.com</item>
                        <item key="dv_auth_method">dns</item>
                        <item key="order_id">17600</item>
                        <item key="dv_auth_details">
                            <dt_assoc>
                                <item key="dns_entry">7E2537E8CE7B9D0554BD50BBC675A179.simpletest1.com CNAME 23D6930CD9F7B47AB1716D732BAA6114E83CAF64.comodoca.com</item>
                            </dt_assoc>
                        </item>
                        <item key="state">awaiting-approval</item>
                        <item key="supplier_order_id">21842891</item>
                    </dt_assoc>
                </item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```
```xml Email
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">TRUST_SERVICE</item>
                <item key="response_text">Command completed successfully.</item>
                <item key="action">PROCESS_PENDING:REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="domain">20160122comodoemailb.com</item>
                        <item key="order_id">16686</item>
                        <item key="state">awaiting-approval</item>
                        <item key="supplier_order_id">20073400</item>
                    </dt_assoc>
                </item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```