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

GoogleCloudRecaptchaenterpriseV1TransactionEvent

import type { GoogleCloudRecaptchaenterpriseV1TransactionEvent } from "https://googleapis.deno.dev/v1/recaptchaenterprise:v1.ts";

Describes an event in the lifecycle of a payment transaction.

interface GoogleCloudRecaptchaenterpriseV1TransactionEvent {
eventTime?: Date;
eventType?:
| "TRANSACTION_EVENT_TYPE_UNSPECIFIED"
| "MERCHANT_APPROVE"
| "MERCHANT_DENY"
| "MANUAL_REVIEW"
| "AUTHORIZATION"
| "AUTHORIZATION_DECLINE"
| "PAYMENT_CAPTURE"
| "PAYMENT_CAPTURE_DECLINE"
| "CANCEL"
| "CHARGEBACK_INQUIRY"
| "CHARGEBACK_ALERT"
| "FRAUD_NOTIFICATION"
| "CHARGEBACK"
| "CHARGEBACK_REPRESENTMENT"
| "CHARGEBACK_REVERSE"
| "REFUND_REQUEST"
| "REFUND_DECLINE"
| "REFUND"
| "REFUND_REVERSE";
reason?: string;
value?: number;
}

§Properties

§
eventTime?: Date
[src]

Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.

§
eventType?: "TRANSACTION_EVENT_TYPE_UNSPECIFIED" | "MERCHANT_APPROVE" | "MERCHANT_DENY" | "MANUAL_REVIEW" | "AUTHORIZATION" | "AUTHORIZATION_DECLINE" | "PAYMENT_CAPTURE" | "PAYMENT_CAPTURE_DECLINE" | "CANCEL" | "CHARGEBACK_INQUIRY" | "CHARGEBACK_ALERT" | "FRAUD_NOTIFICATION" | "CHARGEBACK" | "CHARGEBACK_REPRESENTMENT" | "CHARGEBACK_REVERSE" | "REFUND_REQUEST" | "REFUND_DECLINE" | "REFUND" | "REFUND_REVERSE"
[src]

Optional. The type of this transaction event.

§
reason?: string
[src]

Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005.

§
value?: number
[src]

Optional. The value that corresponds with this transaction event, if one exists. For example, a refund event where $5.00 was refunded. Currency is obtained from the original transaction data.