curl -v https://api.paypal.com/v1/payments/payouts?sync_mode=true \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <token>" \
-d '{
\"sender_batch_header\":{
\"email_subject\":\"You have a Payout!\",
},
\"items\":[
{
\"recipient_type\":\"EMAIL\",
\"amount\":{
\"value\":\"11.0\",
\"currency\":\"USD\"
},
\"note\":\"Thanks for your patronage!\",
\"sender_item_id\":\"2014031400011\",
\"receiver”:”<email>\"
}
]'
执行,并回复401。 身份验证令牌值是正确的。 为什么回应401?这意味着未经授权但标题是正确的。帮助PLZ