How can I view the full 15 digit gift card code in Shopify?

Topic summary

Users are seeking ways to access the complete 15-digit gift card codes in Shopify, as the platform typically displays only the last 4 digits in both the admin interface and API responses.

Proposed Solutions:

  • Export gift card data via CSV (Products → Gift Cards → Export → Gift Card Codes)
  • However, multiple users confirm this method still only shows the last 4 digits in a “Last Characters” column, not the full code

Working Workaround:
One user successfully resolved the issue by:

  1. Temporarily changing the customer’s email address to their own
  2. Having Shopify re-send the gift card email (which contains the full code)
  3. Restoring the original customer email afterward

Alternatively, customers can forward their original gift card email if they still have access to it.

Status: The discussion remains partially unresolved, as there’s no direct method to view full codes in the admin panel. The workaround requires email manipulation or customer cooperation.

Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

How can I see the full 15 digit unique gift card code in shopify. I can only the 4 digit code in issue gift card section and also from API. Please help.

1 Like

Hello @surajit1 ,

You can see all 15 digit unique gift card code by exporting CSV file:

  • Go to Shopify admin → products
  • Choose gift cards → export → select Gift card codes
  • Open the downloaded CSV file and you should see a column called “Code”. This column should contain the full 15-digit unique gift card codes.

Hope this can help you out. Let us know if you need any further support.

OneCommerce team.

1 Like

Hi @surajit1 we’re facing the same issue. I would like to get a list of 50 gift card codes I created. To share with a 3rd party that is selling them for our store. When exporting through CSV we only get a column called: Last Characters. The column shows just 4 and not the full code we need.

Please advise. Thanks, Team Lexx

How can your app give access to the entire gift card code ?
Is it possible to extract a csv file with all code long???

Hey One Commerce,

This didn’t work. It only shows the last 4 digits. Please let me know how we can see the full code. My customer’s email got hacked and we need to retrieve the balance since they cannot access their old email anymore. Thank you!

I found a workaround.

  1. Change the customer’s email temporarily and have it emailed to the ‘customer’ which you would change it to your own email. Then you will have the code. Then remove your email and put the customer’s email back.
  2. The other option is to just ask your customer to forward you code from their email
1 Like

Solved! Just wanted to share with you that you made my customer’s day :slightly_smiling_face: Thank you so much for taking the time to respond to this it seriously means so much!!

1 Like

HI, actually that column only shows last 4 numbers, not the whole code