#thomasst-list-chargeable-sources

1 messages · Page 1 of 1 (latest)

lethal brook
#

Hello 👋
I'm not sure if there's a specific API for this, hold on checking..

languid silo
#

Hello! There isn't a way unfortunately today

untold dove
#

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!

languid silo
#

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

untold dove
#

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?

languid silo
#

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

untold dove
#

Thanks. Also I am confused why those docs say "beta" even though it's a legacy API.

languid silo
#

Yeah I don't get why we do that either honestly

untold dove
#

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.

languid silo
#

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

untold dove
#

src_0KjlqT4rOYBvHyzshNxZbPHc is one we have on prod that has funds available. We would like to apply these automatically to the customer balance.

languid silo
#

But if you missed the event you can't easily reconcile. Right now you only have one so it's not too hard

untold dove
#

Ah ok, thanks, we could potentially start listening for those events.

languid silo
untold dove
#

Yeah, that would be a lot of requests though, one per customer.

languid silo
#

Agreed