How do I create a tokenization request?

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 your own merchant account and transaction information.

Tokenization Example Request

<form action="https://sandbox.payfast.co.za/eng/process" method="post">
<input type="hidden" name="merchant_id" value="12345678">
<input type="hidden" name="merchant_key" value="loeu9mukcphfi">
<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:https://www.testreturn.com/payfastWebhookReceiver">
<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="10.00">
<input type="hidden" name="item_name" value="Subscription">
<input type="hidden" name="item_description" value="Subscription2">
<input type="hidden" name="subscription_type" value="2">
<input type="hidden" name="signature" value="30e3c4b2b1ee1d76b88be58341043252">
<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 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 ...
    • 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 ...
    • 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 ...