#maousatan.

1 messages · Page 1 of 1 (latest)

mellow lightBOT
soft junco
#

👋 happy to help

#

what's the question?

quick lichen
#

Hey Mr. Tarzan actually i have done what i need but according to the documentation this is the data we get in return:

By Std account connection:
{
"token_type": "bearer",
"scope": "read_write",
"livemode": false,
"stripe_user_id": "{ACCOUNT_ID}",
}

By Exp accout connection:
{
"livemode": false,
"token_type": "bearer",
"stripe_user_id": "{{CONNECTED_ACCOUNT_ID}}",
"scope": "express",
...
}

there are several things i want to confirm will you confirm it for me ?

soft junco
#

yes sure

quick lichen
#
  1. Is the token in JSON response in both(by stripe) permanent for the payments or not?

  2. What will be the complete JSON response of Express?

soft junco
#

Is the token in JSON response in both(by stripe) permanent for the payments or not?
would you mind elaborating?

quick lichen
#

I mean when Stripe returns this response against any connected account, is it permanent, will the user get payments by this JSON from now on:
{
"token_type": "bearer",
"scope": "read_write",
"livemode": false,
"stripe_user_id": "{ACCOUNT_ID}",
}

the value of this token is permanent?

mellow lightBOT
quick lichen
#

Take your time i will be waiting for your reply 😉

hearty cedar
#

Hello 👋
The account ID for the connected account doesn't change, if that's what you're asking

quick lichen
#

You mean this is the account_id of connected account on which all the payments will come?

#

and the values in here will not get changed:
{
"token_type": "bearer",
"scope": "read_write",
"livemode": false,
"stripe_user_id": "{ACCOUNT_ID}",
}

hearty cedar
#

correct, I'd recommend reading the doc thoroughly as it covers everything
https://stripe.com/docs/connect/oauth-standard-accounts#:~:text=You’re done! The user is now connected to your platform. Store the stripe_user_id in your database%3B this is the Stripe account ID for the new account. You’ll use this value to authenticate as the connected account by passing it into requests in the Stripe-Account header.

You’re done! The user is now connected to your platform. Store the stripe_user_id in your database; this is the Stripe account ID for the new account. You’ll use this value to authenticate as the connected account by passing it into requests in the Stripe-Account header.

quick lichen
#

One more thing please 🙂

#

In documentation Stripe show only this JSON agains Express account now what will be the complete JSON ?

{
"livemode": false,
"token_type": "bearer",
"stripe_user_id": "{{CONNECTED_ACCOUNT_ID}}",
"scope": "express",
...
}

#

Mr. Hanzo?

hearty cedar
#

I'd recommend creating an account and trying out in test mode.

quick lichen
#

I have tried everything but i can't do this right now cause i dont have a bank account