Agent Commerce Protocols
ACP-format discount eligibility check
ACP discount check. Same verification as POST /v1/verify, wrapped in OpenAI/Stripe Agentic Commerce Protocol format (coupon objects, allocations, applied/rejected arrays). A code that carries a discount costs 1 regular credit from the API key that owns the store; a 0% result is free. A caller using another key is not charged. Source: "acp".
post/v1/acp/discount
Request
- Base URL: https://api.insumermodel.com
- URL: https://api.insumermodel.com/v1/acp/discount
- Auth: API key in header X-API-Key
Request body
Example request
{
"items": [
{
"path": "$.line_items[0]",
"amount": 2500
}
],
"subtotal": 5000
}Response
ACP-format discount response
Example response
{
"data": {
"version": "2026-04-17",
"verification": {
"kid": "insumer-attest-v1"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.