{ "name": "GetPromotionCodeDetails", "fully_qualified_name": "StripeApi.GetPromotionCodeDetails@0.1.0", "description": "Retrieve details of a specific promotion code.\n\nThis tool retrieves information about a promotion code using its ID. It can be used to access details such as discount amounts, expiration dates, and other relevant data tied to the specific promotion code.", "toolkit": { "name": "ArcadeStripeApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "promotion_code_id", "required": true, "description": "The unique identifier of the promotion code to retrieve details for.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "inferrable": true, "http_endpoint_parameter_name": "promotion_code" }, { "name": "fields_to_expand", "required": false, "description": "A list of fields in the response to be expanded. Provide field names as strings.", "value_schema": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": "Specifies which fields in the response should be expanded." }, "inferrable": true, "http_endpoint_parameter_name": "expand" } ] }, "output": { "description": "Response from the API endpoint 'GetPromotionCodesPromotionCode'.", "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/promotion_codes/{promotion_code}", "http_method": "GET", "headers": {}, "parameters": [ { "name": "expand", "tool_parameter_name": "fields_to_expand", "description": "Specifies which fields in the response should be expanded.", "value_schema": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": "Specifies which fields in the response should be expanded." }, "accepted_as": "query", "required": false, "deprecated": false, "documentation_urls": [] }, { "name": "promotion_code", "tool_parameter_name": "promotion_code_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 } ] } }