https://github.com/paypal/PayPal-iOS-SDK/blob/master/docs/profile_sharing_server.md#profile-sharing-server-side-integration
curl 'https://api.paypal.com/v1/oauth2/token'
-H "Content-Type: application/x-www-form-urlencoded"
-H "Authorization: Basic QWZVa...=="
-d 'grant_type=refresh_token&refresh_token=MFYQ...'
什么
Authorization: Basic QWZVa...== ??
and retur true;
授权:基本 xxxx 是 OAuth 2 身份验证令牌。基本是令牌类型,xxxx 部分是访问令牌。这是一种授权用户的方式,将在请求的标头中传递。更多信息在这里: https://developer.paypal.com/docs/api/#authentication--headers