vcr_cassettes/refresh_oauth_token.yml
---
http_interactions:
- request:
method: post
uri: https://01010101010101010101010101010101:ABABABABABABABABABABABABABABABABABABABAB@connect-sandbox.moip.com.br/oauth/token
body:
encoding: US-ASCII
string: refresh_token=f96ee59c608f42c3a4bc0cf560bb4aa8_v2&grant_type=refresh_token
headers:
Content-Type:
- application/x-www-form-urlencoded
User-Agent:
- MoipRubySDK/0.1.5 (+https://github.com/moip/moip-sdk-ruby)
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json
Date:
- Mon, 18 Sep 2017 17:55:01 GMT
Server:
- nginx/1.13.5
Status:
- 200 OK
X-Content-Type-Options:
- nosniff
X-Powered-By:
- Phusion Passenger 5.0.26
Content-Length:
- '388'
Connection:
- keep-alive
body:
encoding: UTF-8
string: '{"accessToken":"91bc766c14114da697c75be803546129_v2","access_token":"91bc766c14114da697c75be803546129_v2","expires_in":"2027-09-18","refreshToken":"36fb8dbc6c584967b798af1e9988b230_v2","refresh_token":"36fb8dbc6c584967b798af1e9988b230_v2","scope":"DEFINE_PREFERENCES,MANAGE_ACCOUNT_INFO,RECEIVE_FUNDS,REFUND,RETRIEVE_FINANCIAL_INFO,TRANSFER_FUNDS","moipAccount":{"id":"MPA-8D5DBB4EF8B8"}}'
http_version:
recorded_at: Mon, 18 Sep 2017 17:55:12 GMT
recorded_with: VCR 2.9.3