Syntch Gateway API

<back to all web services

GetTransactionSummaryStatistics

Reporting - Statistics (BETA)
Requires Authentication
Requires any of the roles:Reseller, Merchant
The following routes are available for this service:
GET/reports/statistics/transaction-summariesBETA VERSION (Subject to change). Gets the transaction summary statistics associated with the authenticated merchant.
GetTransactionSummaryStatistics Parameters:
NameParameterData TypeRequiredDescription
BeginDatequerystringNoBeginning date of the statistics query. Defaults to the beginning of the previous day.
TransactionSummaryStatistics Parameters:
NameParameterData TypeRequiredDescription
TransactionSummariesmodelList<TransactionSummaryStatistic>NoA list of summary details for this statistic.
SummaryTotalsmodelSummaryTotalsNoA summary totals for this statistic.
SummaryTotalsForCardsmodelSummaryTotalsNoA summary totals for card payments for this statistic.
SummaryTotalsForChecksmodelSummaryTotalsNoA summary totals for check payments for this statistic.
TransactionSummaryStatistic Parameters:
NameParameterData TypeRequiredDescription
PaymentTypeformstringNo
TransactionTypeformstringNo
TransactionCountformintNo
ApprovedAmountformdecimalNo
PaymentTypeCodeformstringNo
SummaryTotals Parameters:
NameParameterData TypeRequiredDescription
DescriptorformstringNo
SalesTotalformdecimalNo
ReturnTotalformdecimalNo

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/statistics/transaction-summaries HTTP/1.1 
Host: syntch.simpay.net 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"TransactionSummaries":[{"PaymentType":"String","TransactionType":"String","TransactionCount":0,"ApprovedAmount":0,"PaymentTypeCode":"String"}],"SummaryTotals":{"Descriptor":"Summary Totals","SalesTotal":0,"ReturnTotal":0},"SummaryTotalsForCards":{"Descriptor":"Summary Totals for Cards","SalesTotal":0,"ReturnTotal":0},"SummaryTotalsForChecks":{"Descriptor":"Summary Totals for Checks","SalesTotal":0,"ReturnTotal":0}}