Prompt Details
Model
Chat - (gpt-5.4)
Token size
303
Example input
[SOURCE]: Stripe payments API for reading invoices, creating refunds, and updating subscription plans
Example output
1. TOOL INVENTORY
get_invoice: Retrieve invoice by ID. Input: invoice_id (string, starts with "in_", max 255 chars). Output: invoice object with status, amount, customer, line items. Read-only.
list_invoices: List invoices with filters. Input: customer_id (optional string), status (enum: draft, open, paid, void), date_from (ISO date), date_to (ISO date), limit (integer 1-100, default 10). Output: array of invoice summaries. Read-only.
create_refund: Refund a payment. Input: payment_intent_id (string, starts with "pi_"), amount (optional integer, cents, must be positive and not exceed original charge), reason (enum: duplicate, fraudulent, requested_by_customer). Output: refund object with status. Mutating.
update_subscription: Change subscription plan. Input: subscription_id (string, starts with "sub_"), new_price_id (string, starts with "price_"), proration_behavior (enum: create_prorations, none, always_invoice). Output: updated subscription object. Mutating.
By purchasing this prompt, you agree to our terms of service
GPT-5.4
Build production-ready MCP servers in minutes. Describe your API or data source and get complete server architecture: tool definitions with schemas, authentication setup, input validation, rate limiting, error handling, security checklist, and working code. Supports Python FastMCP and TypeScript MCP SDK.
...more
Added over 1 month ago
