#dimi-sep-charges-transfers
1 messages · Page 1 of 1 (latest)
We have a donation platform.
we use normal payment intents for users to collect the donaitons
at a future date, we want to transfer the total amount minus stripe fees to a single Stripe Connect Custom account we've onboarded (which is the fundraising user)
what do you use to determine what's the net amount to transfer from the charges?
not sure I understand, your code basically just determines. You don't just take out Stripe fee, I assume you want to take a margin as a PLatform too
and Separate Charges and Transfers is typically when you're taking a payment to send transfers to multiple connected accounts
so basically it's the platform's responsibility to calculate and subtract the fees?
at what point do they get deducted from the platform's Stripe balance?
No margin for the platform. Only tips from users, optonally.
so basically it's the platform's responsibility to calculate and subtract the fees?
yes
at what point do they get deducted from the platform's Stripe balance?
when say a $10 charge succeeds, your Platform gets ($10-stripe_fee) into its balance
oh ok
would that be available for example in amount_received on the webhook update?
every Charge has a BalanceTransaction (BT) object associated with it
the net field on the BT object tells you how much you netted into your Balance, and fee is Stripe's fee: https://stripe.com/docs/api/balance_transactions/object