Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

121
Visualizações
PayPal Capturing Taxes And Fees on an order

I'm trying to figure out how to do payouts to multi-party transactions on PayPal. The multi-party payment system documentation is good, but I can't figure out this one detail.

Lets say you have a 3rd party selling something on your platform. They sell one item for 19.99 USD. When the user goes to checkout there's taxes and fees going into this order

So the seller gets the split of 19.99, and then the taxes and fees go to the first party. Are these taxes and fees considered a purchase_unit under the guidelines of the multi-party payment API?

Im using the paypal docs here: https://developer.paypal.com/api/orders/v2/#orders_create

Right now I have this,

         var item = {
            reference_id: "REFID-"+ (i+1),
            payee: {
                email: email
            },
            amount: {
                currency_code: currency,
                value: (price / 100)
            },
            payment_instruction: {
              disbursement_mode: "INSTANT",
              platform_fees: [{
                amount: {
                    currency_code: currency,
                    value: ((price / 100) * 0.03).toFixed(2),
                }
              }]
            },
        }


        purchase_units.push(item);

        var taxes = {
          reference_id: 'REFID-'+0,
          amount: {
              currency_code: currency,
              value: ((totalPrice * cali_tax) / 100).toFixed(2)
          }
        }

        purchase_units.push(taxes);

I'm trying to figure out if the taxes item along with the actual item is necessary or not. By not having a separate purchase unit I believe I can dodge an extra paypal transaction fee. Any help would be appreciated!

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

If the tax is to be collected by the first party, you can add it as a "breakdown" object within the amount, for display purposes -- and also to the platform_fees, so that it is deducted from what the third party seller receives...

        amount: {
            currency_code: currency,
            value: (price / 100)
            /* add "breakdown" object here with additional tax and pre-tax subtotal */
        },
        payment_instruction: {
          disbursement_mode: "INSTANT",
          platform_fees: [{
            amount: {
                currency_code: currency,
                value: /* This amount should be everything the first party is intended to collect. Fees, and any taxes if applicable. */
            }
          }]
        },
    }
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda