#Birendra

1 messages · Page 1 of 1 (latest)

cloud sunBOT
digital crest
#

Hi there!

restive grove
#

Hi

digital crest
restive grove
#

Can you please share a get-connected customer for a particular connect account example?

#

Do I need to use the connected account sk live key?

digital crest
#

Can you please share a get-connected customer for a particular connect account example?
I'm sorry but I don't understand the question. Can you rephrase it?

#

Do I need to use the connected account sk live key?
No, use the platform API key with the Stripe-Account header as explained in the link I shared above

restive grove
#

I have tried with the above code, but getting the error "does not have access to account"

digital crest
restive grove
#

Can you please review the below code? and let me know what I'm doing wrong in it.

#

$accountID ="acct_1A9XEKFRmwOYocSG";
$details = $stripe->customers->all(
['limit' => 3],
['stripe_account' => '{{acct_1A9XEKFRmwOYocSG}}']);

echo "<pre>";
print_R($details);
#

Okay, let me check

digital crest
#

'stripe_account' => '{{acct_1A9XEKFRmwOYocSG}}' should be 'stripe_account' => 'acct_1A9XEKFRmwOYocSG'

restive grove
#

ok let me try

#

Great, It work thanks

#

I have one more question regarding charge to connected account.

#

I would like to charge the connected account.

#

Are there any extra fees.

digital crest
#

I would like to charge the connected account.
What does that mean? What do you want to change?

cloud sunBOT
restive grove
#

Hi

#

I want to charge a connected account

#

is it possible?

#

or not

dense bronze
#

depends what you mean by that. The connected account is owned by a person or a company. Are you looking to charge that person's/company's credit card they own for example? Or trying to take some funds from the balance of their Stripe account?

restive grove
#

Yes, I'm looking to charge that person's/company's credit card

dense bronze
#

then you would mostly just collect a credit card from them and create a Customer object on your own platform account, the same as any other end-customer in your system, and you can charge that (https://stripe.com/docs/payments/accept-a-payment) . It's not directly linked to the connected account, from the Stripe API perspective(though you can keep some logic in your own records/database to indicate that Customer is the same entity as the connected account).

restive grove
#

Okay

#

and what about this "Or trying to take some funds from the balance of their Stripe account?"

#

Is it possible?

dense bronze
restive grove
#

Okay

#

What is the difference between "PaymentIntent" and "Charge"?

#

Any idea?

dense bronze
#

a PaymentIntent is a state machine that creates a Charge

#

why do you ask?

restive grove
#

I have reviewed the doc

dense bronze
#

yep but that still uses the PaymentIntents API

#

it's just called "Direct Charges" as that's the name that flow has, but you always use the PaymentIntent API to process payments

restive grove
#

Both look like connected account charges.

#

I'll use the PaymentIntent API to process payments

#

Thanks for helping

#

Have a Good day.

#

Hi

#

Can you please share an API link?

#

To Get all charges under connected account

dense bronze
#

same answer as earlier but using the Charge API