Create Customer
Create a new customer in Braintree
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CUSTOMER])
Create Transaction
Process a new transaction in Braintree
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_TRANSACTION])
Refund Transaction
Refund a previously processed transaction
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REFUND_TRANSACTION])
Void Transaction
Void a previously authorized transaction
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.VOID_TRANSACTION])
Find Customer
Retrieve customer details by ID
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FIND_CUSTOMER])
Update Customer
Update existing customer information
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_CUSTOMER])
Delete Customer
Delete a customer from Braintree
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_CUSTOMER])
Create Payment Method
Add a new payment method for a customer
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_PAYMENT_METHOD])
Update Payment Method
Update an existing payment method
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_PAYMENT_METHOD])
Delete Payment Method
Remove a payment method from a customer's account
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_PAYMENT_METHOD])
Create Subscription
Create a new subscription for a customer
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_SUBSCRIPTION])
Update Subscription
Modify an existing subscription
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_SUBSCRIPTION])
Cancel Subscription
Cancel an active subscription
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CANCEL_SUBSCRIPTION])
Create Plan
Create a new pricing plan
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_PLAN])
Update Plan
Modify an existing pricing plan
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_PLAN])
Delete Plan
Remove a pricing plan
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_PLAN])
Create Discount
Create a new discount
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_DISCOUNT])
Update Discount
Modify an existing discount
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_DISCOUNT])
Delete Discount
Remove a discount
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_DISCOUNT])
Search Transactions
Search for transactions based on specific criteria
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SEARCH_TRANSACTIONS])
New Transaction
Triggered when a new transaction is processed
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_TRANSACTION_TRIGGER])
Failed Transaction
Triggered when a transaction fails
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FAILED_TRANSACTION_TRIGGER])
Subscription Created
Triggered when a new subscription is created
from composio_openai 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_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_CANCELED_TRIGGER])
Subscription Charged Successfully
Triggered when a subscription payment is successful
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_CHARGED_SUCCESS_TRIGGER])
Subscription Charge Failed
Triggered when a subscription payment fails
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_CHARGED_FAILED_TRIGGER])
Dispute Opened
Triggered when a new dispute is opened
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISPUTE_OPENED_TRIGGER])
Dispute Won
Triggered when a dispute is resolved in merchant's favor
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISPUTE_WON_TRIGGER])
Dispute Lost
Triggered when a dispute is lost
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISPUTE_LOST_TRIGGER])
Refund Processed
Triggered when a refund is successfully processed
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REFUND_PROCESSED_TRIGGER])