Settlement Batch Summaryanchor

Returned directly or within a successful result object from the following requests:
Attributes

An array of maps representing settlement batches.

Examplesanchor

Generating Settlement Batch Summaryanchor

  1. Python
result = gateway.settlement_batch_summary.generate(
  datetime.datetime.today().strftime("%Y-%m-%d"),
  "custom_field_1"
)

if result.is_success:
  print(result.settlement_batch_summary.records)

Records data structureanchor

Below is an example of the data structure returned by records.

  1. 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"
  }
]