#thomasst-list-chargeable-sources
1 messages · Page 1 of 1 (latest)
Hello! There isn't a way unfortunately today
Thanks, that's unfortunate. Are there any plans to provide an API to list chargeable sources? If not, would you be able to put in a feature request please? Thanks!
No plan to add that API, Sources have been deprecated for multiple years, our new API is the PaymentMethod API. We've ported the majority of existing Source types on it already. Some are still lingering and we're working on them
But when I create an invoice with ACH as a payment method, it says "A new ACH credit transfer payment source was created" in the dashboard, which appears as a source, and then according to these docs (https://stripe.com/docs/invoicing/automatic-reconciliation#testing-payment) I can simulate a payment using the sources API. Since you're saying the sources API is deprecated, I was looking at the Bank Transfer API (https://stripe.com/docs/invoicing/bank-transfer), but first of all I don't see any examples in USD, and it also doesn't let me add the bank transfer option to a USD invoice in my Stripe dashboard. 1) Is the "Bank transfer" method implemented in USD? 2) If not, how would I accept bank transfers without using (deprecated) sources?
Yeah the Bank Transfer API doesn't yet support USD
we're working on it, we just released support in Japan and Europe but US/USD is coming later so for now you have to use that legacy Source approach
Thanks. Also I am confused why those docs say "beta" even though it's a legacy API.
Yeah I don't get why we do that either honestly
Will the bank transfer API work for subscription invoices as well? It right now says "Can only add this payment option to individual invoices." in the panel.
It works for both if you use collection_method: 'send_invoice' for your Subscription
Do you have an example Source id I can look at by the way? src_123
src_0KjlqT4rOYBvHyzshNxZbPHc is one we have on prod that has funds available. We would like to apply these automatically to the customer balance.
Okay so that one sent source.chargeable: https://dashboard.stripe.com/events/evt_0KxqCt4rOYBvHyzsanxbyIKF and if you listen to that event that's how you know funds are in your Source waiting
But if you missed the event you can't easily reconcile. Right now you only have one so it's not too hard
Ah ok, thanks, we could potentially start listening for those events.
An alternative would be to use https://stripe.com/docs/api/customers/list to list all your customers and then you can use https://stripe.com/docs/api/cards/list to list all existing "payment source" (whether Card or BankAccount or Source). That API takes object:'card' | 'bank_account' | 'source'
Yeah, that would be a lot of requests though, one per customer.
Agreed