diff --git a/specs/basic-card-payment.html b/specs/basic-card-payment.html index 2531ba15..e7eef6eb 100644 --- a/specs/basic-card-payment.html +++ b/specs/basic-card-payment.html @@ -166,8 +166,33 @@

Payment Method Identifier

Payment Method Specific Data for the PaymentRequest constructor

This section describes payment method specific data that is supplied as part of the data argument to the PaymentRequest constructor.

-

There is no payment method specific data used by the PaymentRequest constructor when processing - Basic Card Payment methods.

+

The PaymentRequest constructor can optionally take a BaseRequest object to indicate where generally optional fields in the BasicCardResponse + must be returned for this instance

+ + +
+

BaseRequestData

+
+        dictionary BaseRequestData {
+          sequence requiredFields;
+        };
+      
+ +

+ The BasicRequestData dictionary contains the following fields: +

+ +
+
requiredFields
+
The requiredFields field contains the list of fields that the Payment App must attempt to return, if this requirements cannot be met, e.g. the payment instrument does not support that field, an empty field must be returned to indicate this
+
+ +
+ +
+ This type should be generic to any PaymentRequest and should be moved to the PaymentRequest API as a base type +
+
@@ -179,10 +204,10 @@

Payment Method Response

BasicCardResponse

         dictionary BasicCardResponse {
-          required DOMString cardholderName;
+          DOMString cardholderName;
           required DOMString cardNumber;
-          required DOMString expiryMonth;
-          required DOMString expiryYear;
+          DOMString expiryMonth;
+          DOMString expiryYear;
 		  DOMString cardSecurityCode;
 		  
           BillingAddress? billingAddress;