Settlement Batch Summary
Server-side response object returned directly or within a successful result object from the following requests:
Attributes
records
mapAn array of maps representing settlement batches.
Examples
Generating Settlement Batch Summary
- Callbacks
- Promises
gateway.settlementBatchSummary.generate({
settlementDate: "2012-01-01",
groupByCustomField: "custom_field_1"
}, (err, result) => {
console.log(result.settlementBatchSummary.records);
});
Records data structure
Below is an example of the data structure returned by records.
- JSON
[
{
"custom_field_1": "your_first_custom_value",
"card_type": "Mastercard",
"count": "24",
"merchant_account_id": "your_merchant_account_id",
"kind": "sale",
"amount_settled": "1200.00"
},
{
"custom_field_1": "your_second_custom_value",
"card_type": "Mastercard",
"count": "42",
"merchant_account_id": "your_merchant_account_id",
"kind": "sale",
"amount_settled": "1234.00"
}
]