Settlement Batch Summary

Settlement Batch Summary: Generate

See also the Settlement Batch Summary 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.

  1. PHP
$today = new Datetime;
$result = $gateway->settlementBatchSummary()->generate(
  $today->format("Y-m-d"),
  "custom_field_1"
);

if ($result->success) {
  var_dump($result->settlementBatchSummary->records);
}
Parameters
A string representing a transaction's custom field that you wish to group by.
A string representing the date of the settlement batch.

Validation Errorsanchor

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