.potentiallyAvailableNativePayNetworks([options]) -> Promise
Provides a list of payment networks potentially available on this device for this specific operating system version.
All Platforms
When referring to networks below, we mean values from this list:
american_expresscartes_bancaireschina_union_paydiscovereftposelectroneloid_creditinteracjcbmadamaestromaster_cardprivate_labelquic_paysuicavisavpay
Example
import stripe from 'tipsi-stripe'
await stripe.potentiallyAvailableNativePayNetworks()
// -> returns null if Native Pay is disabled
// -> returns [] if it Native Pay is enabled, but it doesn't know what networks are available (on Android)
// -> returns [ 'american_express', 'discover', ...a list of all supported networks, documented above...]
Android Note -- this returns [] an empty array
or null, as the networks aren't exposed to application code