#maousatan.
1 messages · Page 1 of 1 (latest)
What is it you need help with?
Hey Mr. Ynnoj
https://stripe.com/docs/connect/oauth-standard-accounts
According to above documentation this is the JSON response we are going to get if stripe is connected successfully:
{
"token_type": "bearer",
"scope": "read_write",
"livemode": false,
"stripe_user_id": "{ACCOUNT_ID}",
}
Can i get the complete JSON testing object ?
Hi!
What do you mean by 'JSON testing object'?
The related Stripe Account we create?
I mean a complete JSON object
When someone will connect their account to any business Stripe will return this kind of JSON object for future payments:
{
"token_type": "bearer",
"scope": "read_write",
"livemode": false,
"stripe_user_id": "{ACCOUNT_ID}",
}
I need complete JSON response cause i need to make an API
Well, you can lookup the Account via the API using the stripe_user_id field: https://stripe.com/docs/api/accounts/retrieve
Or you can use webhook events: https://stripe.com/docs/connect/identity-verification-api#determining-if-identity-or-business-verification-is-needed
You'd get account.updated events which will contain the full Account object
Ok one more thing
{
"token_type": "bearer",
"scope": "read_write",
"livemode": false,
"stripe_user_id": "{ACCOUNT_ID}",
}
After someone connects their accounts to stripe successfully stripe returns something above like JSON response for receiving the furture payments.
Is the above JSON data is permanent for future payments, i mean this JSON object will not get expired like tokens right na?
I'm not sure what you mean. The JSON above is just a response to the token connection request
It'd not indicative of any account status or payment status
I am saying something else and what are you replying
?
I am asking about south and you are talking about north is so beautiful what is going on?
I'm sorry I don't understand what you're asking me
Is the above JSON data is permanent for future payments, i mean this JSON object will not get expired like tokens right na?
What do you mean by this?
Like I said, that response has nothing to do withy 'future payments'. It's simply a JSON response to your call to connect the account. This step: https://stripe.com/docs/connect/oauth-standard-accounts#token-request