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 to Set Up and Test Your PayFast Integration as an Aggregator

      To ensure a seamless integration with PayFast as an Aggregator, follow these steps to set up and test your account before going live. This guide will walk you through creating a Sandbox account, testing transactions, and configuring your live ...
    • How to Set Up and Test Your PayFast Gateway Integration

      Setting up a PayFast Gateway integration ensures your payment system operates smoothly and securely. Follow this step-by-step guide to configure your account, test transactions, and manage live operations. 1. Configure Your Test Account Use the test ...
    • 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. ...