Refund Window and Dispute Limit Check
refund_window_checkCheck whether a refund request falls inside your refund window and inside the card-network dispute (chargeback) time limit you send, counted in calendar days. Send the purchase date, the request date, refund_window_days (your policy, for example 30) and, if you want the dispute side, dispute_limit_days (the limit for the reason code, for example 120). The refund window can run from the purchase or from the delivery date; the dispute limit runs from the purchase date unless you send dispute_start_date (for example the expected delivery date for goods not received). Get back the last day of each, inside or outside, and the days left or days past. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/refund-window-check). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.
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": {
"purchase_date": "<purchase_date>",
"request_date": "<request_date>",
"refund_window_days": "<refund_window_days>"
},
"name": "refund_window_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional label for the order (your own text, echoed back; not a person). | |
| request_date | Yes | Date the customer asked for the refund, YYYY-MM-DD. | |
| delivery_date | No | Delivery date, YYYY-MM-DD (needed when refund_window_from is delivery). | |
| purchase_date | Yes | Purchase or transaction processing date, YYYY-MM-DD. | |
| dispute_limit_days | No | Optional: the card-network dispute time limit in calendar days for the case (from your network's rules or acquirer). | |
| dispute_start_date | No | Optional: the date the dispute limit counts from, when it is not the purchase date, YYYY-MM-DD. | |
| refund_window_days | Yes | Your refund window in calendar days (0 = same day only). | |
| refund_window_from | No | Whether the refund window counts from the purchase date (default) or the delivery date. | purchase |