我正在尝试通过PayPal rest-api向一个人的PayPal账户汇款。payout api处理没有任何错误,但在我收到的webhook中,它显示payout失败,收件人没有收到钱。
我认为问题出在收件人帐户,并试图简单地通过PayPal(而不是payout rest-api)汇款。收件人能够收到钱。
我附加了失败时得到的webhook响应
{
"batch_header": {
"payout_batch_id": "5CUYYX9GRXXXX",
"batch_status": "DENIED",
"time_created": "2021-07-30T09:03:36Z",
"time_completed": "2021-07-30T09:03:39Z",
"time_closed": "2021-07-30T09:03:39Z",
"sender_batch_header": {
"sender_batch_id": "6318914d-8506-4182-be21-xxxxxxx",
"email_subject": "You have money!",
"email_message": "You received a payment. Thanks for using our service!"
},
"funding_source": "BALANCE",
"amount": {
"currency": "USD",
"value": "1.00"
},
"fees": {
"currency": "USD",
"value": "0.00"
}
},
"items": [
{
"payout_item_id": "APW3A3DKHDXXX",
"transaction_status": "FAILED",
"payout_item_fee": {
"currency": "USD",
"value": "0.00"
},
"payout_batch_id": "5CUYYX9GXXXXX",
"payout_item": {
"recipient_type": "EMAIL",
"amount": {
"currency": "USD",
"value": "1.00"
},
"receiver": "rmxxxxx@gmail.com",
"sender_item_id": "2014031400XXX",
"recipient_wallet": "PAYPAL"
},
"time_processed": "2021-07-30T09:03:39Z",
"errors": {
"name": "UNDEFINED",
"message": "Sorry, an error has occurred. For help, please contact your account manager or our Customer Service team. You can also try sending the Payout after sometime.",
"information_link": "https://developer.paypal.com/docs/api/payments.payouts-batch/#errors",
"details": [],
"links": []
},
"links": [
{
"href": "https://api.paypal.com/v1/payments/payouts-item/APW3A3DKHXXXX",
"rel": "item",
"method": "GET",
"encType": "application/json"
}
]
}
],
"links": [
{
"href": "https://api.paypal.com/v1/payments/payouts/5CUYYX9GRGX2L?page_size=1000&page=1",
"rel": "self",
"method": "GET",
"encType": "application/json"
}
]}
我在此响应中没有收到错误消息。我可以通过rest-apis向其他PayPal帐户汇款,因此问题不在发送者一方。
为什么我无法通过PayPal rest-api向某些收件人发送付款?有没有其他人从webhook响应中得到这个错误,它显示未定义但没有任何其他详细信息?
发布于 2021-07-30 14:11:53
PayPal拒绝向该账户支付这笔款项。这不是一个技术问题。
你可以联系PayPal的支持,如果你需要解释拒绝。最有可能的是,关于接收帐户的某些东西太可疑或可能具有欺诈性,无法允许自动API支付进行。
https://stackoverflow.com/questions/68591697
复制相似问题