Why not working “platform_fees” in PayPal API?

DAez1
Contributor
Contributor

Why when I send funds, then the money goes to only one account, and the commission on the second account is not? All accounts are set up, no restrictions, everything you need is there. My request:

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
    },
Login to Me Too
1 REPLY 1

Koas
Contributor
Contributor

I'm having the exact same problem, the transaction completes correctly but no funds are transferred to the account of the platform_fees object.

 

@DAez1 have you had any luck with this issue?

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.