See also the SettlementBatchSummary response object.

The settlement batch summary displays the total sales and credits for each batch for a particular date. The transactions can be grouped by a single custom field's values.

result = gateway.settlement_batch_summary.generate("%Y-%m-%d"),

if result.is_success:
'group_by_custom_field' str

A string representing a transaction's custom field that you wish to group by.

'settlement_date' required, str

A string representing the date of the settlement batch.

Validation Errors

If you call this method with incorrect arguments, you may receive validation errors.