EventFeeBreakdown

This represents a breakdown of the eventFee that can be used for reporting purposes to better understand the fee makeup.

JSON representation
{
  "feeDetails": [
    {
      object (FeeDetail)
    }
  ]
}
Fields
feeDetails[]

object (FeeDetail)

The collection of fees which sums to the eventFee for an event and provides a granular breakdown of the fees that were assessed.

FeeDetail

This represents details of a fee or an adjustment.

JSON representation
{
  "unitFee": {
    object (Amount)
  },
  "feeAssessmentSource": {
    object (FeeAssessmentSource)
  },
  "feeType": {
    object (FeeType)
  },
  "feeCategory": string,
  "feeSubCategory": string,
  "feeDescription": string
}
Fields
unitFee

object (Amount)

REQUIRED: If this amount is negative then it represents monetary value moving from Google to the payment integrator. If this is positive it is money from the payment integrator due to Google.

The amount of the fee being described. This can be smaller than the minimum billible unit. The sum of all the unitFee should be close to the eventFee but might not be exact due to rounding or small values less than the minimum billible unit. Because of that, this value might not match the exact amount settled for the transaction. The eventFee should be used for the amount settled.

feeAssessmentSource

object (FeeAssessmentSource)

REQUIRED: The source that is assessing the fee.

feeType

object (FeeType)

REQUIRED: This is the type of the fee event. It might match the event type, but it doesn't have to. For example, an authorization fee might be assessed with a captureEvent.

feeCategory

string

REQUIRED: The category of the fee. e.g. Discount, Fee, etc.

feeSubCategory

string

REQUIRED: The category of the fee. e.g. Authorization, assessment, deposit, etc.

feeDescription

string

REQUIRED: A description of the fee. This field is not parsed by the system and is only for human consumption to better understand the fee.

FeeAssessmentSource

The source that assessed the fee.

JSON representation
{

  // Union field fee_assessment_source can be only one of the following:
  "scheme": {
    object (Empty)
  },
  "interchange": {
    object (InterchangeFee)
  },
  "contract": {
    object (Empty)
  }
  // End of list of possible types for union field fee_assessment_source.
}
Fields
Union field fee_assessment_source. The source reason that this fee was assessed. fee_assessment_source can be only one of the following:
scheme

object (Empty)

The fee is assessed by the scheme or network.

interchange

object (InterchangeFee)

The fee is assessed as part of the interchange fee.

contract

object (Empty)

The fee is specified in the contract between Google and the payment integrator.

InterchangeFee

Detailed information about an interchange fee.

JSON representation
{
  "interchangeCode": string,
  "interchangeQualification": string
}
Fields
interchangeCode

string

REQUIRED: The interchange fee code.

interchangeQualification

string

REQUIRED: The qualification of the interchange fee.

FeeType

The type of fee.

JSON representation
{

  // Union field fee_type can be only one of the following:
  "authorization": {
    object (Empty)
  },
  "capture": {
    object (Empty)
  },
  "refund": {
    object (Empty)
  },
  "chargeback": {
    object (Empty)
  },
  "reverseChargeback": {
    object (Empty)
  },
  "reverseRefund": {
    object (Empty)
  },
  "fxMarkup": {
    object (Empty)
  },
  "authReversal": {
    object (Empty)
  },
  "partialRefund": {
    object (Empty)
  }
  // End of list of possible types for union field fee_type.
}
Fields
Union field fee_type. Specifices which event resulted in a particular fee being assessed. fee_type can be only one of the following:
authorization

object (Empty)

The fee is assessed as part of an authorization.

capture

object (Empty)

The fee is assessed as part of a capture.

refund

object (Empty)

The fee is assessed as part of a refund.

chargeback

object (Empty)

The fee is assessed as part of a chargeback.

reverseChargeback

object (Empty)

The fee is assessed as part of a reverse chargeback.

reverseRefund

object (Empty)

The fee is assessed as part of a reverse refund.

fxMarkup

object (Empty)

The fee is assessed as part of an exchange rate markup.

authReversal

object (Empty)

Fee associated with a reversal of an authorization event.

partialRefund

object (Empty)

Fee associated with a partial refund event.