From 675bb26f26a091f8df808bb679733fbe7f8b3a31 Mon Sep 17 00:00:00 2001
From: Ade Bateman This section describes payment method specific data that is supplied as part of the There is no payment method specific data used by the PaymentRequest constructor when processing
- Basic Card Payment methods.Payment Method Flow
- Payment Method Specific Data for the PaymentRequest constructor
data
- argument to the PaymentRequest constructor.
+ enum BasicCardType { "credit", "debit", "prepaid" }; + + dictionary BasicCardRequest { + sequence<DOMString> supportedNetworks; + sequence<BasicCardType> supportedTypes; + }; ++ +
+ The BasicCardResponse
dictionary contains the following fields:
+
supportedNetworks
supportedNetworks
field contains a sequence of identifiers for card networks
+ that the merchant accepts.supportedTypes
supportedTypes
field contains a sequence of card types that the merchant
+ accepts. Implementations will determine how to match the type values credit
,
+ debit
, and prepaid
.
+ The supportedNetworks
and supportedTypes
fields are both optional.
+ If neither is provided then any card may be returned. If only supportedNetworks
+ is provided then any card type may be returned provided it matches one of the networks.
+ If only supportedTypes
is provided then a card may be returned from any network
+ provided it matches one of the types.
+