Header record details in a domestic payout file.
There can be multiple header records in a file, but only a single header per each customer ID (i.e. Settlement Line of Business ID).
The Record type can be dynamically determined by the file consumer using the DomesticPayoutRecord.type field.
| JSON representation | 
|---|
| { "domesticPayoutId": string, "settlementDate": { object ( | 
| Fields | |
|---|---|
| domesticPayoutId | 
 REQUIRED: The Domestic Payout ID. As populated in the file, a combination of a non-zero, non-negative prefix number and the settlement date. | 
| settlementDate | 
 REQUIRED: The settlement date, in milliseconds. This date needs to be greater than, or equal to, the system date. Usually this is the date of the file creation. | 
| settlementLineOfBusinessId | 
 REQUIRED: The customer ID (i.e. Settlement Line of Business ID). | 
| merchantId | 
 REQUIRED: The merchant ID. | 
| paymentRecordCount | 
 REQUIRED: The number of payment records associated with this header. | 
| refundRecordCount | 
 REQUIRED: The number of refund records associated with this header. | 
| paymentGrossAmount | 
 REQUIRED: The gross amount of all payment records associated with this header. | 
| refundGrossAmount | 
 REQUIRED: The gross amount of all refund records associated with this header. | 
| marketplaceAmount | 
 REQUIRED: The "marketplace" amount associated with this header. | 
| incentiveAmount | 
 REQUIRED: The "incentive" amount associated with this header. | 
| Union field adjustment. REQUIRED: The "adjustment" associated with this header.adjustmentcan be only one of the following: | |
| adjustmentCredit | 
 The credit "adjustment" amount associated with this header. | 
| adjustmentDebit | 
 REQUIRED: The debit "adjustment" amount associated with this header. |