--- title: Conditionally disable gift cards in checkout using custom logic with the Payment Customization API - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/conditionally-disable-gift-cards-in-checkout-using-custom-logic-with-the-payment-customization-api md: https://shopify.dev/changelog/conditionally-disable-gift-cards-in-checkout-using-custom-logic-with-the-payment-customization-api.md --- [Back to Developer changelog](https://shopify.dev/changelog) November 12, 2024 Tags: * Action Required * API * 2025-01 # Conditionally disable gift cards in checkout using custom logic with the Payment Customization API As of Nov 12, 2024, you can use the HideOperation in the Payment Customization Function API to disable native gift card functionality and Shopify-integrated third-party gift card systems. Disabling gift cards hides the gift card field, removes any applied gift cards, and prevents any gift cards from being applied by UI extensions. The ability to disable the gift card field is available in the unstable API version and will be released to the stable 2025-01 API version. Learn more about [payment customizations](https://shopify.dev/docs/apps/build/checkout/payments).