这与PayPal的API相关,可在沙盒环境中获取用户信息,如此处所述 - https://developer.paypal.com/docs/api/#get-user-information
curl -sk https://api.sandbox.paypal.com/v1/identity/openidconnect/userinfo/?schema=openid \
-H "Content-Type:application/json" \
-H "Authorization: Bearer <valid_access_token>"
我在json响应中获得了user_id,但是删除了其他用户属性,例如name,given_name,family_name。像这样
{
"user_id": "https://www.paypal.com/webapps/auth/identity/user/eyeTNlAeNRNDMpHBW6OCUyA-d7hsvZjChNONOiujnhU"
}
我如何获得其余属性?