Smile.js is Smile’s official frontend JavaScript SDK. It enables developers to create fully custom rewards & loyalty experiences on any app or website, without needing to manage complex API logic yourself. Use the SDK to display essential customer data like points balance and rewards history, or to let customers redeem their points for coupons or other rewards. This reference covers all available methods and objects included in the SDK.
Not looking to build a fully custom UI? You can embed Smile’s customizable pre-built rewards popup, Smile UI , on any app or website instead.