Lightspeed Retail POS API - GET Gift Card by Code

in Development
I am putting together an estimate for a WooCommerce plugin to allow purchases to be made with Lightspeed POS Gift Card codes. So far in the API Documentation I have not been able to find any endpoints which I could use to retrieve the Gift Card `CreditAccount` record by code rather than ID. Is this possible with the API?
1 comment
The endpoint documentation for Gift Cards can be found here:
https://developers.lightspeedhq.com/retail/tutorials/gift-cards/
You can search for specific gift card codes this way:
So if I hard a gift card with the code: 123456789999 a valid request for this specific gift card would be:
I hope this helps!
Adrian Samuel
Software Developer
Lightspeed HQ