{ "name": "GetCustomerPaymentMethod", "fully_qualified_name": "StripeApi.GetCustomerPaymentMethod@0.1.0", "description": "Retrieve a customer's specific payment method.\n\nThis tool retrieves detailed information about a specific PaymentMethod linked to a given customer. It should be called when there is a need to access or verify details of a particular payment method for a customer in Stripe.", "toolkit": { "name": "ArcadeStripeApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "customer_id", "required": true, "description": "The unique identifier for the customer whose payment method information is being retrieved. This ID should be a string matching the customer's record in Stripe.", "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": "payment_method_id", "required": true, "description": "The unique identifier for the payment method to retrieve for the customer.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "inferrable": true, "http_endpoint_parameter_name": "payment_method" }, { "name": "fields_to_expand", "required": false, "description": "List of fields in the payment method response that should be expanded for more details.", "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 'GetCustomersCustomerPaymentMethodsPaymentMethod'.", "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}/payment_methods/{payment_method}", "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": "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": "payment_method", "tool_parameter_name": "payment_method_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 } ] } }