#denjaland_api

1 messages ¡ Page 1 of 1 (latest)

timid zephyrBOT
hybrid oxideBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

timid zephyrBOT
#

👋 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/1237123968637468862

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

teal wind
#

Hello,
Currently implementing webhook handling, but I just run into double implementations because account_id is optional on most objects.

#

Is there a way that we can enforce/opt in for stripe to ALWAYS return an account_id, even for objects that don't necessarily belong to a stripe connect account, but just make this more transparent, so for objects directly linked to the platform account, we also just get the same account_id everywhere?

sweet falcon
#

Unfortunately we don't support that at the moment. If you get an event without an accuont ID, then that object will always be for the platform account that owns the webhook endpoint. If you are pointing multiple platform account endpoints at the same URL, it may make sense to start pointing them to slightly different URLs to differentiate that more easily

teal wind
#

or is there a way that I can "fetch" events from stripe without having to scope what account I'm doing it for? Now it seems that we need to know both event id AND account id to be able to retrieve it

sweet falcon
#

Not as far as I am aware but I will double check

teal wind
#

probably not indeed - to be honest, I think DX would be greatly improved, if the account_id was ALWAYS filled :-). I'll send in a feature request

#

thanks and have a great day