Update merchant settings
insumer_configure_settingsConfigure owner-only merchant settings for discount stacking, caps, unproven-wallet limits, and stablecoin payments; optional fields replace current values.
Instructions
Update merchant settings: discount stacking mode, cap, the store's terms for wallets sent without proof of control, and stablecoin payment configuration. All fields optional; supplied fields replace their current values. discountCap is a whole number from 1 to 100. A wallet with proof gets the full discount their holdings earn, without the daily limit for unproven buyers. Owner only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Merchant ID | |
| discountCap | No | Maximum total discount percentage: a whole number from 1 to 100, no decimals | |
| usdcPayment | No | USDC payment settings, or null to disable | |
| discountMode | No | 'highest' uses best single discount, 'stack' adds them together, 'capped' stacks up to discountCap | |
| maxUnprovenDiscount | No | Most a wallet without proof of control can get, in percent: 0 = no discount, null = the same as a proven wallet | |
| maxDiscountsPerWalletPerDay | No | Discount codes per UTC day for a wallet without proof of control; null = no limit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | true when the API call succeeded | |
| data | No | The endpoint's payload: a signed attestation, trust profile, discount, merchant or token records | |
| keys | No | JWKS entries (insumer_jwks) | |
| meta | No | Response metadata such as version and timestamp | |
| error | No | Error details when ok is false | |
| items | No | The result when the endpoint returns a JSON array | |
| message | No | A plain-text result (insumer_setup), or a message from the API |