# Getting a subscription's pending actions

Our Digital River Commerce API allows you to examine the pending actions for a specific subscription. This document explains how to effectively use the API to retrieve such information, ensuring the status of your subscriptions is up to date.

To retrieve a subscription's pending actions in Digital River's API, perform a  [`GET /v1/subscriptions/{subscriptionId}/pending-actions`](https://app.gitbook.com/s/drE2RCYBuoRpd2TC2sx2/subscription-mangement/retrieve-subscriptions-with-pending-actions#v1-subscriptions-subid-pending-actions) request and include the `{subscriptionId}` you want to query. Ensure you have the necessary authorization header included in your request.

Here's an example using cURL:

{% tabs %}
{% tab title="cURL" %}

```javascript
curl --location --request GET 'https://api.digitalriver.com/v1/subscriptions/{subscriptionId}/pending-actions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic {Your_Authorization}' \
```

{% endtab %}
{% endtabs %}

The server responds with a `202 Accepted` status code, indicating your request to retrieve the pending actions for the specified subscription ID, was accepted and is being processed.
