Can I filter records by metadata?
You can use the List operation for Accounts, Customers, PaymentIntents, Refunds, or Subscriptions and pass a query parameter in the format of ?metadata[membership_level]=gold
to filter the results based on metadata. Note that only exact matches will be returned.