diff --git a/specs/basic-card-payment.html b/specs/basic-card-payment.html index 84e45817..b99f3292 100644 --- a/specs/basic-card-payment.html +++ b/specs/basic-card-payment.html @@ -162,12 +162,46 @@

Payment Method Identifier

+
+

Payment Method Flow

+

The following represent the flow for all the supported payment method identifier strings as they could be used by a website

+

The blue call-outs show where and how the API is invoked.

+ + + +
+

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 +213,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;