#maousatan.
1 messages · Page 1 of 1 (latest)
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 ?
yes sure
-
Is the token in JSON response in both(by stripe) permanent for the payments or not?
-
What will be the complete JSON response of Express?
Is the token in JSON response in both(by stripe) permanent for the payments or not?
would you mind elaborating?
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?
Take your time i will be waiting for your reply 😉
Hello 👋
The account ID for the connected account doesn't change, if that's what you're asking
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}",
}
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.
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?
I'd recommend creating an account and trying out in test mode.
I have tried everything but i can't do this right now cause i dont have a bank account