square.retrieveLoyaltyProgram retrieves the loyalty program in a seller’s account, specified by the program ID or the keyword main.
Example
automations/square-retrieve-loyalty-program.automation.ts
Inputs
Every input accepts a compatible signal. It requiresLOYALTY_READ.
Use the official RetrieveLoyaltyProgram reference for provider field semantics and limits.
Output
Returns the officialSquare.GetLoyaltyProgramResponse response as a codec-safe object. Square integer money amounts remain bigint values.