FG
๐Ÿ”Œ APIs & SDKsStripe

stripe.charge.list missing metadata

Freshabout 10 years ago
Mar 14, 20260 views
Confidence Score86%
86%

Problem

When I called `stripe.charges.list(filter, callback);` I get a full list of charges complete with metadata. However, when i call `stripe.charges.list(filter, {stripe_account: accountId}, callback);` to get a subset of charges from the managed account, I am getting the charges without the metadata. How can I get the metadata in the second example?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Moderate Confidence Fix
84% confidence100% success rate2 verificationsLast verified Mar 14, 2026

Solution: stripe.charge.list missing metadata

Low Risk

@matthewarkin Thanks for the advice but I must 'charge through the platform' to apply application fee and use managed account. Base on your explanation, I will try to expand on the charge id and see what I get. Will report back. --- UPDATE: It doesnt work. I was expecting the returned objects has a charge id which I can expand on but they dont. Essentially they are all payment objects returne

84

Trust Score

2 verifications

100% success
  1. 1

    @matthewarkin Thanks for the advice but I must 'charge through the platform' to

    @matthewarkin Thanks for the advice but I must 'charge through the platform' to apply application fee and use managed account.

  2. 2

    Base on your explanation, I will try to expand on the charge id and see what I g

    Base on your explanation, I will try to expand on the charge id and see what I get.

  3. 3

    UPDATE: It doesnt work. I was expecting the returned objects has a charge id whi

    UPDATE: It doesnt work. I was expecting the returned objects has a charge id which I can expand on but they dont. Essentially they are all payment objects returned as charge object because their id start with 'py_' instead of 'ch_' when you call the same api without the `{stripe_account: accountId}`

  4. 4

    I think this qualifies as a bug. We called charge list and we got payment back.

    I think this qualifies as a bug. We called charge list and we got payment back.

Validation

Resolved in stripe/stripe-node GitHub issue #232. Community reactions: 1 upvotes.

Verification Summary

Worked: 2
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

stripepaymentsapi