Skip to main content
square.linkCustomerToGiftCard links a customer to a gift card, which is also referred to as adding a card on file.

Example

automations/square-link-customer-to-gift-card.automation.ts

Inputs

Every input accepts a compatible signal. It requires GIFTCARDS_WRITE. Use the official LinkCustomerToGiftCard reference for provider field semantics and limits.

Output

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