-
Notifications
You must be signed in to change notification settings - Fork 30
Stripe
Damien edited this page Jun 5, 2016
·
1 revision
let stripe: Provider = .Stripe(
clientID: "***",
clientSecret: "***"
redirectURL: "foo://callback"
)
{
"token_type": "bearer",
"stripe_publishable_key": PUBLISHABLE_KEY,
"scope": "read_write",
"livemode": false,
"stripe_user_id": USER_ID,
"refresh_token": REFRESH_TOKEN,
"access_token": ACCESS_TOKEN
}
The options are read_write
and read_only
, with read_only
being the default.
https://connect.stripe.com/oauth/authorize?response_type=code&client_id=ca_32D88BD1qLklliziD7gYQvctJIhWBSQ7&scope=read_write
curl https://connect.stripe.com/oauth/token \
-d client_secret=sk_test_BQokikJOvBiI2HlWgH4olfQ2 \
-d code=AUTHORIZATION_CODE \
-d grant_type=authorization_code