Generate PayFast Checkout Identifier
Generate a PayFast checkout for the cart. An onsite payment identifier (for the PayFast modal) is attempted first; if that is unavailable the response falls back to a redirect URL. The cart must have billing information (name and email) before calling this.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your API token.
Path Parameters
The unique identifier for the cart
Response
A PayFast checkout was generated. The mode field indicates whether to open the onsite modal or redirect the customer.
Which checkout flow to use.
onsite, redirect The PayFast onsite payment identifier (present when mode is onsite).
The PayFast onsite engine script URL (present when mode is onsite).
The PayFast redirect checkout URL (present when mode is redirect).

