Create Customer
Creates a new customer in MoonClerk
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CUSTOMER_ACTION])
Update Customer
Updates an existing customer's information
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_CUSTOMER_ACTION])
Create Subscription
Creates a new subscription for a customer
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_SUBSCRIPTION_ACTION])
Cancel Subscription
Cancels an active subscription
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CANCEL_SUBSCRIPTION_ACTION])
Update Subscription
Updates the details of an existing subscription
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_SUBSCRIPTION_ACTION])
Process One Time Payment
Processes a one-time payment for a customer
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PROCESS_ONETIME_PAYMENT_ACTION])
Issue Refund
Issues a refund for a specific payment
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ISSUE_REFUND_ACTION])
Get Customer Details
Retrieves detailed information about a specific customer
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_CUSTOMER_DETAILS_ACTION])
Get Subscription Details
Retrieves detailed information about a specific subscription
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_SUBSCRIPTION_DETAILS_ACTION])
Get Payment History
Retrieves the payment history for a specific customer
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_PAYMENT_HISTORY_ACTION])
Create Discount
Creates a new discount code
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_DISCOUNT_ACTION])
Apply Discount
Applies a discount to a subscription or one-time payment
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.APPLY_DISCOUNT_ACTION])
Get Analytics
Retrieves analytics data for payments and subscriptions
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_ANALYTICS_ACTION])
Update Payment Method
Updates the payment method for a customer or subscription
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_PAYMENT_METHOD_ACTION])
Send Invoice
Sends an invoice to a customer
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SEND_INVOICE_ACTION])
Generate Report
Generates a custom report based on specified parameters
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_REPORT_ACTION])
New Customer
Triggered when a new customer is added to MoonClerk
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_CUSTOMER_TRIGGER])
New Payment
Triggered when a new payment is received
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_PAYMENT_TRIGGER])
Payment Failed
Triggered when a payment attempt fails
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PAYMENT_FAILED_TRIGGER])
Subscription Created
Triggered when a new subscription is created
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_CREATED_TRIGGER])
Subscription Canceled
Triggered when a subscription is canceled
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_CANCELED_TRIGGER])
Subscription Updated
Triggered when a subscription is updated
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_UPDATED_TRIGGER])
Refund Issued
Triggered when a refund is issued
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REFUND_ISSUED_TRIGGER])
Customer Updated
Triggered when customer information is updated
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CUSTOMER_UPDATED_TRIGGER])
Plan Changed
Triggered when a customer changes their subscription plan
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PLAN_CHANGED_TRIGGER])