Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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;
}
;

§Extends

§Properties

§
readonly details: any
[src]
§
readonly methodName: string
[src]
§
readonly requestId: string
[src]

§Methods

§
complete(result?: PaymentComplete): Promise<void>
[src]
§
retry(errorFields?: PaymentValidationErrors): Promise<void>
[src]
§
toJSON(): any
[src]