const card = componentsManager.findComponent('card');

This method looks up a previously created PaymentUIComponent by its type.

Method Parameters

componentType required string, can be any of:

  • card
  • cardholderName
  • cardNumber
  • cardExpiry
  • cardCvc
  • cardPostalCode
  • applePay
  • googlePay
  • paypal


  • An instance of an PaymentUIComponent with a matching type, or
  • null, when no PaymentUIComponent with a matching type has been created.