Documentation

Follow this guide to build custom integration with your platform or website with PayFast.

9.2 Ad Hoc Payments API Endpoints

URL Composition The API exposes the following endpoints which will allow Merchants the ability to interact with subscriptions on their accounts. URLs to interact with take the following form: https://api.payfast.co.za/[endpoint]/[token]/[action]?testing=true [endpoint]: This should be set to “subscriptions”. [token]: A 36 character alphanumeric string which uniquely identifying a subscription. [action]: This will be the verb describing […]

9.1 Subscription Payments API Endpoints

URL Composition The API exposes the following endpoints which will allow Merchants the ability to interact with subscriptions on their accounts. URLs to interact with take the following form: https://api.payfast.co.za/[endpoint]/[token]/[action]?testing=true [endpoint]: This should be set to “subscriptions”. [token]: A 36 character alphanumeric string which uniquely identifying a subscription. [action]: This will be the verb describing […]

9. API

Introduction PayFast is in the process of rolling out a fully-fledged RESTful API. The first endpoints available will be for the management of subscriptions, with further functionality being released in the near future. Overview All API communications with PayFast take the form of standard HTTP requests. These requests are made against a set of endpoints, […]

8. Recurring Billing

Introduction The recurring service will allow for merchants to create two methods of recurring payments; one method being a traditional subscription model of a recurring charge on a given date, the other a one-click ad hoc model where the future dates and amounts of payments may be unknown. Subscriptions The buyer who chooses to enter […]