Use Saved Payment Method in Sale Transactions
After you create a Saved Payment Method (SPM), you can use it for Sale transactions by implementing the sale request processing in a class that implements commercepayments.PaymentGatewayAdapter.
If the SPM record is created with a Type value of ExtendedAPM or ExtendedWallet and includes an ExtendedPaymentMethodType, you can access these fields in the Sale request with the Apex layer using a query like the following:
See Also