AI-generated Key Takeaways
-
GspDomesticPayoutRecord defines the structure for records within a domestic payout file, encompassing header, payment, and refund details.
-
Each record type (header, payment, refund) is identified by the
type
field within the GspDomesticPayoutRecord. -
GspDomesticPayoutTransaction provides details for individual payment or refund transactions within the file.
-
Transaction records are linked to a header record using the
domesticPayoutId
andsettlementLineOfBusinessId
. -
Each transaction record includes crucial information like transaction date, Google transaction ID, merchant ID, amount, and processor transaction ID.
Record details in a domestic payout file.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field type . REQUIRED: Type of record. type can be only one of the following: |
|
header |
Header record details. |
payment |
Payment record details. |
refund |
Refund record details. |
GspDomesticPayoutTransaction
Transaction record details in a domestic payout file.
There can be multuple transaction records in a file. Each transaction record can be either a payment or a refund. Additionally, transaction records are related to a single DomesticPayoutHeader
via domestic payout ID and customer ID (i.e. Settlement Line of Business ID).
The Record type can by dynamically determined by the file creator using the DomesticPayoutRecord.type
field.
JSON representation |
---|
{ "domesticPayoutId": string, "transactionDate": { object ( |
Fields | |
---|---|
domesticPayoutId |
REQUIRED: The domestic payout ID that relates this transaction to a header. |
transactionDate |
REQUIRED: The date of the transaction, in milliseconds. |
googleTransactionId |
REQUIRED: The Google-specific transaction ID (e.g. end-to-end ID). |
settlementLineOfBusinessId |
REQUIRED: The customer ID (i.e. Settlement Line of Business ID). |
merchantId |
REQUIRED: The merchant ID. |
amount |
REQUIRED: The amount of the transaction. |
processorTransactionId |
REQUIRED: The "processor transaction ID". This provided by the processor. |