#chris.phandal-connect auth
1 messages · Page 1 of 1 (latest)
You'd use the Stripe-Account header as documented in https://stripe.com/docs/connect/authentication
Hi thanks for the super quick reply, so by specifying the stripe-account header in the create location, will that work during the get request ??
i only want to show the locations created by their own connected acocunt ?
Correct. The Stripe-Account header makes the request as the connected account instead of the platform.
ok apologies for my confusion here:
when we create the location, it is saving back to the platform account
Right, and if you use Stripe-Account on both the create and retrieve calls, it'll all take place on the connected account.
aah ok, so we won't be able to view the locations themselves in the express dashboard only for platform account will see the addresses ?
sorry for the incompetence here :(, the documentation for locations only referred to standard and custom accounts, nothing about express
You may be looking for https://stripe.com/docs/terminal/payments/connect -- the difference is really Direct vs. Destination charges
this is what i am struggling with: https://stripe.com/docs/terminal/creating-locations#creating-a-location-with-standard-connect
You want the Custom account version. Does that call not work with an Express account?
no 😩 , the create api works and creates it onto the platform account but the get request returns blank
i suppose we could just specify the 'metadata' => [
'connected_account' => '{{CONNECTED_ACCOUNT_ID}}',
]
then create in app filter to only return locations where this is connected account is populated onto ?
Did you pass Stripe-Account with the same account id when creating the Location?