How does a token work?

How does a token work?

A token is used for recurring billing to identify which user to charge for an adhoc payment. Only after the first payment for an ad hoc payment, will Payfast send back return variables in a payment notification webhook.

The ‘token’ in this return variable list is what will be used in the URL of the cURL script to charge the customer.