#.searchableguy

1 messages · Page 1 of 1 (latest)

red rainBOT
untold glacier
#

hey there, I don't fully understand your question here. What are you trying to do, more generally?

#

You can optionally set application fees on either destination or direct charges

rotund dust
#

so application_fee_amount is not supported in some countries

#

so I want to check and only add application_fee_amount when creating intent if it is supported on the connect account

#
{
    "code": "charge_invalid_parameter",
    "doc_url": "https://stripe.com/docs/error-codes/charge-invalid-parameter",
    "message": "Stripe doesn't currently support application fees for platforms in US with connected accounts in BR.",
}
untold glacier
#

Gotcha, as far as I know there's no way to check that ahead of time, so you either need to compary the account country to ones you know you can set this or handle this error explicitly by retrying without the fee

rotund dust
#

so I assumed I can check if you can transfer from connect account to see if application_fee_amount option would work

untold glacier
# rotund dust so I assumed I can check if you can transfer from connect account to see if appl...

I don't think that's necessarily directly related, but I'd suggest reaching out to support to have them help you with the list of countries where your US platform cannot charge application fees
https://support.stripe.com/contact

rotund dust
#

ok

#

thanks