Every action below is available as a verb in Cerebral OS — callable from a Cerebral, a Map, or the Runtime API. All executions are governed, audited, and dry-run safe.
Cancel Subscription
stripe:cancel_subscription
Cancel a Stripe subscription either immediately or at period end. Use cancel_at_period_end=true to let customer finish billing period. Use cancel_at_period_end=false with prorate=true for immediate cancellation with refund.
Write
High risk
Create a Customer
stripe:create_customer
Create a new Stripe customer for storing payment methods and billing info. Use before creating subscriptions or for repeat customers. Returns customer_id (starts with "cus_") needed for future payments.
Write
Medium risk
Create a Payment Intent
stripe:create_payment_intent
Create a payment intent to collect payment from customer. Returns client_secret for frontend to complete payment with Stripe.js. Amount must be ≥50 cents. Use confirm=true only if payment_method provided.
Write
High risk
Create A Refund
stripe:create_refund
Create a refund for a Stripe charge. CRITICAL: Requires charge ID (starts with "ch_"), NOT payment_intent_id. Omit amount for full refund. Refund is instant for cards (3-10 days to customer account).
Write
High risk
Get Balance Transactions
stripe:get_balance_transactions
List balance transactions (payments, refunds, payouts) from Stripe account. Use for accounting reconciliation, reporting, or payout verification. Returns net amounts, fees, and when funds become available.
Read
Low risk
Get Customer
stripe:get_customer
Get full customer details including payment methods and metadata. Use stripe_get_customers first to search by email and get customer_id.
Read
Low risk
Get Customers
stripe:get_customers
Search for customers by email or list all customers. Returns customer IDs needed for stripe_get_customer, payments, subscriptions. Use email filter to find specific customer before operations.
Read
Low risk
Get Invoice
stripe:get_invoice
Get full invoice details including line items and payment status. Use for checking subscription invoices or payment confirmations. Returns hosted_invoice_url for customer to view/pay invoice.
Read
Low risk
Get Invoices
stripe:get_invoices
List invoices filtered by customer, subscription, or status. Use for finding unpaid invoices, subscription billing history, or accounting. Returns invoice IDs for use with stripe_get_invoice for full details.
Read
Low risk
Get Subscription
stripe:get_subscription
Get full subscription details including billing cycle, status, and line items. Use for checking subscription status before cancellation or for customer support. Returns cancel_at_period_end flag showing if cancellation is scheduled.
Read
Low risk
Get Subscriptions
stripe:get_subscriptions
List subscriptions filtered by customer or status. Use for finding customer's active subscriptions or checking payment failures. Returns subscription IDs for use with stripe_get_subscription for full details.
Read
Low risk
Update a Customer
stripe:update_customer
Update customer contact information, metadata, or billing address. Warning: metadata parameter REPLACES all existing metadata (fetch first to preserve). Use stripe_get_customer first to retrieve current values before updating.
Write
Low risk