#matt_paymentintent-nextaction

1 messages ยท Page 1 of 1 (latest)

orchid beaconBOT
#

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

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

eager star
#

sorry, i put in the PM id instead of a request id above: req_awahk3rXSkmQjG

rare gull
#

Hello! To clarify, you want to start with a Customer ID and find out if their associated Payment Method is verified or not?

eager star
#

i would like to be able to get that info starting from the PaymentMethodId

#

(ideally)

rare gull
#

Usually we recommend looking at the Payment Intent or Setup Intent being used to set up the Payment Method for future use and check it status.

eager star
#

i would have thought it would be in the us_bank_account section of the returned PM info

#

ah, ok

rare gull
#

Is there a reason you want to start with the Payment Method ID and not the Payment Intent ID?

eager star
#

i have the paymetn intent ID

#

just at the level that i'm at in my code it's usually dealing with PMs at that point.

#

ok; pulling up a PaymentIntent object in the inspector so i can ask you about the "right" way to check.

#

pi_3QG6OOE041Hl1BIu1aq3uCkL

#

sorry Rubeus; i should have led off by thanking you for your time. i appreciate the help!

rare gull
#

Yeah, so you can see the status on that Payment Intent, and also the details in next_action, specifically type.

#

Always happy to help!

eager star
#

ok that's great. and that'll be independent of which country it's originating from.. so i don't have to worry about us_bank_account versus something else?

rare gull
#

The status will be the same, but the next_action details might be different depending on the payment details. Not all accounts support microdeposits, for example.

eager star
#

ah, ok. is there documentation of what those next next_action options could be based on the type of bank debit being set up?

rare gull
eager star
#

perfect.

#

ok, i think that's all i need!!!

#

thank you again, Rubeus... i really appreciate you!

rare gull
#

No problem! ๐Ÿ™‚

orchid beaconBOT