# Using both GiftCard Payment and Credit Card Payment in Web Payments SDK for Split transaction

**URL:** <https://developer.squareup.com/forums/t/using-both-giftcard-payment-and-credit-card-payment-in-web-payments-sdk-for-split-transaction/4335>\
**Category:** Questions\
**Created:** [November 25, 2021, 6:20am UTC](https://developer.squareup.com/forums/t/using-both-giftcard-payment-and-credit-card-payment-in-web-payments-sdk-for-split-transaction/4335 "2021-11-25T06:20:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kandha](https://avatars.discourse-cdn.com/v4/letter/k/46a35a/32.png) [@Kandha](https://developer.squareup.com/forums/u/Kandha)\
**Post date:** [November 25, 2021, 6:20am UTC](https://developer.squareup.com/forums/t/using-both-giftcard-payment-and-credit-card-payment-in-web-payments-sdk-for-split-transaction/4335/1 "2021-11-25T06:20:41Z")

</div>

Hello, I am trying to use square web payment sdk to take the payment using a gift card and if there is still any outstanding, need to use credit card sdk. I do not get the outstanding amount after using the gift card sdk. As an example my order value is $120, I have a gift card for $50. I used the gift card sdk to make a partial payment of $50 and I do not get the outstanding amount to charge to credit card. I am not able to get the gift card number to retrieve the balance and determine the outstanding amount. Is there a way to cover this split transaction using the Giftcard and Credit card sdks by square?
