> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Moonclerk

> MoonClerk is a platform that enables businesses to accept recurring and one-time online payments.

![Moonclerk logo](https://mintcdn.com/composio-preview/9YPuzjEU4UlMnwGq/images/toolkits/moonclerk.svg?fit=max\&auto=format\&n=9YPuzjEU4UlMnwGq\&q=85\&s=2cfb00448b2790b07e610d9c5e301cc3)

* **Category:** payment processing
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 5
* **Triggers:** 0
* **Slug:** `MOONCLERK`
* **Version:** 20260227\_00

## Tools

> [accordion] List Customers
>
> **Slug:** `MOONCLERK_LIST_CUSTOMERS`
>
> Tool to list customers (plans) from MoonClerk. Use when you need to retrieve customer data with optional filters. Use after authenticating API credentials.
>
> #### Input Parameters
>
> **status** `string ("active" | "canceled" | "expired" | "past_due" | "pending" | "unpaid")`
>
> Filter by subscription status.
>
> **form\_id** `integer`
>
> The associated MoonClerk form ID to filter customers.
>
> **checkout\_to** `string`
>
> Customers created on or before this date (YYYY-MM-DD).
>
> **checkout\_from** `string`
>
> Customers created on or after this date (YYYY-MM-DD).
>
> **next\_payment\_to** `string`
>
> Subscriptions due to bill on or before this date (YYYY-MM-DD).
>
> **next\_payment\_from** `string`
>
> Subscriptions due to bill on or after this date (YYYY-MM-DD).
>
> #### Output
>
> **data** `object` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Discounts
>
> **Slug:** `MOONCLERK_LIST_DISCOUNTS`
>
> Tool to retrieve a list of all discounts applied to customers. Use after authenticating API credentials.
>
> #### Input Parameters
>
> **status** `string ("active" | "canceled" | "expired" | "past_due" | "pending" | "unpaid")`
>
> Filter by subscription status.
>
> **form\_id** `integer`
>
> Filter discounts by associated MoonClerk form ID.
>
> **checkout\_to** `string`
>
> Filter customers created on or before this date (YYYY-MM-DD).
>
> **checkout\_from** `string`
>
> Filter customers created on or after this date (YYYY-MM-DD).
>
> **next\_payment\_to** `string`
>
> Filter subscriptions due to bill on or before this date (YYYY-MM-DD).
>
> **next\_payment\_from** `string`
>
> Filter subscriptions due to bill on or after this date (YYYY-MM-DD).
>
> #### Output
>
> **data** `object` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Payment Forms
>
> **Slug:** `MOONCLERK_LIST_FORMS`
>
> Tool to retrieve a list of all payment forms. Use after authenticating to inspect available payment forms.
>
> #### Input Parameters
>
> **page** `integer`
>
> Page number to retrieve, starting at 1
>
> **per\_page** `integer`
>
> Number of forms per page
>
> #### Output
>
> **data** `object` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Payments
>
> **Slug:** `MOONCLERK_LIST_PAYMENTS`
>
> Tool to list payments. Use when you need to retrieve all payments or filter by form, customer, date range, or status after authenticating.
>
> #### Input Parameters
>
> **status** `string ("successful" | "refunded" | "failed")`
>
> Filter payments by status. Valid values: successful, refunded, failed
>
> **date\_to** `string`
>
> Include payments charged on or before this date (YYYY-MM-DD)
>
> **form\_id** `integer`
>
> MoonClerk form ID to filter payments (e.g., 5346)
>
> **date\_from** `string`
>
> Include payments charged on or after this date (YYYY-MM-DD)
>
> **customer\_id** `integer`
>
> MoonClerk customer ID to filter payments (e.g., 12742)
>
> #### Output
>
> **data** `object` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Subscriptions
>
> **Slug:** `MOONCLERK_LIST_SUBSCRIPTIONS`
>
> Tool to list subscriptions. Use when you need to retrieve all subscriptions after authenticating.
>
> #### Input Parameters
>
> **status** `string ("active" | "canceled" | "expired" | "past_due" | "pending" | "unpaid")`
>
> Filter subscriptions by status. Valid options: active, canceled, expired, past\_due, pending, unpaid
>
> **form\_id** `string`
>
> Filter subscriptions by the associated MoonClerk form ID (e.g., 5346)
>
> **next\_payment\_to** `string`
>
> Include subscriptions due to bill on or before this date (YYYY-MM-DD)
>
> **next\_payment\_from** `string`
>
> Include subscriptions due to bill on or after this date (YYYY-MM-DD)
>
> #### Output
>
> **data** `object` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
