#Lord Fontans-source-application-fee
1 messages · Page 1 of 1 (latest)
Hello, yes that should be possible. Not on the source itself but on the Charge that you create later
What does your current payment flow look like?
in the moment I am just studing de flow to implement in a customer, i was testing payments with credit cards, when is make a sell I split de amount with destination charges using de payment intent, but my customer want payments with multibanco(source api)
with credit card I create this way
$paymentIntent = \Stripe\PaymentIntent::create([
'amount' => 10000,
'currency' => 'eur',
'application_fee_amount' => 2000,
'transfer_data' => [
'destination' => 'destiny_count',
],
]);
Ah I see, that makes sense, sometimes I forget the payment methods that still need Sources. So yes when you create the Charge object to charge the source, you can set the application_fee_amount https://stripe.com/docs/api/charges/object#charge_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.