- JSON representation
- SettlementEntryType
- RefundEvent
- ReverseRefundEvent
- ReverseChargebackEvent
- MiscellaneousAdjustment
Represents an individual settlement line item in a settlement file provided by the payment integrator to settle transactions for GSP cards.
JSON representation |
---|
{
"entryId": string,
"settlementEntryType": {
object ( |
Fields | |
---|---|
entry |
REQUIRED: A non-zero and non-negative number within the settlement file that uniquely identifies a settlement line. |
settlement |
REQUIRED: The type of the settlement entry. |
SettlementEntryType
The type of settlement entry.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field settlement_entry . REQUIRED: Represents a single event in this settlement file. settlement_entry can be only one of the following: |
|
capture |
Details surrounding a capture event that is being settled. |
refund |
Details surrounding a refund event that is being settled. |
reverse |
Details surrounding a reverse refund event that is being settled. |
chargeback |
Details surrounding a chargeback event that is being settled. |
reverse |
Details surrounding a reverse chargeback event that is bing settled. |
funds |
Details surrounding a funds reservation event that is being settled. |
aggregate |
Details surrounding a aggregate adjustment event that is being settled. |
miscellaneous |
Details surrounding a miscellaneous adjustment that is being settled any usages of this type should be communicated with Google prior to usage. |
RefundEvent
This represents a refund where money is being returned to a customer. It will be associated with a refund
event.
JSON representation |
---|
{ "asynchronousRefundRequestId": string, "paymentIntegratorRefundId": string, "eventCharge": { object ( |
Fields | |
---|---|
asynchronous |
REQUIRED: |
payment |
REQUIRED: An ID that is generated by the payment integrator that can be used to refer to this refund event. |
event |
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. |
event |
OPTIONAL: If the settlement currency is different than the purchase currency then this field should be used to specify details about the event in the original purchase currency and the conversion to the settlement amount. |
event |
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. If the fee is broken down into several parts, this value is the sum of them and the amount settled. A breakdown of the fee can be specified in the For example, if an agreement says that Google will pay 1% of the |
event |
OPTIONAL: This is a breakdown of the |
event |
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. This is the value-added-tax (VAT) for the |
ReverseRefundEvent
This represents a reverse refund. It is associated with a reverseRefundNotification
and typically is used when a refund was performed but the issuing bank was unable to return funds to the customer, so they are being returned to Google.
JSON representation |
---|
{ "asynchronousRefundRequestId": string, "paymentIntegratorReverseRefundNotificationRequestId": string, "eventCharge": { object ( |
Fields | |
---|---|
asynchronous |
REQUIRED: |
payment |
REQUIRED: This is the |
event |
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. |
event |
OPTIONAL: If the settlement currency is different than the purchase currency then this field should be used to specify details about the event in the original purchase currency and the conversion to the settlement amount. |
event |
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. If the fee is broken down into several parts, this value is the sum of them and the amount settled. A breakdown of the fee can be specified in the For example, if an agreement says that Google will pay 1% of the |
event |
OPTIONAL: This is a breakdown of the |
event |
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. This is the value-added-tax (VAT) for the |
ReverseChargebackEvent
This represents a reverse chargeback. It is associated with a reverseChargebackNotification
and is used when Google successfully disputes a chargebackNotification
. The funds are being returned to Google.
JSON representation |
---|
{ "captureRequestId": string, "paymentIntegratorReverseChargebackNotificationRequestId": string, "eventCharge": { object ( |
Fields | |
---|---|
capture |
REQUIRED: |
payment |
REQUIRED: This is the |
event |
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. |
event |
OPTIONAL: If the settlement currency is different than the purchase currency then this field should be used to specify details about the event in the original purchase currency and the conversion to the settlement amount. |
event |
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. If the fee is broken down into several parts, this value is the sum of them and the amount settled. A breakdown of the fee can be specified in the For example, if an agreement says that Google will pay 1% of the |
event |
OPTIONAL: This is a breakdown of the |
event |
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. This is the value-added-tax (VAT) for the |
MiscellaneousAdjustment
Miscellaneous Adjustments should only be used in exceptional situations when no other entries are suitable to represent money movement. Google will monitor the usage of this type of entry and consider it a bug if it's used systematically.
JSON representation |
---|
{
"adjustmentDescription": string,
"adjustmentAmount": {
object ( |
Fields | |
---|---|
adjustment |
REQUIRED: Adjustment description should clearly explain the nature and exceptional circumstances of the adjustment. |
adjustment |
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 adjustment that will be factored into the |