#ashen_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/1311688690908659744
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! well you can't really, you need to know the account ID. There's no way around that.
what's the circumstance where you have the PaymentIntent ID but don't know the account ID?
@tame ridge are you there?
Hi! Sorry. I'm not quite sure why we don't have it (I've barely onboarded in this company), but it looks like the stripe_account_id we keep in our DB for this payment intent is different than what is in Stripe (no idea why, perhaps we made another account at some point). Is there a way to get the account id for a payment via a series of some api calls, perhaps?
It looks like the search bar in the Stripe dashboard can find the payment intent and its customer account just by the payment intent ID
not really, if literally all you have access to is the pi_xxx ID string there isn't really a way to know(technically I and our support team can tell you, for a one-off or if you need to do a one-time migration and have fixed whatever issue caused the bad data)
It looks like the search bar in the Stripe dashboard can find the payment intent and its customer account just by the payment intent ID
yep but that only works if you're already in the account that owns that ID, I think
Alright. Please keep this ticket open, I'll check how many payment intents we'd need acct id's for, and then we'll see if it's possible for the support team to do that. The number's very varable (between a few to a few thousand), so I've got to check first.
it'd be best to write to https://support.stripe.com/?contact=true and open a ticket when you have a clear list and question like "I've fixed an issue going forward, but to migrate my database I need to know the IDs associated with this list of objects", and then I'm sure someone can action that. Can't keep this thread open , in 30 minutes we're closing the channel, sorry!
in case it helps, that example you posted is accociated with the account acct_1NzOSzH1buaeOUSC .
in case it helps, that example you posted is accociated with the account acct_1NzOSzH1buaeOUSC .
Yep, I can search for the payment intent in the dashboard, and there I can see the account id too, but I cannot do it from the code alone.
Anyway, thanks! We'll probably contact the support then, we can close this ticket.