Provides metadata when the event type
is EXPIRE_POINTS
.
LoyaltyEventExpirePoints
Name | Type | Tags | Description | Getter | Setter |
---|---|---|---|---|---|
loyaltyProgramId |
string |
Required | The Square-assigned ID of the loyalty program. Constraints: Minimum Length: 1 , Maximum Length: 36 |
getLoyaltyProgramId(): string | setLoyaltyProgramId(string loyaltyProgramId): void |
points |
int |
Required | The number of points expired. | getPoints(): int | setPoints(int points): void |
{
"loyalty_program_id": "loyalty_program_id8",
"points": 84
}