Skip to main content
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 requires LOYALTY_READ. Use the official RetrieveLoyaltyProgram reference for provider field semantics and limits.

Output

Returns the official Square.GetLoyaltyProgramResponse response as a codec-safe object. Square integer money amounts remain bigint values.