{ "name": "GetTerminalRefund", "fully_qualified_name": "SquareupApi.GetTerminalRefund@0.1.0", "description": "Fetch Interac Terminal refund details by ID.\n\nUse this tool to retrieve details of an Interac Terminal refund within 30 days of its creation using the refund ID.", "toolkit": { "name": "ArcadeSquareupApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "terminal_refund_id", "required": true, "description": "The unique ID of the Interac Terminal refund to retrieve. Must be used within 30 days of creation.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The unique ID for the desired `TerminalRefund`." }, "inferrable": true, "http_endpoint_parameter_name": "terminal_refund_id" } ] }, "output": { "description": "Response from the API endpoint 'GetTerminalRefund'.", "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": { "provider_id": "arcade-squareup", "provider_type": "oauth2", "id": null, "oauth2": { "scopes": [ "PAYMENTS_READ" ] } }, "secrets": null, "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 squareup API." }, "http_endpoint": { "metadata": { "object_type": "http_endpoint", "version": "1.0.0", "description": "" }, "url": "https://connect.squareup.com/v2/terminals/refunds/{terminal_refund_id}", "http_method": "GET", "headers": {}, "parameters": [ { "name": "terminal_refund_id", "tool_parameter_name": "terminal_refund_id", "description": "The unique ID for the desired `TerminalRefund`.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The unique ID for the desired `TerminalRefund`." }, "accepted_as": "path", "required": true, "deprecated": false, "documentation_urls": [] } ], "documentation_urls": [], "secrets": [ { "arcade_key": "auth_token", "parameter_name": "Authorization", "accepted_as": "header", "formatted_value": "Bearer {authorization}", "description": "The OAuth token to use for authentication.", "is_auth_token": true } ] } }