#mike-j_api

1 messages ¡ Page 1 of 1 (latest)

vestal prismBOT
#

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

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

olive oracle
#

It's because you're passing on_behalf_of so we look for PMCs on that connected account (acct_1RlWa3R7hhUUIyWS)

real maple
#

Aaah. That's going to complicate things. We have 100's of connected accounts, but I thought we could have a single collection of payment configurations and only override them in occasional scenarios...

#

Is there some way to achieve that?

olive oracle
#

You'd essentially have to create/manage the PMC objects on each connected account and use those IDs accordingly

real maple
#

Doing that manually is going to be painful. I guess I'd have to programatically have the "default" configs created against the new connected accounts during connection?

olive oracle
#

Well there's always default configs on accounts that we fallback to if the p_m_c param is omitted. But if you want your own platform managed 'default', then yes you'd need to create those via API and persist the pmc_xxx ID internally against that 'account' somewhere

real maple
#

Can I manage what those initial defaults are?

#

We basically have two scenarios, one that allows Klarna and one that doesn't, in 99% of situations, so being able to set the defaults at connection would be fine.