#ajay bhalke-PaymentIntent

1 messages · Page 1 of 1 (latest)

broken kindle
#

You would need to use Retrieve PaymentIntent with the Stripe Account header

#

passing the Connected Account Id into that header

dusty apex
#

any referance?
I dont understand

broken kindle
#

Sure, one sec

#
stripe_account: '{{CONNECTED_STRIPE_ACCOUNT_ID}}'
#

but use it with the Retrieve PaymentIntent API

dusty apex
#

$intent = $stripe->paymentIntents->retrieve(
'pi_xxx',
['stripe_account' => 'acct_xxx']
);

is it correct?

showing error here

#

is it correct api to get payment details of connect standard account?

or I am on wrong api

rigid jackal
#

What payment details are you trying to get at, exactly?

#

I think the request is generally accurate, but you may need to add an empty parameters array before the options:

$intent = $stripe->paymentIntents->retrieve(
    'pi_xxx',
    [],
    ['stripe_account' => 'acct_xxx']
);