#taiki_api

1 messages ยท Page 1 of 1 (latest)

mortal patrolBOT
#

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

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

uncut badge
#

hey there ๐Ÿ‘‹ taking a look now

#

sorry for the delay so far @topaz hornet

would you mind sharing the code of your API request where the card_payments capability is requested?

topaz hornet
#

hi

#
    type: 'express',
    country: country,
    email: user.email || undefined,
    capabilities: {
        card_payments: { requested: true },
        transfers: { requested: true },
    },
})```
#

This is the current code

uncut badge
#

thanks. just checking a few things

topaz hornet
#

Thanks!

mortal patrolBOT
grand turtle
#

hi! I'm taking over this thread.

#

the request you shared show that you are not passing card_payments: { requested: true }.
could you try to update your code to add metadata: {foo: "bar"}, and then share the new request ID? it's to double check that you are editing the correct code.

topaz hornet
#

hi! ok, please wait for a moment.

#

I added metadata: {foo: "bar"} and redeployed. Here is the new request ID: req_jTJiZMkaLb919R

The error still occurs. Note that the error happens before the request reaches Stripe successfully. It seems like card_payments is being stripped somewhere, even though it is explicitly in the code.

grand turtle