#pripri_api

1 messages ¡ Page 1 of 1 (latest)

blazing spruceBOT
#

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

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

sturdy silo
#

Hi! Our team is working on a webapp that allows customers to save their payment methods and use that payment method to make payments. Some users opted to use the verify bank account manually method, leaving some payment methods to be "pending" prior to verifying. We want to allow users to remove payment methods that are still "pending" as some users put in incorrect bank information and would like to remove it.

The team has tried the https://docs.stripe.com/api/payment_methods/detach API but received an error message.

Would you be able to guide us on how to remove the pending bank account payment method from a customer? Thank you!

tiny halo
#

Hi there, this is expected because the payment method wasn't attached to any customer yet.

sturdy silo
#

Got it! Is there a way to remove it from the customer? Because I see it in the customer as still "pending verification".

#

This is a screenshot i see on the dashboard

tiny halo
#

Can you share with me the customer ID?

sturdy silo
#

yes!
cus_R2ph2NcILXq8vR

tiny halo
sturdy silo
#

I had a question about this function. Looking at the pending verification payment method I sent you, I see the ID pm_1QHaxAHB1HUuaZPvw6MLUm2F, which starts with "pm"

#

But for the delete bank account api i see that it requires an ID that is a "bank account" payment method, which starts with "ba"

#

The issue the developers are saying is that the Delete a bank account method cannot be used on an ID that starts with "pm_". can you verify that's correct? and if so, is tehre another way for us to delete it? thanks!

tiny halo