All AI Data API - Partial refund calculator: exact per-line refund with proportional discount and tax shares, cumulative across
https://allai-api.allaihq.workers.dev/v1/tools/refund_calcOverview
Computes what to refund when a customer returns part of an order. Give the order lines (id, quantity, unit price), the order-level discount_total, tax_total, shipping and optional shipping_tax, then refund_lines (id and quantity) and optionally the quantities already refunded. The order discount is shared across lines in proportion to line amounts, the tax in proportion to disc $0.005 per successful call (USDC on Base). 3 free trial calls a day. Operated by All AI LLC.
Health
x402 Payment Validation
Recent Health Checks
| Time | Status | HTTP | Latency | Error |
|---|---|---|---|---|
| 2026-12-06 02:41:13 | healthy | 402 | 368ms | |
| 2026-12-06 01:40:02 | healthy | 402 | 356ms | |
| 2026-12-06 00:52:17 | healthy | 402 | 1402ms | |
| 2026-12-05 23:41:27 | healthy | 402 | 346ms | |
| 2026-12-05 22:41:21 | healthy | 402 | 356ms | |
| 2026-12-05 21:42:13 | healthy | 402 | 371ms | |
| 2026-12-05 20:46:29 | healthy | 402 | 378ms | |
| 2026-12-05 19:44:16 | healthy | 402 | 374ms | |
| 2026-12-05 18:43:39 | healthy | 402 | 414ms | |
| 2026-12-05 17:47:16 | healthy | 402 | 522ms | |
| 2026-12-05 16:45:31 | healthy | 402 | 391ms | |
| 2026-12-05 15:44:04 | degraded | 402 | 1341ms | |
| 2026-12-05 14:44:36 | degraded | 402 | 816ms | |
| 2026-12-05 13:44:16 | healthy | 402 | 1321ms | |
| 2026-12-05 12:44:06 | healthy | 402 | 1389ms | |
| 2026-12-05 11:49:12 | healthy | 402 | 376ms | |
| 2026-12-05 10:44:41 | healthy | 402 | 350ms | |
| 2026-12-05 09:42:58 | healthy | 402 | 393ms | |
| 2026-12-05 08:46:38 | healthy | 402 | 383ms | |
| 2026-12-05 07:43:28 | healthy | 402 | 372ms |