Create Customer
Create a new customer in Paystack
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CUSTOMER])
Create Invoice
Generate a new invoice for a customer
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_INVOICE])
Initiate Payment
Start a new payment transaction
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.INITIATE_PAYMENT])
Verify Transaction
Confirm the status of a transaction
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.VERIFY_TRANSACTION])
Refund Payment
Process a refund for a completed transaction
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REFUND_PAYMENT])
Create Subscription
Set up a recurring payment plan for a customer
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_SUBSCRIPTION])
Cancel Subscription
End an active subscription
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CANCEL_SUBSCRIPTION])
Update Customer
Modify existing customer information
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_CUSTOMER])
Create Transfer
Initiate a transfer to a bank account
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_TRANSFER])
Create Plan
Create a new payment plan
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_PLAN])
Resolve Bank Account
Verify and retrieve details of a bank account
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.RESOLVE_BANK_ACCOUNT])
Create Subaccount
Create a new subaccount for split payments
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_SUBACCOUNT])
Generate Transfer Receipt
Create a receipt for a completed transfer
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_TRANSFER_RECEIPT])
Create Charge
Initiate a charge on a customer's card or bank account
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CHARGE])
List Transactions
Retrieve a list of transactions based on specified criteria
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_TRANSACTIONS])
New Transaction
Triggered when a new transaction is initiated
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_TRANSACTION])
Successful Payment
Triggered when a payment is successfully completed
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUCCESSFUL_PAYMENT])
Failed Payment
Triggered when a payment attempt fails
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FAILED_PAYMENT])
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])
New Customer Created
Triggered when a new customer is added to Paystack
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_CUSTOMER_CREATED])
Subscription Created
Triggered when a new subscription is set up
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_CREATED])
Subscription Cancelled
Triggered when a subscription is cancelled
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_CANCELLED])
Transfer Successful
Triggered when a transfer is successfully completed
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TRANSFER_SUCCESSFUL])
Transfer Failed
Triggered when a transfer fails
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TRANSFER_FAILED])
Invoice Paid
Triggered when an invoice is fully paid
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.INVOICE_PAID])
Charge Successful
Triggered when a charge is successfully processed
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHARGE_SUCCESSFUL])
Charge Failed
Triggered when a charge attempt fails
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHARGE_FAILED])
Dispute Created
Triggered when a new dispute is opened on a transaction
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISPUTE_CREATED])
Dispute Resolved
Triggered when a dispute is resolved
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISPUTE_RESOLVED])
Subaccount Created
Triggered when a new subaccount is created
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBACCOUNT_CREATED])