insumer_acp_discount
Check token-holder discount eligibility with on-chain verification, returning ACP-formatted coupon objects, applied/rejected arrays, and per-item cent allocations for checkout flows.
Instructions
Check token-holder discount eligibility in OpenAI/Stripe Agentic Commerce Protocol (ACP) format. Returns coupon objects, applied/rejected arrays, and per-item allocations compatible with ACP checkout flows. Same on-chain verification as insumer_verify, wrapped in ACP format. Consumes 1 merchant credit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merchantId | Yes | Merchant ID | |
| wallet | No | EVM wallet address (0x...) | |
| solanaWallet | No | Solana wallet address (base58) | |
| xrplWallet | No | XRPL wallet address (r-address) | |
| items | No | Optional line items for per-item cent-amount allocations |