rsnc_agent_create_event
Create a new reward event for a brand. Events define what user actions earn cashback. The agent validates the configuration against the brand's data maturity before creating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brandId | Yes | The brand identifier (wallet address). | |
| eventType | Yes | The type of user action that triggers this reward event. | |
| maxClaims | No | Maximum total claims allowed. 0 = unlimited. Defaults to 0. | |
| customName | No | Required when eventType is "custom". Human-readable name for the custom event. | |
| rewardAmount | Yes | RSNC tokens awarded per claim. Must be greater than 0. | |
| cooldownHours | No | Hours between claims per user. Defaults to 24. | |
| detectionMethod | No | How the event is detected. Defaults to "webhook". |