我的沙箱帐户在创建付款时返回此错误
{
"name": "PAYOUT_NOT_AVAILABLE",
"message": "You live in a country that is not allowed to send this payout.",
}
此错误未在https://developer.paypal.com/docs/api/payments.payouts-batch/#errors
中列出该帐户使用墨西哥(MX)配置,并且官方文档在付款文档中包括MX。
我想念什么吗?找不到排除特定国家/地区的任何文档。 阿根廷,巴西和马来西亚只有一些例外。
它在功能中还定义了墨西哥货币
https://developer.paypal.com/docs/payouts/#payouts-features
答案 0 :(得分:1)
我偶然发现了一个类似的端点,但奇怪的是它没有在主API菜单中列出,但似乎可以正常工作,以供参考检查: https://developer.paypal.com/docs/payouts/test
更新:它似乎与 note 字段中使用的测试数据有关,即使使用批量付款,以下更改了结果状态:
{
"sender_batch_header": {
"sender_batch_id": "Payouts_2018_100007",
"email_subject": "You have a payout!",
"email_message": "You have received a payout! Thanks for using our service!"
},
"items":[
{
"recipient_type": "EMAIL",
"amount": {
"value": "500",
"currency": "MXN"
},
"note": "POSPYO001",
"sender_item_id": "201403140001",
"receiver": "ss36@business.example.com",
"alternate_notification_method": {
"phone": {
"country_code": "52",
"national_number": "4491110560"
}
},
"notification_language": "sp-SP"
}
]
}
单笔付款如下:
{
"sender_payout_header":
{
"sender_batch_id": "1524086406556",
"email_subject": "This email is related to simulation"
},
"items": [
{
"recipient_type": "EMAIL",
"receiver": "payouts-simulator-receiver@paypal.com",
"note": "POSPYO001",
"sender_item_id": "15240864065560",
"amount":
{
"currency": "USD",
"value": "1.00"
}
}]
}
答案 1 :(得分:0)
我遇到了同样的问题,这是因为我的国家(印度)名称出现在受支持的PayPal国家列表中,但是我了解了不支持印度的PayPal Commerce Platform的可用性。检查以下链接
我的工作仅在paypal的沙箱帐户上进行测试,因此我只是创建了美国国家/地区的新测试帐户。
可能您的贝宝帐户来自上面链接中列出的任何国家。请检查您的主要Paypal帐户所在的国家/地区。