Token billing
Token billing allows you to store a credit card with your gateway, and charge it at a later date. Token billing is not supported by all gateways. For supported gateways, the following methods are available:
createCard($options)- returns a response object which includes acardReference, which can be used for future transactionsupdateCard($options)- update a stored card, not all gateways support this methoddeleteCard($options)- remove a stored card, not all gateways support this method
Once you have a cardReference, you can use it instead of the card parameter when creating a charge:
$gateway->purchase(['amount' => '10.00', 'cardReference' => 'abc']);