#maayan-via_api

1 messages ¡ Page 1 of 1 (latest)

mint urchinBOT
#

👋 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. Thank you for your patience!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.

🔗 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/1214904626621456404

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

solar questBOT
iron bear
#

hi! you can pass legacy card_xxx or src_xxx objects to the payment_method field on a PaymentIntent, it just works.

wicked rapids
#

but if i want to do refund for example to a charge object ?

#

with the new api ?

iron bear
wicked rapids
#

same ap ibut would have to pass the ch param and the pi param?

iron bear
wicked rapids
#

you can point on more thing i would have to change to support the legacy?

wicked rapids
#

is there a limitation for the legacy objects to work with the new api ? that i need to be aware of ? besides what i wrote?

jovial sedge
#

There's many edge cases, but I can't list all of them, it depends on what are you trying to achieve. For your current use case that should be all.

wicked rapids
#

ok thanks !!!

#

another quick question

#

is there a need from your knowledge to move this legacy objects to the new one? is it reccomended?

jovial sedge
#

It's not needed, and may require your customers to perform extra steps.

wicked rapids
#

got it ! thanks !!!

#

very helpful ! thanks for the help

jovial sedge