#memekyTeam

1 messages · Page 1 of 1 (latest)

late nacelleBOT
normal grove
#

Hello 👋
Are these "providers" your connected accounts in this example?

meager mica
#

yes custom connected acoount i do from my webside :

#

try{
$CONacount = $stripe->accounts->create(
[
'country' => $pais,
'type' => 'custom',
"email" => $email,
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],

"company"=> [
"name"=> 'Illuminate',

],
"business_type" => "individual",
'business_profile' => [
"mcc" => "5734",
"product_description" => "Es una red social de memes donde los usuarios suben sus memes en diferentes categorías y otros los votan; además se realiza una competición mensual dependiendo de la suscripción, pueden acceder a un contenido y además jugar dinero para ver cuál de sus memes recibe más votos al iniciar la web automáticamente hay un tutorial que lo explica de forma detallada.",
"support_email" => 'gestion@memeky.com',
"support_phone"=> "+34689534962",
"url" => "www.memeky.com"
],

"individual"=> [
"email"=> $email,
"first_name" => $nombre,
"last_name" => $apellidos,
"address"=>[
"city" => $ciudad,
"country" => $pais,
"line1" => $direccion,
"postal_code"=> $zipCode,
"state"=> $provincia
],
"phone"=> $telefono,
"dob" => [
"day"=> $day,
"month"=> $month,
"year"=> $year
],

"id_number"=> $dni

],

"external_account" => [
"country" => $paisCuenta,
"currency" => $currency,
"account_number" => $iban ,
"object" => "bank_account"
],

'tos_acceptance' => [
"date"=> $t,
"ip"=> $f,
"user_agent"=> $s
],

]
);

#

and try :

#

$transfer = \Stripe\Transfer::create([
"amount" => $pastaFinal,
"currency" => $currency,
"destination" => $extra,
]);

#

$extra = $CONacount -> id;

normal grove
#

What country is your platform account registered in?

meager mica
#

It depends on the provider. I have put all the ones you have. I think there are 54, I don't know. I have put them in a select in html

normal grove
#

So you have 54 platform accounts?

meager mica
#

<select id = "paisCuenta" class='inpPass' required>
<option value='0' selected>Select country</option>
<option value='AU' >Australia</option>
<option value='AT' >Austria</option>
<option value='BE' >Belgium</option>
<option value='BR' >Brazil</option>
<option value='BG' >Bulgaria</option>
<option value='CA' >Canada</option>
<option value='CY' >Cyprus</option>
<option value='HR' >Croatia</option>
<option value='CZ' >Czech Republic</option>
<option value='DK' >Denmark</option>
<option value='EE' >Estonia</option>
<option value='FI' >Finland</option>
<option value='FR' >France</option>
<option value='DE' >Germany</option>
<option value='GI' >Gibraltar</option>
<option value='GR' >Greece</option>
<option value='HK' >Hong Kong</option>
<option value='HU' >Hungary</option>
<option value='IN' >India</option>
<option value='IE' >Ireland</option>
<option value='IT' >Italy</option>
<option value='JP' >Japan</option>
<option value='LV' >Latvia</option>
<option value='LI' >Liechtenstein</option>
<option value='LT' >Lithuania</option>
<option value='LU' >Luxembourg</option>
<option value='MY' >Malaysia</option>
<option value='MT' >Malt</option>
<option value='MX' >Mexico</option>
<option value='NL' >Netherlands</option>
<option value='NZ' >New Zealand</option>
<option value='NO' >Norway</option>
<option value='PL' >Poland</option>
<option value='PT' >Portugal</option>
<option value='RO' >Romania</option>
<option value='SG' >Singapore</option>
<option value='SK' >Slovakia</option>
<option value='SI' >Slovenia</option>
<option value='ES' >Spain</option>
<option value='SE' >Sweden</option>
<option value='CH' >Switzerland</option>
<option value='TH' >Thailand </option>
<option value='AE' >United Arab Emirates</option>
<option value='GB' >United Kingdom</option>
<option value=' US' >USA</option>
</select>

normal grove
#

that's not helpful

#

These seem like countries for connected accounts?

meager mica
#

We are a company and we have and we want to reach the maximum number of clients, this is not the issue

#

yes

#

Can you convert with the api from euros to dollars? or gbp?

normal grove
#

I don't know how you're currently integrating so I can't say. Do you have 54 platform accounts or do you have custom accounts in these 54 countries? Sorry its just unclear

meager mica
#

I have more accounts, the suppliers to whom I have to pay money can be from those 54 countries

normal grove
#

And how exactly do you create charges? Assuming destination charges, are you using one single platform account OR various platform accounts depending on the connected account country?

meager mica
#

person A pays 100 dollars, person B wants 75% of those and I deposit them in a custom account that he thinks what happens is that his api is for example: German does not accept dollars and I have to deposit it in euros

#

How to convert 75 euros to dollars?

normal grove
#

That's not what I am asking though. I'm asking about your fund flow
What kind of charges are you creating?
https://stripe.com/docs/connect/charges

Its not as simple as just putting a currency. There are more things at play here

meager mica
#

destination loads, I think the connected account only sends money to the bank

#

the money comes from paymentinent and when it arrives at stripe it is sent to the connected account I think in 7 days

normal grove
#

Right, so all your connected account belongs to one platform?

meager mica
#

$paymentIntentTxn = \Stripe\PaymentIntent::retrieve([
'id' => $paymentID,
'expand' => ['latest_charge.balance_transaction'],
]);

$fui = $paymentIntentTxn -> latest_charge -> balance_transaction -> available_on;
$hora = gmdate("Y-m-d", $fui);

#

no, picture yourself as a bet (it's not, it's just an example)

#

2 person puts money in euros and then another charges it, what happens is that at the beginning they put it in euros and then they want to receive it in dollars

normal grove
meager mica
#

okay, nothing happens, thanks for your patience, you have been very kind. I will read these documents and the matter is closed. have a nice day 🙂 !!! gg