Skip to main content
square.onGiftCardCreated subscribes to gift_card.created for the selected seller. It requires GIFTCARDS_READ.

Example

automations/square-on-gift-card-created.automation.ts

Event

A digital gift card was created or a physical gift card was registered. The signal resolves to the official Square.GiftCardCreatedEvent payload with type narrowed to gift_card.created.