Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/lib.dom.ts>PaymentResponse

💧EventEmitter's typesafe replacement
Go to Latest
interface PaymentResponse
import { type PaymentResponse } from "https://deno.land/x/evt@v2.5.3/lib/types/lib.dom.ts";

This Payment Request API interface is returned after a user selects a payment method and approves a payment request.

Properties

readonly
details: any
readonly
methodName: string
readonly
payerEmail: string | null
readonly
payerName: string | null
readonly
payerPhone: string | null
readonly
requestId: string
readonly
shippingAddress: PaymentAddress | null
readonly
shippingOption: string | null

Methods

complete(result?: PaymentComplete): Promise<void>
toJSON(): any