How do I create a Split Payment request?

How do I create a Split Payment request?

Developer Docs

Our split payment developer documentation can be found here: https://developers.payfast.co.za/docs#splitpayments
 
To make things easy for you, you can make use of the example request below.
Simply replace the values of the fields with your own merchant account and transaction information.

Split Payment Example Request

<form action="  https://www.payfast.co.za/eng/process" method="post">
<input type="hidden" name="merchant_id" value="12345678">
<input type="hidden" name="merchant_key" value="xxxxxxxxxx">
<input type="hidden" name="return_url" value="https://www.testreturn.com">
<input type="hidden" name="cancel_url" value="https://www.testreturn.com">
<input type="hidden" name="notify_url" value="https://testreturn.com">
<input type="hidden" name="name_first" value="Lionel">
<input type="hidden" name="name_last" value="Guy">
<input type="hidden" name="email_address" value="testteam4@test.com">
<input type="hidden" name="amount" value="5.00">
<input type="hidden" name="item_name" value="Testitem">
<input type="hidden" name="item_description" value="Testitem21">
<input type="hidden" name="setup" value='{
  "split_payment" : {
    "merchant_id":87654321,
    "percentage":10,
    "min":100,
    "max":100000
  }
}'>
<input type="hidden" name="signature" value="4e3e443df58f78d4e408033aec2fd9b7">
<input type="submit">
</form> 
 
*Please note that the signature will change based on your values.

    • Related Articles

    • How do I create a Custom Integration request?

      Developer Docs Our custom integration developer documentation can be found here: https://developers.payfast.co.za/docs#quickstart To make things easy for you, you can make use of the example request below. Simply replace the values of the fields with ...
    • How do I create a Tokenization request?

      Developer Docs Our tokenization developer documentation can be found here: https://developers.payfast.co.za/docs#tokenization To make things easy for you, you can make use of the example request below. Simply replace the values of the fields with ...
    • How do I make test payments in sandbox mode?

      While setting up your ecommerce store, it's good practice to run some test payments to make sure everything works as expected. We recommend using our sandbox environment to test the payment engine without the need for live money being transferred. ...
    • How does the Xero integration work?

      Our integration with Xero is all automatic. It will update Xero when a successful payment is received by PayFast via a Xero invoice (or if a payout from PayFast is made). However, it will not automatically sync or update payments made from other ...
    • What kind of technical support does Payfast offer for custom integration?

      The Payfast Technical Support team can assist with integration issues related to our Developer documentation. We won’t be able to resolve the following issues (but may be able to offer advice in certain situations): The building of the checkout ...