According to the docs OAuth token response returns the following data:
{
"token_type": "bearer",
"stripe_publishable_key": "{PUBLISHABLE_KEY}",
"scope": "read_write",
"livemode": false,
"stripe_user_id": "{ACCOUNT_ID}",
"refresh_token": "{REFRESH_TOKEN}",
"access_token": "{ACCESS_TOKEN}",
}
The TokenResponse only captures the following:
public class TokenResponse extends StripeObject {
Boolean livemode;
String scope;
String stripeUserId;
// ...
}
Note: The document recommends to store only the stripeUserId, but the choice has to be made by the developer and the sdk should capture everything returned by the response.
Thanks all for the great work.
According to the docs OAuth token response returns the following data:
The TokenResponse only captures the following:
Note: The document recommends to store only the
stripeUserId, but the choice has to be made by the developer and the sdk should capture everything returned by the response.Thanks all for the great work.