#matt_paymentintent-nextaction
1 messages ยท Page 1 of 1 (latest)
๐ 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.
sorry, i put in the PM id instead of a request id above: req_awahk3rXSkmQjG
Hello! To clarify, you want to start with a Customer ID and find out if their associated Payment Method is verified or not?
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.
i would have thought it would be in the us_bank_account section of the returned PM info
ah, ok
Is there a reason you want to start with the Payment Method ID and not the Payment Intent ID?
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!
Yeah, so you can see the status on that Payment Intent, and also the details in next_action, specifically type.
Always happy to help!
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?
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.
ah, ok. is there documentation of what those next next_action options could be based on the type of bank debit being set up?
It's based on the type of account/payment method being used. See here for details: https://docs.stripe.com/api/payment_intents/object#payment_intent_object-next_action
perfect.
ok, i think that's all i need!!!
thank you again, Rubeus... i really appreciate you!
No problem! ๐