# SandboxSettlementCloseResultDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

What an on-demand sandbox batch close did.

## Fields
- `merchantId` (string(uuid)): The merchant whose batch was closed, resolved from the caller's own credential.
- `settledTransactionCount` (integer(int32)): How many transactions moved to settled across every batch this close created.
- `settledTotalAmount` (number(double)): The gross amount those transactions carried.
- `batches` (array<[SandboxSettlementBatchDto](https://devportal.demo.winkpg.io/docs/api/models/SandboxSettlementBatchDto.md)>): The batches this close created, one per processor the merchant had outstanding work on. (nullable)
  Fields of each item:
  - `settlementBatchId` (string(uuid)): The gateway settlement batch this close created, as it appears in settlement history.
  - `processorBatchId` (string): The batch identifier stamped onto every transaction the batch carries. (nullable)
  - `transactionCount` (integer(int32)): How many transactions the batch settled.
  - `totalAmount` (number(double)): The batch's gross settled amount.
- `failedBatchCount` (integer(int32)): How many of the merchant's processor groups failed to settle.

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
