#Miran-block-connect
1 messages · Page 1 of 1 (latest)
Hi there 👋 while I start investigating this, could you elaborate on your situation a bit more?
We have some companies connected to our application but when we try to send them their payouts through stripe transfer, we get transfer_not_allowed error.
We can't transfer to the accounts those are in these list.
So we want them not to use the cards which are in these country list.
Thanks for the info! Just trying to make sure I'm following, so you'd like to not allow accounts to be connected that reside in a country where you can't make transfers to?
Yes.
I would also like to send them warning if we can't transfer to them.
may be cancel their subscription
and stripe dicconnect
after several retries.
So the last step of the OAuth connection process, is for your platform to grant the account access. If you can't make transfers to the account, then it would probably be easier to just refuse the connection from the start by not completing this step.
Is there no option to handle these by stripe?
Because if we store the list of countries that are unable to receive transfers then I'll have to make changes when something changes.
btw, how do i get the connect account country?
by retrieving account from stripe?
We have an endpoint that allows you to retrieve a list of specs for a country, including what other countries can receive transfers:
https://stripe.com/docs/api/country_specs/retrieve
I'll need to double check how to check the account's country, please bear with me.
Okay
Could you please clarify what type of connected accounts you're using?