How to get metafields from customer with same namespace and different key

Topic summary

Core issue: obtaining customer metafields in a Checkout UI extension when multiple JSON metafields share the same namespace (gpsLocation) but have different, dynamic keys tied to addresses.

Current behavior per docs: developers must specify each metafield individually in the extension, which is impractical because new addresses add new keys, requiring code updates for every addition.

User seeks: a way to query all metafields by namespace or iterate keys without hardcoding each one, to retrieve all gpsLocation entries for a customer.

Examples: keys such as 838291919 and 878282828 under namespace gpsLocation; values are JSON.

Evidence: an attached screenshot shows multiple customer metafields under a single namespace; a Shopify docs link on displaying custom data in Checkout UI extensions is provided.

Status: no replies or solutions yet; the question remains open. Key unanswered point: whether Checkout UI extensions support fetching customer metafields by namespace (wildcard) or listing keys programmatically.

Terms: metafield = Shopify custom data identified by namespace and key; Checkout UI extension = React-based components shown during checkout.

Summarized with AI on December 30. AI used: gpt-5.

Hello,
I would like you to help me on how I can obtain the metadata of a client in a component created using checkout ui extension. The metafields that I want to obtain have the same namespace but a different key and are of type json, e.g.
namespace:gpsLocation
key: 838291919

nampe:gpsLocation
key: 878282828

In the documentation it tells me to place each metafield individually, and that is a problem since if I create a new address a new metafiled will be added and I would have to re-edit my created component to add the new metafield.
These are my metafields.

https://shopify.dev/docs/apps/checkout/display-custom-data?extension=react

Any help would be very useful, thanks in advance