# Google Cloud Recaptcha Enterprise V1 Client - Class TransactionEventType (2.3.1)

2.3.1 (latest) 2.3.0 2.2.1 2.1.3 2.0.1 1.17.2 1.16.1 1.15.0 1.14.0 1.13.0 1.12.2 1.8.0 1.7.0 1.6.0 1.5.2 1.4.2 1.3.2 1.2.6 Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class TransactionEventType.

Enum that represents an event in the payment transaction lifecycle.

Ensure that applications can handle values not explicitly listed.

Protobuf type `google.cloud.recaptchaenterprise.v1.TransactionEvent.TransactionEventType`

## Namespace

Google \\ Cloud \\ RecaptchaEnterprise \\ V1 \\ TransactionEvent

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### TRANSACTION_EVENT_TYPE_UNSPECIFIED

    Value: 0

Default, unspecified event type.

Generated from protobuf enum `TRANSACTION_EVENT_TYPE_UNSPECIFIED = 0;`

### MERCHANT_APPROVE

    Value: 1

Indicates that the transaction is approved by the merchant. The
accompanying reasons can include terms such as 'INHOUSE', 'ACCERTIFY',
'CYBERSOURCE', or 'MANUAL_REVIEW'.

Generated from protobuf enum `MERCHANT_APPROVE = 1;`

### MERCHANT_DENY

    Value: 2

Indicates that the transaction is denied and concluded due to risks
detected by the merchant. The accompanying reasons can include terms such
as 'INHOUSE', 'ACCERTIFY', 'CYBERSOURCE', or 'MANUAL_REVIEW'.

Generated from protobuf enum `MERCHANT_DENY = 2;`

### MANUAL_REVIEW

    Value: 3

Indicates that the transaction is being evaluated by a human, due to
suspicion or risk.

Generated from protobuf enum `MANUAL_REVIEW = 3;`

### AUTHORIZATION

    Value: 4

Indicates that the authorization attempt with the card issuer succeeded.

Generated from protobuf enum `AUTHORIZATION = 4;`

### AUTHORIZATION_DECLINE

    Value: 5

Indicates that the authorization attempt with the card issuer failed.

The accompanying reasons can include Visa's '54' indicating that the card
is expired, or '82' indicating that the CVV is incorrect.

Generated from protobuf enum `AUTHORIZATION_DECLINE = 5;`

### PAYMENT_CAPTURE

    Value: 6

Indicates that the transaction is completed because the funds were
settled.

Generated from protobuf enum `PAYMENT_CAPTURE = 6;`

### PAYMENT_CAPTURE_DECLINE

    Value: 7

Indicates that the transaction could not be completed because the funds
were not settled.

Generated from protobuf enum `PAYMENT_CAPTURE_DECLINE = 7;`

### CANCEL

    Value: 8

Indicates that the transaction has been canceled. Specify the reason
for the cancellation. For example, 'INSUFFICIENT_INVENTORY'.

Generated from protobuf enum `CANCEL = 8;`

### CHARGEBACK_INQUIRY

    Value: 9

Indicates that the merchant has received a chargeback inquiry due to
fraud for the transaction, requesting additional information before a
fraud chargeback is officially issued and a formal chargeback
notification is sent.

Generated from protobuf enum `CHARGEBACK_INQUIRY = 9;`

### CHARGEBACK_ALERT

    Value: 10

Indicates that the merchant has received a chargeback alert due to fraud
for the transaction. The process of resolving the dispute without
involving the payment network is started.

Generated from protobuf enum `CHARGEBACK_ALERT = 10;`

### FRAUD_NOTIFICATION

    Value: 11

Indicates that a fraud notification is issued for the transaction, sent
by the payment instrument's issuing bank because the transaction appears
to be fraudulent. We recommend including TC40 or SAFE data in the
`reason` field for this event type. For partial chargebacks, we recommend
that you include an amount in the `value` field.

Generated from protobuf enum `FRAUD_NOTIFICATION = 11;`

### CHARGEBACK

    Value: 12

Indicates that the merchant is informed by the payment network that the
transaction has entered the chargeback process due to fraud. Reason code
examples include Discover's '6005' and '6041'. For partial chargebacks,
we recommend that you include an amount in the `value` field.

Generated from protobuf enum `CHARGEBACK = 12;`

### CHARGEBACK_REPRESENTMENT

    Value: 13

Indicates that the transaction has entered the chargeback process due to
fraud, and that the merchant has chosen to enter representment. Reason
examples include Discover's '6005' and '6041'. For partial chargebacks,
we recommend that you include an amount in the `value` field.

Generated from protobuf enum `CHARGEBACK_REPRESENTMENT = 13;`

### CHARGEBACK_REVERSE

    Value: 14

Indicates that the transaction has had a fraud chargeback which was
illegitimate and was reversed as a result. For partial chargebacks, we
recommend that you include an amount in the `value` field.

Generated from protobuf enum `CHARGEBACK_REVERSE = 14;`

### REFUND_REQUEST

    Value: 15

Indicates that the merchant has received a refund for a completed
transaction. For partial refunds, we recommend that you include an amount
in the `value` field. Reason example: 'TAX_EXEMPT' (partial refund of
exempt tax)

Generated from protobuf enum `REFUND_REQUEST = 15;`

### REFUND_DECLINE

    Value: 16

Indicates that the merchant has received a refund request for this
transaction, but that they have declined it. For partial refunds, we
recommend that you include an amount in the `value` field. Reason
example: 'TAX_EXEMPT' (partial refund of exempt tax)

Generated from protobuf enum `REFUND_DECLINE = 16;`

### REFUND

    Value: 17

Indicates that the completed transaction was refunded by the merchant.

For partial refunds, we recommend that you include an amount in the
`value` field. Reason example: 'TAX_EXEMPT' (partial refund of exempt
tax)

Generated from protobuf enum `REFUND = 17;`

### REFUND_REVERSE

    Value: 18

Indicates that the completed transaction was refunded by the merchant,
and that this refund was reversed. For partial refunds, we recommend that
you include an amount in the `value` field.

Generated from protobuf enum `REFUND_REVERSE = 18;`