#bouyyaaa_api

1 messages · Page 1 of 1 (latest)

outer spokeBOT
#

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

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

cloud currentBOT
gilded girder
#

I'm checking to see if we have any docs for this

#

Ah I don't think it's possible to convert src_ objects into pm_ objects using the API. I was thinking you could call the PaymentMethods API and pass the src_ to card parameter. However, it only works for card tokens.

ripe knoll
#

But it seems that calling a GET payment_methods with a sepa_debit src_ works too

gilded girder
ripe knoll
#

Oh... Okay thanks for the precision. It is not foreseen to delete the compability with src_ tokens right ?

gilded girder
#

Correct. I'm checking with a colleague to see if there's a workaround.

What sort of source objects do you currently have? Cards?

ripe knoll
#

Mostly sepa_debit sources, bank sources at most

gilded girder
ripe knoll
#

yup, i've seen that you're deprecating Stripe sources, but, if we call the Payment Methods, with a src token, it won't be a problem right ?

gilded girder
#

Checking into that..

ripe knoll
#

As it seems that calling a src token with the payment method API returns a Payment method object, but still with the src prefix

gilded girder
#

Hmm, I'm not sure if the shutdown of the sources API would affect the PaymentMethods API as well. I've checked with a colleague and they're not sure either.

At this time, the PaymentMethod API should work fine with src prefix. However, we’re working on tooling & documentation to help you migrate from Sources to PM more easily.

ripe knoll
#

Ok thank you very much !

gilded girder
#

NP! 🙂 Happy to help