#alexesprit - bank token
1 messages · Page 1 of 1 (latest)
Hi @plucky arch sincere apologies for the delay. I'm not certain off the top of my head whether that works and would need to test. Are you asking because you tried to do this and encountered an error?
Yes I tried to use bank account ID and bank token ID in Setup Intents API, and I get an error - Stripe says I should attach it to a customer.
Could you share the ID of the request that returned that error?
Sure!
req_r7SoHjxAxhRqJq - this one is where I tried to create a Payment Intent with btok_xxx
req_EoCRSuU1REyZrT - this one is where I tried to create a Payment Intent with ba_xxx extracted from the token
Thank you, taking a look.
Are you by chance trying to adapt the approach from this guide to be used with Payment/Setup Intents?
https://stripe.com/docs/ach-deprecated
Yes, kinda. We already moved to Payment Intents API and use it for bank accounts attached to Stripe customers, and now I'm trying to figure out if we can do the same with the one-off tokens.
that one-off bank token is from Plaid, btw
Gotcha, no, you won't be able to use the tokens directly with intents. I would also recommend that you take a look at our newer ACH flow which is built to work with Intents, whereas our previous iteration (which is considered legacy at this point) was built to work with Charges.
https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=API
I believe you can omit the parts that attach the Payment Method to a Customer if you don't intend to use it more than once.
oh, that's sad. Thank you for the answer.
About Charges API - how long it will be available to use?
The user of Charges is still out and available, and I haven't heard of any plans to deprecate it.
Ok, got it. Thank you for the help!
Any time!