files/en-us/web/api/securepaymentconfirmationrequest/index.md
{{APIRef("Payment Request API")}}
The SecurePaymentConfirmationRequest dictionary describes input to the Payment Request API when used to authenticate a user during an e-commerce transaction using SPC with Payment Request API.
An instance of this dictionary must be passed into the {{domxref("PaymentRequest.PaymentRequest()", "PaymentRequest()")}} constructor as the value of the data field corresponding to a supportedMethods value of "secure-payment-confirmation".
challenge
credentialIds
instrument.extensions {{optional_inline}}
payment extension; this is added automatically.instrument
displayName
icon
iconMustBeShown {{optional_inline}}
true.locale {{optional_inline}}
[!NOTE] The locale is distinct from language or direction metadata associated with specific input members, in that it represents the caller's requested localized experience rather than assertion about a specific string value. See SPC internationalization Considerations for more discussion.
payeeName {{optional_inline}}
payeeOrigin.payeeOrigin {{optional_inline}}
payeeName.rpId
showOptOut {{optional_inline}}
false.timeout {{optional_inline}}
{{Specifications}}