#arch37ype - Application fees
1 messages ยท Page 1 of 1 (latest)
Hey @graceful stone. One of our Stripe Connect accounts has asked us to provide invoices for the application fees we have collected
How would we go about that?
Unfortunately we don't have built in functionality to produce invoices like that. You can check how much you have charged the user via the API and send them something to show that but you would have to build that invoice as well
Is there a way to return all charges for a specific account within a certain date range?
That way I could expand the application fee object for the charges?
Can you tell me a bit about how you currently charge your customers via Connect? Is this with Subscriptions or directly making PaymentInents?
A mix of both
Our Connect customers offer subscriptions and one-off payments to their own customers
Gotcha. In that case you can list all PaymentIntents and filter via the created parameter. And then you can check the application_fee_amount on each PI that is returned https://stripe.com/docs/api/payment_intents/list https://stripe.com/docs/api/payment_intents/object#payment_intent_object-application_fee_amount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
What info are you looking for when you say you want to expand the application fee?
It's so I can total all the application fees for a given month
So my Connect customer selects a month, and we retrieve all collected fees for that month, total them, and create an invoice
Ah, it's already returned in the PaymentIntent object?
Hi ๐ I'm stepping in for @graceful stone . Since both subscriptions and one-offs generate payment intents you can use the PI object and the application_fee_amount to total up the application fees for a given month
That's great. Looks like that will work out
I assume I cannot filter by PI status?
Since that API endpoint will return PIs that are incomplete
You can try the search API but I have not verified it myself for this use case: https://stripe.com/docs/api/payment_intents/search