Skip to main content
JavaScript
Smile.pointsSettings.get().then(
  (pointsSettings) => {
    // Handle the points settings object
  }
);

Documentation Index

Fetch the complete documentation index at: https://dev.smile.io/llms.txt

Use this file to discover all available pages before exploring further.

This async method retrieves the configuration for the account’s points program. This method always makes an API call to fetch the latest data.
For the best performance, we suggest preloading points settings and then using the Smile.pointsSettings.preloaded() method.

Returns

This method returns a Promise that: If the method is improperly invoked, the Promise will be rejected.