stripe.create_refund
ActiveTool of MetaMesh-UGA
declared in 1.0.0
This tool will refund a payment intent in Stripe.
Parameters schema
{
"type": "object",
"required": [
"payment_intent"
],
"properties": {
"amount": {
"type": "integer",
"description": "The amount to refund in currency minor units, e.g. cents for USD and yen for JPY."
},
"reason": {
"enum": [
"duplicate",
"fraudulent",
"requested_by_customer"
],
"type": "string",
"description": "The reason for the refund."
},
"payment_intent": {
"type": "string",
"description": "The ID of the PaymentIntent to refund."
},
"human_confirmation": {
"type": "object",
"properties": {
"approval_token": {
"type": "string",
"description": "The ID of the approval token for the request. This is required on only the post-human-confirmation invocation. An example ID is `approval_123`."
}
},
"description": "This tool might require human confirmation. To run it, first invoke it with the desired parameters, ignoring the `approval_token` parameter.\nIf it requires human confirmation, the response will include an approval request ID and a URL to an approval page for the human to approve the tool call.\nYou, as the LLM agent, should:\n\n1. Present this URL to the human as a clickable markdown link. Tell them that they have to approve this tool call at that URL, and that they should tell you when they have approved the operation.\n2. The human will approve that call.\n3. After the human tells you they have approved the operation, you must call the tool again with the `approval_token` parameter and the exact same parameters. The operation will then go through.\n"
}
}
}Parent server
MetaMesh-UGA
https://github.com/metamesh-uga/gateway
1/7 registries