0
使用貝寶的批量付款API,如果我發送一個包含多個項目的請求並且其中一個存在錯誤,那麼沒有錯誤的請求仍會通過嗎?或者他們都會失敗?Paypal批量付款行爲對項目錯誤
例如,如果我發送的有效載荷:
{
"sender_batch_header": {
"sender_batch_id": "batch_8",
"email_subject": "You have a payment"
},
"items": [
{
"recipient_type": "EMAIL",
"amount": {
"value": 1.0,
"currency": "USD"
},
"receiver": "[email protected]",
"note": "Thank you.",
"sender_item_id": "item_1"
},
{
"recipient_type": "EMAIL",
"amount": {
"value": 1.0,
"currency": "USD"
},
"receiver": "bad_email_address",
"note": "Thank you.",
"sender_item_id": "item_1"
}]
}
將支付給[email protected]經歷,因爲其他項目有一個無效的電子郵件地址?
感謝