README.md in omniauth-stripe-connect-2.9.0 vs README.md in omniauth-stripe-connect-2.10.0
- old
+ new
@@ -78,24 +78,47 @@
```ruby
{
"provider"=>"stripe_connect",
"uid"=>"<STRIPE_USER_ID>",
"info"=> {
+ "email"=>"email@example.com",
+ "name"=>"Name",
+ "nickname"=>"Nickname",
"scope"=>"read_write", # or "read_only"
"livemode"=>false,
"stripe_publishable_key"=>"<STRIPE_PUBLISHABLE_KEY>",
},
"credentials"=> {
"token"=>"<STRIPE_ACCESS_TOKEN>",
+ "refresh_token"=>"<STRIPE_REFRESH_TOKEN>",
"expires"=>false
},
"extra"=> {
"raw_info"=> {
"token_type"=>"bearer",
"stripe_user_id"=>"<STRIPE_USER_ID>",
"scope"=>"read_only",
"stripe_publishable_key"=>"<STRIPE_PUBLISHABLE_KEY>",
"livemode"=>false
+ },
+ "extra_info"=> {
+ "business_logo"=>"https://stripe.com/business_logo.png",
+ "business_name"=>"Business Name",
+ "business_url"=>"example.com",
+ "charges_enabled"=>true,
+ "country"=>"US",
+ "default_currency"=>"eur",
+ "details_submitted"=>true,
+ "display_name"=>"Business Name",
+ "email"=>"email@example.com",
+ "id"=>"<STRIPE_USER_ID>",
+ "managed"=>false,
+ "object"=>"account",
+ "statement_descriptor"=>"EXAMPLE.COM",
+ "support_email"=>"support@example.com",
+ "support_phone"=>"123456789",
+ "timezone"=>"Europe/Berlin",
+ "transfers_enabled"=>true
}
}
}
```