insumer_ucp_discount
Check token-holder discount eligibility in Google UCP format for checkout flows. Returns title and applied array, verified on-chain. Uses one merchant credit.
Instructions
Check token-holder discount eligibility in Google Universal Commerce Protocol (UCP) format. Returns title, extension field, and applied array compatible with UCP checkout flows. Same on-chain verification as insumer_verify, wrapped in UCP 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 |