Square Gift Card with Checkout API


We are trying to implement Square Gift Cards with Checkout API. The idea is to collect Gift card payment from customer and the collect the rest of the payment amount if any using Checkout API.

We create a Payment Link and pass the Order to it, is there any way to pass the how much amount to be collected on the Payment page?

Lets say Order is of $10
Customer wants to pay $5 using Gift card and for the remaining $5 we will create a payment link and collect the rest.

Issue is when we create a payment link, we pass the order, as order is $10, it collects $10 from the user on the payment page. We need a way to pass gift card information in the create payment link so that the customer only pays for (Order total - Gift card amount).

At this time the Checkout API payment links don’t currently support split payments that would allow you accept a gift card and a card payment for an order. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. :slightly_smiling_face:

@Bryan-Square What would you recommend in this situation? We are building an online ordering website and wants to give gift card and online payment options to customers.

At this time if you want to accept gift cards online you’ll need to use the Web Payments SDK. :slightly_smiling_face:


Can’t we use /v2/gift-cards/activities with type REDEEM to charge a gift card?

We were trying to use the above method to redeem a gift card and then collect the remaining payment using Checkout API. Maybe instead of passing the Order, we can just pass quick_pay with the remaining balance.

You could but there wouldn’t be a payment for that gift card redemption that the seller would see in the Dashboard. :slightly_smiling_face: