This document specifies a the "web-platform-test" payment method identifier, and related data structures. It is intended to be used solely for for purpose of interoperability testing of the Payment Request API.
## Payment Method Identifier The standardized payment method identifier is "`web-platform-test`".
## Payment Request The PaymentTestRequest is used when constructing a PaymentRequest for the testing purposes. ### PaymentTestRequest dictionary
  dictionary PaymentTestRequest {
    PaymentUserAction emulateUserAction;
  };
  
### emulateUserAction member The user action to emulate are represented by values of the PaymentUserAction enum. ### PaymentUserAction enum
    enum PaymentUserAction { "not-supported", "abort" };
  
not-supported
...
abort
...
## Payment Response The TestPaymentResponse is received by the PaymentResponse for the testing purposes. ### TestPaymentResponse dictionary
  dictionary TestPaymentResponse {};
  
## Security and Privacy Considerations User agents SHOULD only enable this feature via a browser feature flag.