PaymentResponse.requestId

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The requestId read-only property of the PaymentResponse interface rreturns the free-form identifier supplied by the PaymentResponse() constructor by details.id.

Syntax

var id = paymentRequest.id

Value

A DOMString.

Specifications

Specification Status Comment
Payment Request API
The definition of 'requestId' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

BCD tables only load in the browser