Syntch Gateway API

<back to all web services

GetSettlementBatches

Reporting - Settlement
Requires Authentication
Requires any of the roles:Reseller, Merchant
The following routes are available for this service:
GET/reports/settlements/Get a list of settlement batches based on your search criteria.
GetSettlementBatches Parameters:
NameParameterData TypeRequiredDescription
BeginDatequerystringYesBeginning date of the settlement batch record query.
EndDatequerystringNoEnd date of the settlement batch record query.
MerchantKeyquerystringNoThe key of the merchant of the settlement batches.
SortFieldquerystringNoThe field name by which the records will be sorted. Default is 'BatchDate'.

Allowable Values

  • BatchDate
  • BatchId
  • TotalAmount
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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

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

[{"MerchantName":"String","Batches":[{"BatchId":"String","BatchDate":"0001-01-01T00:00:00.0000000","Processor":"String","Message":"String","TransactionCount":0,"SaleAmount":0,"ReturnAmount":0,"TotalAmount":0,"MID":"String"}],"Pagination":{"CurrentPageNumber":0,"PageSize":0,"TotalRecordCount":0}}]