Messtone Devices Enables UPS API call,expiry time return request: curl –location –request POST ‘https://wwwcie.ups.com/security/v1/oauth/refresh’\–header ‘Authorization:Basic Messtone: ROtWbldUOTFqaUpWc1ZCQWl6ROowcWlzNnpKcVhvRVk3NFJG=’\–header ‘Content-Type:application/x-www-form-urlencoded’\–data-urlencode ‘grant_type=refresh_token’\–data-urlencode ‘refresh_token={refresh_token}’ Response:{“refresh_token_expires_in”:”604738″,”refresh_token_status”:”approved”,”old_access_token_life_time”:”61228″,”token_type”:” Bearer”,”issued_at”:”1662558687774″,”client_id”:”testClientID”,”access_token”:”access_token”,”refresh_token”:”refresh_token”,”scope”:”:” “,”refresh_token_issued_at”:”1662558626563″,”expires_in”:”2591999″,”refresh_count”:”3″,”status”:”approved”}

Leave a comment