#meeq_api

1 messages ยท Page 1 of 1 (latest)

raw mortarBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1393265461172506776

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

dull orchid
gloomy flame
#

Hi! I don't really want to visually diff ~130 lines of JSON. Can you tellme more about what exactly is missing, and from where vs where?

#

(My bad, there's ~130 lines to expand, so I guess it's more like 230 or 330 lines)

dull orchid
#

The big ones that I'm missing are charge, subscription, and payment_intent at the root of the object, and plan and price on the line item

#

There are others, but those are the ones that are tripping me up

#

Thank you for jumping in to help.

gloomy flame
#

When you say "the Inspector", what do you mean?

dull orchid
#

The Stripe Developer Workbench Inspector

gloomy flame
#

Awesome. So the Inspector apparently shows things that aren't in the API result.

dull orchid
#

Yes, the API response only contains a subset of the fields that I see in the Inspector (and what the documentation says I should be seeing)

gloomy flame
#

Yep, that's apparently how it works. I don't know why it works that way, but it does.

Give me a sec to figure out how to get what you need using expand.

dull orchid
#

Oh. Thanks for confirming. That is unintuitive; looking at what I get from the API response for an invoice, I don't see any value that I can key off of to find the associated payment/charge.
I can at least see the associated subscription from the parent.subscription_details.subscription

gloomy flame
#

...but you'll need to expand things to get there.

dull orchid
#

Thanks for the insight. Let me give that a try.

gloomy flame
#

You're welcome! ๐Ÿ™‚

dull orchid
#

Okay, that worked; thank you for the sanity check. I've been bashing my head against this problem for longer than I would like to admit ๐Ÿ˜…

gloomy flame
#

You're very welcome, and I'm sorry - I can definitely imagine how frustrating that was for you.

dull orchid
#

A bit of feedback: as a developer, I expect the "API Explorer" tool to act like the API. I built a pile of assumptions off of that which ended up turning into a wild goose chase.