#collin54111 - connect invoice & fees

1 messages · Page 1 of 1 (latest)

acoustic sandal
#

hey there!

#

You'd calculate that amount yourself using the desired percentage

still stirrup
#

Can I do that within the stripe platform, or would I have to build a separate platform

acoustic sandal
#

What do you mean? That's part of the API request to create the invoice

still stirrup
#

Oh I see, I misunderstood. Sorry, I'm relatively new to software development
So I could create a variable, say "x" and say x=.2 *amount paid then assign the value of "application_fee_amount": x
?

acoustic sandal
#

You'd do that in your code, yes, then send the amount you calculate as the application_fee_amount

still stirrup
#

How can I set that to go anytime a connected account sends an invoice?

acoustic sandal
#

Ah, you can't do that, this is for when you create the invoice as the platform

still stirrup
#

Ah shoot