#malle_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/1268191539469750323
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Destination charge. The connected account creates the invoice themself and it hits their pending stripe balance
The connected account creates the invoice themself and it hits their pending stripe balance
That's not what a destination charge is
If the connect account is creating invoices themself, then there's not a way for the platform to collect a fee
You, the platform, needs to control invoice creation to claim a fee
Ok i understand. I can see this param on the invoice object. Is there a equivalent parameter to set a percentage or do I just have to manually calculate a percentage
We offer banking services. So our connected accounts also have capability to treasury features, card issuing etc. It's custom
Wait that doesn't sound like custom
That sounds like standard if they have all those features on their own
Are you sure you're using custom?
this is how we create the account on register
Ok
You should do destination charges then
So when specifying transfer_data on the invoice, only specify the amount that you want transfered to the connect account: https://docs.stripe.com/api/invoices/create#create_invoice-transfer_data-amount
You can keep the remainder as your fee
What's the difference between using application_fee_amount and transfer_data.amount
application fee is for direct charges
Actually technically you can use application fee with destination charges too: https://docs.stripe.com/connect/destination-charges?platform=web&ui=stripe-hosted&lang=python#collect-fees
That outlines the difference
Usually folks just transfer what they want to the connect account and keep the rest