title: Stripe : appication deduction from a different account while the destination account stays the same
body: <p>This query is related to a custom form of Payment on my Fundraising  Application</p>
  <p>We want the Application fee to be deducted from our account(Application stripe account), so that the customer receives a payout without any deduction.</p>
  <p>The overall fee per payout would be dealt with separately between Raise the money and the customer towards the end of the month.</p>
  <p>For instance,</p>
  <p>If the customer gets a donation of 100$, with an application fee of 4$. This fee of 4$ should be deducted from Raise the Money's account and the customer should be able to receive 100$.</p>
  <p>Please guide us on this and let us know the API required to make it feasible.</p>
  <p>Currently, we are using the Stripe Charge:</p>
  <pre><code>Stripe::Charge.create({
            
  amount: amount_cents,
  currency: candidate.candidate_country[candidate.country.to_s.to_sym][:currency],
  source: stripe_token,
  application_fee_amount: ((amount_cents * ((candidate.merchant_rate.to_f * 100) + 2.9) / 100) + 25).to_i,
  statement_descriptor_suffix: &quot;#{get_statement_descriptor.to_s.upcase}&quot;,
  on_behalf_of: candidate.stripe_gateway_id,
  transfer_data: {
  destination: candidate.stripe_gateway_id,
  },
  }, stripe_version: '2019-12-03',)
  </code></pre>
  <p>The amount gets sent to the Customers account which is specified under destination params under transfer_data. In the current scenario, the application_fee_amount gets deduced from the same destination account.
  What we are trying to achieve is appication_fee_amount deduction from a different account while the destination account stays the same.
  Thanks in advance for your suggestion</p>