{ "name": "RemoveCustomerSubscriptionDiscount", "fully_qualified_name": "StripeApi.RemoveCustomerSubscriptionDiscount@0.1.0", "description": "Removes the discount from a customer's subscription.\n\nThis tool is used to remove the currently applied discount on a specific customer's subscription.", "toolkit": { "name": "ArcadeStripeApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "customer_id", "required": true, "description": "The unique identifier for the customer whose subscription discount should be removed.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "inferrable": true, "http_endpoint_parameter_name": "customer" }, { "name": "subscription_id", "required": true, "description": "The unique identifier for the customer's subscription from which the discount will be removed.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "inferrable": true, "http_endpoint_parameter_name": "subscription_exposed_id" } ] }, "output": { "description": "Response from the API endpoint 'DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount'.", "available_modes": [ "value", "error", "null" ], "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "requirements": { "authorization": null, "secrets": [ { "key": "STRIPE_API_KEY" } ], "metadata": null }, "deprecation_message": null, "metadata": { "object_type": "api_wrapper_tool", "version": "1.0.0", "description": "Tools that enable LLMs to interact directly with the Stripe API." }, "http_endpoint": { "metadata": { "object_type": "http_endpoint", "version": "1.0.0", "description": "" }, "url": "https://api.stripe.com/v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount", "http_method": "DELETE", "headers": {}, "parameters": [ { "name": "customer", "tool_parameter_name": "customer_id", "description": "", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "accepted_as": "path", "required": true, "deprecated": false, "documentation_urls": [] }, { "name": "subscription_exposed_id", "tool_parameter_name": "subscription_id", "description": "", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "accepted_as": "path", "required": true, "deprecated": false, "documentation_urls": [] } ], "documentation_urls": [], "secrets": [ { "arcade_key": "STRIPE_API_KEY", "parameter_name": "Authorization", "accepted_as": "header", "formatted_value": "Bearer {authorization}", "description": "", "is_auth_token": false } ] } }