Syntch Gateway API

<back to all web services

GetClosedBatches

Reporting - Settlement
Requires Authentication
Requires any of the roles:Reseller, Merchant
The following routes are available for this service:
GET/reports/settlements/closedGet a list of settlement batches based on your search criteria.
GetClosedBatches Parameters:
NameParameterData TypeRequiredDescription
BeginDatequerystringYesBeginning date of the settlement batch record query.
EndDatequerystringNoEnd date of the settlement batch record query.
TransactionCountqueryint?NoFilter by transaction count.
TotalAmountquerydecimal?NoFilter by total amount.
ProcessorNamequerystringNoFilter by processor name.
BatchIDquerystringNoFilter by batch id.
SettlementTypequerystringNoFilter by settlement type (manual or auto).
ManualSettlementUserquerystringNoFilter by manual settlement user.
SortFieldquerystringNoThe field name by which the records will be sorted. Default is 'BatchDate'.

Allowable Values

  • SettlementTimestamp
  • BatchId
  • TotalAmount
  • ProcessorName
  • TransactionCount
  • SettlementType
  • ManualSettlementUser
SortedRequestDto Parameters:
NameParameterData TypeRequiredDescription
SortDirectionquerystringNoThe direction in which the records will be sorted. Default is 'asc'.

Allowable Values

  • Asc
  • Desc
SortFieldquerystringNoThe field name by which the records will be sorted.
PaginatedRequestDto Parameters:
NameParameterData TypeRequiredDescription
PageSizequeryshortNoThe number of records per page. Default is 20.
PageNumberqueryshortNoThe page number to fetch. Default is 1.

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /reports/settlements/closed HTTP/1.1 
Host: syntch.simpay.net 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'IEnumerable`1' using the custom 'csv' filter}Cannot create an instance of an interface.