#k3davis_api
1 messages ยท Page 1 of 1 (latest)
๐ 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/1288582008196562985
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ Hi there
hello ๐
looking into this, will follow up shortly
no problem, thank you
So for this report type, it looks like metadata is only supported for PaymentIntents, Refunds, and Transfers. Is there a specific object whose metadata you're interested in?
i believe it's the charge object, i want to include specifically the gl_lookup_code as seen on pi_3Q30x0FnSqw89al61bCEv5LS
perhaps i need to use a different report type?
this is the one they run manually through the UI, and they can select metadata fields that way
It looks like you're setting metadata on the PaymentIntent at creation, and then that metadata is copied over to the Charge when the Charge is created, so you should be able to use the payment_metadata[key] column. Here are the docs where its detailed: https://docs.stripe.com/reports/report-types/payout-reconciliation#schema-payout-reconciliation-itemized-5
thanks, i will give that a try!