# RecurringStack Dunning Rule API

**Canonical:** https://apis.io/apis/recurringstack-com/recurringstack-com-dunningrule-api/  
**Provider:** RecurringStack — https://apis.io/providers/recurringstack-com/  
**Base URL:** https://api.recurringstack.com  
**Documentation:** https://recurringstack.com/docs/api

RecurringStack Dunning Rule API is one of 30 APIs that [RecurringStack](https://apis.io/providers/recurringstack-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include DunningRule. The published artifact set on APIs.io includes an OpenAPI specification.

The Dunning Rule API provides a powerful way to automate the process of managing delinquent customer subscriptions. Dunning rules allow you to define specific actions that RecurringStack should take when a subscription's invoice becomes overdue, helping to reduce churn and recover revenue. Each dunning rule is associated with a specific product_group. A rule is triggered when an invoice linked to a subscription within that group meets the defined criteria for both the number of days it is overdue (overdue_days) and its outstanding balance (overdue_amount). When the conditions are met, a predefined enforcement_action is automatically executed. Key Features & Concepts Rule Triggers: A rule is activated only when an invoice's overdue status is an exact match for the overdue_days value and the unpaid balance meets or exceeds the specified overdue_amount. Scoped to Product Groups: All rules must be linked to a product_group, ensuring they only apply to subscriptions for products within that group. This allows for different dunning strategies for different product offerings. Multiple Simultaneous Rules: A single product group can have multiple dunning rules. If the conditions for several rules are met simultaneously (e.g., a 'REMIND' and a 'POST' rule for the same number of overdue days), all corresponding actions will be executed. Automated Enforcement Actions: You can configure one of several actions to be taken when a rule is matched: SUSPEND: Suspends the associated subscription. DELETE: Cancels/deletes the associated subscription. REMIND: Sends the standard 'Invoice Reminder' notification to the customer. POST: Sends a POST request with invoice and customer details to a specified URL (post_url) for custom integration or workflow automation. Note: Dunning rules only apply to invoices that are automatically generated for active subscriptions. They do not affect manually created invoices or invoices that are not linked to a subscription.

## Operations (4)

| Method | Path | Summary |
|---|---|---|
| GET | `/dunningrule/list` | List all dunning rules |
| POST | `/dunningrule/create` | Create a new dunning rule |
| PATCH | `/dunningrule/update` | Update an existing dunning rule |
| DELETE | `/dunningrule/delete` | Delete an existing dunning rule |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/recurringstack-com/openapi/recurringstack-com-dunningrule-api-openapi.yml

## Other RecurringStack APIs (12)

- [RecurringStack Account API](https://apis.io/apis/recurringstack-com/recurringstack-com-account-api/)
- [RecurringStack Article API](https://apis.io/apis/recurringstack-com/recurringstack-com-article-api/)
- [RecurringStack Brand API](https://apis.io/apis/recurringstack-com/recurringstack-com-brand-api/)
- [RecurringStack Category API](https://apis.io/apis/recurringstack-com/recurringstack-com-category-api/)
- [RecurringStack Component API](https://apis.io/apis/recurringstack-com/recurringstack-com-component-api/)
- [RecurringStack Coupon API](https://apis.io/apis/recurringstack-com/recurringstack-com-coupon-api/)
- [RecurringStack IAM Policy API](https://apis.io/apis/recurringstack-com/recurringstack-com-iampolicy-api/)
- [RecurringStack Invoice API](https://apis.io/apis/recurringstack-com/recurringstack-com-invoice-api/)
- [RecurringStack Key API](https://apis.io/apis/recurringstack-com/recurringstack-com-key-api/)
- [RecurringStack Marketing Campaign API](https://apis.io/apis/recurringstack-com/recurringstack-com-marketingcampaign-api/)
- [RecurringStack Marketing Job API](https://apis.io/apis/recurringstack-com/recurringstack-com-marketingjob-api/)
- [RecurringStack Marketing List API](https://apis.io/apis/recurringstack-com/recurringstack-com-marketinglist-api/)

## Tags

DunningRule

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/recurringstack-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/recurringstack-com/recurringstack-com-dunningrule-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/recurringstack-com/.
