This release includes a new tokenization setting for the getPaid endpoint, as well as several bug fixes and enhancements across the web app, API, and embedded components. Here are the highlights:
saveIfSuccess optionWe’ve added a new option to the /getPaid endpoint that allows you to tokenize and save the payment method on any successfully authorized transaction with a card, device, or ACH payment method.
To tokenize a payment method while making a sale transaction, pass saveIfSuccess: true in the paymentMethod object. The new tokenized payment method will be returned in the response if the transaction is successful. If successful, the request returns the new method’s reference ID as methodReferenceId.