PaymentResponse
This Payment Request API interface is returned after a user selects a payment method and approves a payment request. Available only in secure contexts.
interface PaymentResponse extends EventTarget {
readonly details: any;
readonly methodName: string;
readonly requestId: string;
complete(result?: PaymentComplete): Promise<void>;
retry(errorFields?: PaymentValidationErrors): Promise<void>;
toJSON(): any;
}var PaymentResponse: {
prototype: PaymentResponse;
new (): PaymentResponse;
};