Collect tips/donations at the checkout
Learn how to add tips to the store checkout.
Last updated
Was this helpful?
Learn how to add tips to the store checkout.
Last updated
Was this helpful?
You can collect tips or donations in your store by enabling a specific section at the last checkout step:
To do so, simply send a PUT request with the JSON-formatted body. There, define the `tipsSettings` object with all the settings inside.
Request example:
You can specify one of the donation types:
PERCENT
to collect tips tied to the order total, for example, 10% extra tip
ABSOLUTE
to collect tips unrelated to the order total, for example, $15
The options
array and the defaultOption
are predefined values for the tip, and the title
and `subtitle` fields describe why customers should leave a tip.
In response you’ll see `200 OK` HTTP status with the response body:
Which means that you’ve successfully enabled tips at the checkout.