Gift Card Payments
This is pre-release documentation for an API in public beta and is subject to change.
Show the Square gift card payment entry form to accept a Square gift card payment. The Square gift card payment entry form accepts a gift card number and returns a payment token in the same way the payment card entry form does.
The payment token is returned for a valid gift card regardless of the balance on the card. When you submit the payment token to your payment backend, the lesser of the purchase price or gift card balance is charged on the gift card. When a gift card does not have enough of a balance to cover a purchase, your application should prompt the buyer to provide an additional payment method. To learn how to process a gift card payment token, see Create a Gift Card Payments Endpoint.
CardEntry.startGiftCardEntryActivity method, set parameters for the parent activity and identifier activity result with the buyer completion of the gift card entry.
If you have already implemented the payment entry form, reference the callback methods that you created for that form.