#biruk
1 messages · Page 1 of 1 (latest)
What is it you mean by 'application fee ID'?
'fee_1METYbBDV2Y6NxIOdmdjMqMg'
I made a payment using a payment intent on Connect. Now, i want to get the application fee ID for accounting purposes
You'd get that via the associated Balance Transaction object: https://stripe.com/docs/api/balance_transactions/object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But, that is associated with a Charge not a Payment Intent
Correct, the Charge is the actual payment that is processed. You can get that from the Payment Intent object too
I tried that but the Balance Transaction object is for the stripe processing fee not the application fee
How many Charge objects are associated with a single Payment Intent when having application fees?
Because, Balance Transactions are created whenever there is a transaction between account. And that would make up 3 Balance Transactions when using Connect with application fees. The main payment, the stripe fee and the application fee right?
There would only ever be a single successful Charge per Payment Intent
Let me think about this
Hey, turns out there's a field for this on the Charge object: https://stripe.com/docs/api/charges/object#charge_object-application_fee
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You can get that directly from the Payment Intent object