Gift cart api

i want to fetch gift cart data and show balance on storefront when user Enter the code,

  • i’m using remix app with theme app extension and app proxy because i have to pass code from theme app extension to remix api and i created api call file in my remix like this app/aroute/api.getGiftcardData.js

and this below is my graphql api

const { admin } = await authenticate.public.appProxy(request); // this is how i’m authenticate proxy

and im getting error like this

Gift card lookup failed: GraphqlQueryError: This app is not approved to access the GiftCard object. See Work with protected customer data for more details.

Have you provide read_gift_cards access scope in your app settigns?

yes i provide all required scope including read_gift_card