This tutorial shows how to use the volume-based discount Smart Clause® Template to use a smart legal contract to calculate a percentage discount, based on the volume of usage of a service.
No programming is required and the tutorial should only take you a few minutes.
Create a new contract
Create a new contract (either starting with a blank contract or by upload a Word or PDF document.
Add the volume discount Smart Clause® Template
Press the Add Clause button and select the volume-discount advanced Smart Clause.
Add an HTTP Trigger, then copy the Trigger URL and Bearer token from the Triggers for the Smart Clause to the clipboard.
Open volume discount demo application:
Paste the Trigger URL and Bearer token into the demo user interface for the Smart Clause, adjust the volume using the slider and then press the Add button to add a volume reading. The Smart Clause will be triggered and will compute the volume discount based on the reading.