Stripe Manager
Manage customers, invoices, subscriptions, payments, and billing via Stripe.
You have access to Stripe through the OpenLabor connector API.
How to Execute Stripe Actions
use stripe <TOOL_NAME> '<json_args>'
Customers
Create Customer
- Tool:
STRIPE_CREATE_CUSTOMER
- Args:
{ "email": "customer@example.com", "name": "John Smith", "description": "Enterprise client" }
Search Customers
- Tool:
STRIPE_SEARCH_STRIPE_CUSTOMERS
- Args:
{ "query": "email:'john@example.com'" }
List Customers
- Tool:
STRIPE_LIST_CUSTOMERS
- Args:
{}
Get Customer Details
- Tool:
STRIPE_RETRIEVE_CUSTOMER
- Args:
{ "customer_id": "cus_XXXXX" }
Update Customer
- Tool:
STRIPE_UPDATE_CUSTOMER
- Args:
{ "customer_id": "cus_XXXXX", "name": "Updated Name", "metadata": { "plan": "enterprise" } }
Delete Customer
- Tool:
STRIPE_DELETE_CUSTOMER
- Args:
{ "customer_id": "cus_XXXXX" }
- Warning: permanently deletes customer and cancels all subscriptions
Invoices
Create Invoice
- Tool:
STRIPE_CREATE_INVOICE
- Args:
{ "customer": "cus_XXXXX" }
- Creates a draft invoice
Add Line Items
- Tool:
STRIPE_CREATE_INVOICE_ITEM
- Args:
{ "customer": "cus_XXXXX", "amount": 5000, "currency": "usd", "description": "Consulting — March 2026" }
- Amount in cents (5000 = $50.00)
List Invoices
- Tool:
STRIPE_LIST_INVOICES
- Args:
{}
Get Invoice
- Tool:
STRIPE_RETRIEVE_INVOICE
- Args:
{ "invoice_id": "in_XXXXX" }
Issue Credit Note
- Tool:
STRIPE_CREATE_CREDIT_NOTE
- Args:
{ "invoice": "in_XXXXX" }
Subscriptions
Create Subscription
- Tool:
STRIPE_CREATE_SUBSCRIPTION
- Args:
{ "customer": "cus_XXXXX", "items": [{ "price": "price_XXXXX" }] }
- Supports trial periods, coupons, metered billing
List Subscriptions
- Tool:
STRIPE_LIST_SUBSCRIPTIONS
- Args:
{}
Get Subscription
- Tool:
STRIPE_RETRIEVE_SUBSCRIPTION
- Args:
{ "subscription_id": "sub_XXXXX" }
Update Subscription
- Tool:
STRIPE_UPDATE_SUBSCRIPTION
- Args:
{ "subscription_id": "sub_XXXXX" }
Cancel Subscription
- Tool:
STRIPE_CANCEL_SUBSCRIPTION
- Args:
{ "subscription_id": "sub_XXXXX" }
- Cancels at end of current billing period
Payments
Create Payment Intent
- Tool:
STRIPE_CREATE_PAYMENT_INTENT
- Args:
{ "amount": 10000, "currency": "usd", "customer": "cus_XXXXX" }
- Amount in cents (10000 = $100.00)
List Payments
- Tool:
STRIPE_LIST_PAYMENT_INTENTS
- Args:
{}
Get Payment Details
- Tool:
STRIPE_RETRIEVE_PAYMENT_INTENT
- Args:
{ "payment_intent_id": "pi_XXXXX" }
Issue Refund
- Tool:
STRIPE_CREATE_REFUND
- Args:
{ "payment_intent": "pi_XXXXX" }
- Full refund by default. For partial: add
"amount": 2500
List Refunds
- Tool:
STRIPE_LIST_REFUNDS
- Args:
{}
Products & Prices
Create Product
- Tool:
STRIPE_CREATE_PRODUCT
- Args:
{ "name": "Pro Plan" }
List Products
- Tool:
STRIPE_LIST_PRODUCTS
- Args:
{}
Create Price
- Tool:
STRIPE_CREATE_PRICE
- Args:
{ "currency": "usd", "unit_amount": 2900, "recurring": { "interval": "month" }, "product": "prod_XXXXX" }
Checkout & Payment Links
Create Checkout Session
- Tool:
STRIPE_CREATE_CHECKOUT_SESSION
- Args:
{ "mode": "subscription", "line_items": [{ "price": "price_XXXXX", "quantity": 1 }], "success_url": "https://example.com/success" }
Create Payment Link
- Tool:
STRIPE_CREATE_PAYMENT_LINK
- Args:
{ "line_items": [{ "price": "price_XXXXX", "quantity": 1 }] }
List Payment Links
- Tool:
STRIPE_LIST_PAYMENT_LINKS
- Args:
{}
Balance & Coupons
Check Balance
- Tool:
STRIPE_RETRIEVE_BALANCE
- Args:
{}
Create Coupon
- Tool:
STRIPE_CREATE_COUPON
- Args:
{ "duration": "once", "percent_off": 20 }
List Coupons
- Tool:
STRIPE_LIST_STRIPE_COUPONS
- Args:
{}
Common Workflows
Invoice a Client
- Find or create customer:
STRIPE_SEARCH_STRIPE_CUSTOMERS or STRIPE_CREATE_CUSTOMER
- Create invoice:
STRIPE_CREATE_INVOICE
- Add line items:
STRIPE_CREATE_INVOICE_ITEM
- Stripe auto-finalizes and sends the invoice
Set Up a Subscription
- Ensure product + price exist:
STRIPE_CREATE_PRODUCT → STRIPE_CREATE_PRICE
- Create or find customer:
STRIPE_CREATE_CUSTOMER
- Create subscription:
STRIPE_CREATE_SUBSCRIPTION
Process a Refund
- Find the payment:
STRIPE_LIST_PAYMENT_INTENTS or STRIPE_RETRIEVE_PAYMENT_INTENT
- Issue refund:
STRIPE_CREATE_REFUND
Generate a Payment Link
- Ensure product + price exist
- Create link:
STRIPE_CREATE_PAYMENT_LINK
- Share the link with the customer
Guidelines
- All amounts are in cents (e.g. $50.00 = 5000)
- Always confirm with the user before creating charges, subscriptions, or deleting customers
- Use
STRIPE_CREATE_PAYMENT_INTENT instead of deprecated STRIPE_CREATE_CHARGE
- If you get a 400 "not connected" error, tell the user to connect Stripe in the Apps tab
- Never expose API keys or customer payment details to the user
- Be extra careful with delete and refund operations — ask for confirmation
1---2name: stripe-manager3description: Manage customers, invoices, subscriptions, payments, and billing via Stripe Composio connector4---56<!-- openlabor-connector: stripe, api_key={{INTERNAL_API_KEY}}, employee={{EMPLOYEE_ID}}, base={{API_BASE_URL}} -->78# Stripe Manager910Manage customers, invoices, subscriptions, payments, and billing via Stripe.1112You have access to Stripe through the OpenLabor connector API.1314## How to Execute Stripe Actions1516```17use stripe <TOOL_NAME> '<json_args>'18```1920## Customers2122### Create Customer23- Tool: `STRIPE_CREATE_CUSTOMER`24- Args: `{ "email": "customer@example.com", "name": "John Smith", "description": "Enterprise client" }`2526### Search Customers27- Tool: `STRIPE_SEARCH_STRIPE_CUSTOMERS`28- Args: `{ "query": "email:'john@example.com'" }`2930### List Customers31- Tool: `STRIPE_LIST_CUSTOMERS`32- Args: `{}`3334### Get Customer Details35- Tool: `STRIPE_RETRIEVE_CUSTOMER`36- Args: `{ "customer_id": "cus_XXXXX" }`3738### Update Customer39- Tool: `STRIPE_UPDATE_CUSTOMER`40- Args: `{ "customer_id": "cus_XXXXX", "name": "Updated Name", "metadata": { "plan": "enterprise" } }`4142### Delete Customer43- Tool: `STRIPE_DELETE_CUSTOMER`44- Args: `{ "customer_id": "cus_XXXXX" }`45- Warning: permanently deletes customer and cancels all subscriptions4647## Invoices4849### Create Invoice50- Tool: `STRIPE_CREATE_INVOICE`51- Args: `{ "customer": "cus_XXXXX" }`52- Creates a draft invoice5354### Add Line Items55- Tool: `STRIPE_CREATE_INVOICE_ITEM`56- Args: `{ "customer": "cus_XXXXX", "amount": 5000, "currency": "usd", "description": "Consulting — March 2026" }`57- Amount in cents (5000 = $50.00)5859### List Invoices60- Tool: `STRIPE_LIST_INVOICES`61- Args: `{}`6263### Get Invoice64- Tool: `STRIPE_RETRIEVE_INVOICE`65- Args: `{ "invoice_id": "in_XXXXX" }`6667### Issue Credit Note68- Tool: `STRIPE_CREATE_CREDIT_NOTE`69- Args: `{ "invoice": "in_XXXXX" }`7071## Subscriptions7273### Create Subscription74- Tool: `STRIPE_CREATE_SUBSCRIPTION`75- Args: `{ "customer": "cus_XXXXX", "items": [{ "price": "price_XXXXX" }] }`76- Supports trial periods, coupons, metered billing7778### List Subscriptions79- Tool: `STRIPE_LIST_SUBSCRIPTIONS`80- Args: `{}`8182### Get Subscription83- Tool: `STRIPE_RETRIEVE_SUBSCRIPTION`84- Args: `{ "subscription_id": "sub_XXXXX" }`8586### Update Subscription87- Tool: `STRIPE_UPDATE_SUBSCRIPTION`88- Args: `{ "subscription_id": "sub_XXXXX" }`8990### Cancel Subscription91- Tool: `STRIPE_CANCEL_SUBSCRIPTION`92- Args: `{ "subscription_id": "sub_XXXXX" }`93- Cancels at end of current billing period9495## Payments9697### Create Payment Intent98- Tool: `STRIPE_CREATE_PAYMENT_INTENT`99- Args: `{ "amount": 10000, "currency": "usd", "customer": "cus_XXXXX" }`100- Amount in cents (10000 = $100.00)101102### List Payments103- Tool: `STRIPE_LIST_PAYMENT_INTENTS`104- Args: `{}`105106### Get Payment Details107- Tool: `STRIPE_RETRIEVE_PAYMENT_INTENT`108- Args: `{ "payment_intent_id": "pi_XXXXX" }`109110### Issue Refund111- Tool: `STRIPE_CREATE_REFUND`112- Args: `{ "payment_intent": "pi_XXXXX" }`113- Full refund by default. For partial: add `"amount": 2500`114115### List Refunds116- Tool: `STRIPE_LIST_REFUNDS`117- Args: `{}`118119## Products & Prices120121### Create Product122- Tool: `STRIPE_CREATE_PRODUCT`123- Args: `{ "name": "Pro Plan" }`124125### List Products126- Tool: `STRIPE_LIST_PRODUCTS`127- Args: `{}`128129### Create Price130- Tool: `STRIPE_CREATE_PRICE`131- Args: `{ "currency": "usd", "unit_amount": 2900, "recurring": { "interval": "month" }, "product": "prod_XXXXX" }`132133## Checkout & Payment Links134135### Create Checkout Session136- Tool: `STRIPE_CREATE_CHECKOUT_SESSION`137- Args: `{ "mode": "subscription", "line_items": [{ "price": "price_XXXXX", "quantity": 1 }], "success_url": "https://example.com/success" }`138139### Create Payment Link140- Tool: `STRIPE_CREATE_PAYMENT_LINK`141- Args: `{ "line_items": [{ "price": "price_XXXXX", "quantity": 1 }] }`142143### List Payment Links144- Tool: `STRIPE_LIST_PAYMENT_LINKS`145- Args: `{}`146147## Balance & Coupons148149### Check Balance150- Tool: `STRIPE_RETRIEVE_BALANCE`151- Args: `{}`152153### Create Coupon154- Tool: `STRIPE_CREATE_COUPON`155- Args: `{ "duration": "once", "percent_off": 20 }`156157### List Coupons158- Tool: `STRIPE_LIST_STRIPE_COUPONS`159- Args: `{}`160161## Common Workflows162163### Invoice a Client1641. Find or create customer: `STRIPE_SEARCH_STRIPE_CUSTOMERS` or `STRIPE_CREATE_CUSTOMER`1652. Create invoice: `STRIPE_CREATE_INVOICE`1663. Add line items: `STRIPE_CREATE_INVOICE_ITEM`1674. Stripe auto-finalizes and sends the invoice168169### Set Up a Subscription1701. Ensure product + price exist: `STRIPE_CREATE_PRODUCT` → `STRIPE_CREATE_PRICE`1712. Create or find customer: `STRIPE_CREATE_CUSTOMER`1723. Create subscription: `STRIPE_CREATE_SUBSCRIPTION`173174### Process a Refund1751. Find the payment: `STRIPE_LIST_PAYMENT_INTENTS` or `STRIPE_RETRIEVE_PAYMENT_INTENT`1762. Issue refund: `STRIPE_CREATE_REFUND`177178### Generate a Payment Link1791. Ensure product + price exist1802. Create link: `STRIPE_CREATE_PAYMENT_LINK`1813. Share the link with the customer182183## Guidelines1841. All amounts are in **cents** (e.g. $50.00 = 5000)1852. Always confirm with the user before creating charges, subscriptions, or deleting customers1863. Use `STRIPE_CREATE_PAYMENT_INTENT` instead of deprecated `STRIPE_CREATE_CHARGE`1874. If you get a 400 "not connected" error, tell the user to connect Stripe in the Apps tab1885. Never expose API keys or customer payment details to the user1896. Be extra careful with delete and refund operations — ask for confirmation