#krishnavcse - connect
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the request ID (req_xxx) that generated this error? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Thanks! The account ID you passed (acct_1LLKY7LnYHXp3SfS) is not connected to your platform, so it's expected not to work.
What are you trying to do? Connect an existing Stripe account to your platformN
yes
acutually customer=> platform => seller
as i a customer i want to pay to platform and then platform distrubutes the fund
platform can hold the fund and distribute or refund
using stripe connect
i am using PHP laravel
If you want to connect your platform to an existing Stripe account, you need to use OAuth: https://stripe.com/docs/connect/oauth-standard-accounts
ok
can i create a new account like this
$stripe = new \Stripe\StripeClient(config('stripe.api_keys.secret_key'));
// $account = $stripe->accounts->create([
// 'type' => 'custom',
// 'country' => 'US',
// 'email' => 'krishna.vishwakarma@optimalvirtualemployee.com',
// 'capabilities' => [
// 'card_payments' => ['requested' => true],
// 'transfers' => ['requested' => true],
// ],
// ]);
$stripe = new \Stripe\StripeClient(config('stripe.api_keys.secret_key'));
$account = $stripe->accounts->create([
'type' => 'custom',
'country' => 'US',
'email' => 'krishna.vishwakarma@optimalvirtualemployee.com',
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
]);
after creating how can i link to my platform
how do i pay to platform as a customer
without creating a account, cant i pay to platform, as i am a customer
why new customer account is becoming restricted
hi @craggy swan please let's keep the conversation here
I just stepped in for @warm gulch because they had to step away, please give me a couple of minutes to catch up
@craggy swan please be patient, I will try to answer you as fast as I can
ok
there are many questions I will try to break them down and answer one at a time
$account = $stripe->accounts->create([
'type' => 'custom',
'country' => 'US',
'email' => 'krishna.vishwakarma@optimalvirtualemployee.com',
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
]);```
this bit of code create a Custom Connect Account, this is not really what we advise our users to use at first, instead please take a look at the Express Connect Account https://stripe.com/docs/connect/express-accounts
ok
after creating how can i link to my platform
If you create an Express or Custom Accounts, they are automatically linked to your Platform
how do i pay to platform as a customer
https://stripe.com/docs/connect/destination-charges
without creating a account, cant i pay to platform, as i am a customer
sure you can since the Platform Account is a standalone Stripe Account
why new customer account is becoming restricted
If you mean the Account (we tend to leave the word customer for the final customer that makes the purchases/payments), then it's normal to get restricted in test mode unless you use the testing Identity and address verification values https://stripe.com/docs/connect/testing#identity-and-address-verification
how can i hold the fund