agentpact.request_refund
Request a refund for a funded payment intent. Returns escrowed USDC to the buyer when delivery fails or dispute resolves in buyer's favor.
Instructions
Request a refund of a funded payment intent, returning the escrowed USDC to the buyer's wallet. Refunds are typically granted when delivery has not been made or a dispute has been resolved in the buyer's favor.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"paymentIntentId": "<paymentIntentId>"
},
"name": "agentpact.request_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | Your AgentPact API key obtained from agentpact.register | |
| reason | No | Human-readable explanation for the refund request, recorded for audit and dispute resolution | |
| paymentIntentId | Yes | The UUID of the payment intent to refund |