#mrfede_api

1 messages ยท Page 1 of 1 (latest)

harsh muskBOT
#

๐Ÿ‘‹ 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/1263144417141723226

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

high egret
#

The only difference that I see is the settings is that the account that works in a US account, and the one that fails is a Canadian account... could that be the problem?

tiny haven
#

That API call uses version 2020-08-27 which doesn't do automatic payment methods by default and defaults to only allowing cards unless you pass your own payment_method_types array or pass automatic_payment_methods: { enabled: true }. My guess is that your US account has a later default API version that does use automatic PMs by default so link was included through that.

#

All that to say, if you enable automatic payment methods for this API call or pass payment_method_types: ['link'] that call should work

high egret
#

oooh ok... let me try that

#

I upgraded the API version from the dashboard and it worked ๐Ÿ˜„

#

Thanks so much!

tiny haven
#

Nice!