我的沙盒帐户在创建支出时返回此错误
{
"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中列出
帐户在México ( MX )中配置,官方文档在支出文档中包含MX。
我是不是遗漏了什么?找不到排除特定国家/地区的任何文档。阿根廷、巴西和马来西亚只是一些例外。
它还在功能中定义了墨西哥货币
发布于 2020-10-06 12:48:09
我碰巧发现了一个类似的端点,但奇怪的是,它没有在主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"
}
}]
}发布于 2019-11-12 15:18:52
我也有同样的问题,这是因为我的国家(印度)的名字出现在PayPal的支持国家列表中,但我了解到PayPal商务平台的可用性,因为它不支持印度。检查下面的链接
我的工作只是为了测试贝宝的沙盒帐户,所以我只是创建了新的测试帐户的国家美国。
您的paypal帐户可能来自上述链接中列出的任何国家。请检查您的主要paypal帐户的国家。
https://stackoverflow.com/questions/58206027
复制相似问题