为什么不使用PayPal API的“ platform_fees”?

问题描述 投票:0回答:1

为什么当我汇款时,钱只汇入一个帐户,而没有佣金汇入第二个帐户?所有帐户均已设置,没有限制,所需的一切都在那里。

我的请求:

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 paypal marketplace
1个回答
0
投票

您(API调用方的客户ID)是PayPal合作伙伴吗?

[PayPal Commerce Platform功能和参数,例如platform_fees仅适用于已批准的PayPal合作伙伴...,否则显然将被忽略。

这里有一个链接的表格,您可以在其中联系成为合作伙伴的PayPal:https://developer.paypal.com/docs/commerce-platform/onboarding/partner-onboarding/(不幸的是,如果您没有收到回复,很可能是因为您的企业目前不符合条件。)

© www.soinside.com 2019 - 2024. All rights reserved.