为什么我汇款时,钱只到一个账户,而第二个账户没有佣金?所有帐户都已设置,没有限制,所需的一切都在那里。
我的要求:
request.post(PAYPAL_API + '/v2/checkout/orders', {
auth: {
user: CLIENT,
pass: SECRET
},
headers: {
"Content-Type": "application/json",
},
body: {
"intent": "CAPTURE",
"purchase_units": [{
"amount": {
"currency_code": "USD",
"value": "1.00"
},
"payee": {
"email_address": "seller account"
},
"description": "Item 1",
"payment_instruction": {
"disbursement_mode": "INSTANT",
"platform_fees": [{
"amount": {
"currency_code": "USD",
"value": "0.25"
},
"payee": {
"email_address": "fee account"
},
}]
}
}],
},
json: true
},
最佳答案
您(API 调用者的 clientID)是 PayPal 合作伙伴吗?
PayPal Commerce Platform platform_fees
等功能和参数仅适用于获得批准的 PayPal 合作伙伴......否则显然会被忽略。
这里有一个链接的表格,您可以联系 PayPal 成为合作伙伴:https://developer.paypal.com/docs/commerce-platform/onboarding/partner-onboarding/ (如果您没有收到回复,很遗憾,这很可能是因为您的企业目前不符合条件。)
关于api - 为什么不能在 PayPal API 中使用 "platform_fees"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59016778/