Commerce
Sale price after one or more stacked percentage discounts (applied sequentially, not summed) plus an optional flat amount off.
Sale price after one or more stacked percentage discounts (applied sequentially, not summed) plus an optional flat amount off.
Payment: x402 ($0.02 USDC on eip155:8453). Call unpaid to receive an HTTP 402 with requirements, then retry with the PAYMENT-SIGNATURE header. Method: price = original * prod(1 - dᵢ/100) - flatOff; savings = original - final
post/v1/commerce/discount
Request
- Base URL: (relative, and it does not resolve against the document’s source URL)
- URL: /v1/commerce/discount
- Auth: none declared
Request body
Response
Verified result + provenance (formula, sources, reproducible SHA-256 hash).
Changes
No recorded changes to this operation across all 1 revision of this API.