#pripri_api
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/1306438027501113448
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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!
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi there, this is expected because the payment method wasn't attached to any customer yet.
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
Can you share with me the customer ID?
yes!
cus_R2ph2NcILXq8vR
https://docs.stripe.com/api/customer_bank_accounts/delete you can use this API to delete the bank account
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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!
https://docs.stripe.com/api/customer_bank_accounts/list you can call this API to retrieve all bank accounts and check its status
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.