square.calculateLoyaltyPoints calculates the number of points a buyer can earn from a purchase.
Example
automations/square-calculate-loyalty-points.automation.ts
Inputs
Every input accepts a compatible signal. It requiresLOYALTY_READ.
Use the official CalculateLoyaltyPoints reference for provider field semantics and limits.
Output
Returns the officialSquare.CalculateLoyaltyPointsResponse response as a codec-safe object. Square integer money amounts remain bigint values.