Syntch Gateway API

<back to all web services

GetTransactions

Reporting - Transaction Detail
Requires Authentication
Requires any of the roles:Reseller, Merchant
The following routes are available for this service:
POST/reports/transactions/Get a list of transactions based on your search criteria.
GET/reports/transactions/Get a list of transactions based on your search criteria.
GetTransactions Parameters:
NameParameterData TypeRequiredDescription
BeginDatemodelstringYesBeginning date of the transaction record query.
EndDatemodelstringNoEnd date of the transaction record query.
TransactionTypemodelList<TransactionType>NoIf provided, only those transactions matching the TransactionTypes will be included.

Allowable Values

  • Authorization
  • Sale
  • Return
  • Void
  • Force
  • Capture
  • CaptureAll
  • RepeatSale
  • Adjustment
  • Activate
  • Deactivate
  • Redeem
  • Inquire
  • Reload
InvoiceNumbermodelstringNoThe invoice ID that was included in the original transaction. If provided, only those transactions with matching invoiceId will be included.
SettlementFlagmodelSettlementFlag?NoThe SettlementFlag parameter allows you to choose whether settled or unsettled transactions are included in the results.

Allowable Values

  • All
  • Unsettled
  • Settled
SettleBeginDatemodelstringNoBeginning date of the settlement search window.
SettleEndDatemodelstringNoEnd date of the settlement search window.
SettleMessagemodelstringNoThe settlement ID or message returned from the host.
SettleStatusmodelSettleStatus?NoAllows you to choose whether settled or unsettled transactions are included in the results.
UsernamemodelstringNoThe user who originated the transactions. If provided, only those transactions created by the matching User will be included.
ResultCodemodelList<string>NoIf provided, only those transactions matching the Result will be included.
RegistermodelstringNoThe register (if applicable) on which the transaction was processed
ApprovalCodemodelstringNoThe approval code is a alphanumeric value generated by the issuing bank. This field may also be used by payment processors to return error messages. Note: Approval codes are not necessarily unique and there is potential (rare) for more than one record to be returned.
NameOnInstrumentmodelstringNoFor card transactions, this is the name on the card. For check transactions, this is the name on the check. If provided, only those transactions with a matching instrument name will be included.
CustomerIdmodelstringNoMerchant-assigned identifier of the customer associated with the transaction(s)
ContractIdmodelstringNoMerchant-assigned identifier of the contract associated with the transaction(s)
ContractKeymodelint?NoSystem-assigned identifier of the contract associated with the transaction(s)
SortFieldmodelstringNoThe field name by which the records will be sorted. Default is 'BeginDate'.

Allowable Values

  • PnRef
  • InvoiceNumber
  • TransactionTimestamp
  • AuthorizationTimestamp
  • MerchantKey
  • ResellerKey
  • PaymentType
  • TransactionType
  • Processor
CustomFieldsmodelCustomField[]NoCustom field value(s) used to filter query results
TotalAmountMaxmodeldecimal?NoSpecifies the maximum amount value of the transactions being searched for. In DDDDDD.CC format
TotalAmountMinmodeldecimal?NoSpecifies the minimum amount value of the transactions being searched for. In DDDDDD.CC format
PaymentTypemodelList<PaymentType>NoIf provided, only those transactions matching the Payment Type will be included.

Allowable Values

  • VISA
  • DINERS
  • AMEX
  • MASTERCARD
  • JAL
  • JCB
  • DISCOVER
  • CARTEBLANCHE
  • EBT
  • LOYALTY
  • DEBIT
  • ECG
  • CASH
  • VERIFY
  • ECHECK
CardNumbermodelstringNoIf provided, only those transactions with an exact Card Number match will be included.
CheckTypemodelList<CheckType>NoIf provided, only those transactions matching the Check Type will be included.

Allowable Values

  • Business
  • Personal
CheckAccountTypemodelList<CheckAccountType>NoIf provided, only those transactions matching the Check Account Type will be included.

Allowable Values

  • Checking
  • Savings
CheckAccountNumbermodelint?NoIf provided, only those transactions with an exact Check Account Number match will be included.
CheckRoutingNumbermodelint?NoIf provided, only those transactions with an exact Check Routing Number match will be included.
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.
TransactionType Enum:
Void
Settle
SettleAll
Reversal
Refund
Sale
AuthOnly
OfflineAuth
CardVerify
AuthCapture
Adjustment
RepeatSale
BalanceInquire
SettlementFlag Enum:
NameValue
Unsettled0
Settled1
All99
SettleStatus Enum:
open
settled
rolledBack
CustomField Parameters:
NameParameterData TypeRequiredDescription
Keymodelint?NoGateway key for the custom field
NamemodelstringNoName of the custom field as set by the merchant
ValuemodelstringNoValue (if applicable) to store in the custom field
PaymentType Enum:
VISA
DINERS
AMEX
MASTERCARD
JAL
JCB
DISCOVER
CARTEBLANCHE
EBT
LOYALTY
DEBIT
ECG
CASH
VERIFY
ECHECK
CheckType Enum:
NameValue
Personal1
Business2
CheckAccountType Enum:
NameValue
Checking1
Savings2

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.

POST /reports/transactions/ HTTP/1.1 
Host: syntch.simpay.net 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"BeginDate":"0001-01-01T00:00:00.0000000","EndDate":"0001-01-01T00:00:00.0000000","TransactionType":["Authorization"],"InvoiceNumber":"String","SettlementFlag":"Unsettled","SettleBeginDate":"0001-01-01T00:00:00.0000000","SettleEndDate":"0001-01-01T00:00:00.0000000","SettleMessage":"String","SettleStatus":"open","Username":"String","ResultCode":["String"],"Register":"String","ApprovalCode":"String","NameOnInstrument":"String","CustomerId":"String","ContractId":"String","ContractKey":0,"SortField":"String","CustomFields":[{"Key":0,"Name":"String","Value":"String"}],"TotalAmountMax":0,"TotalAmountMin":0,"PaymentType":["VISA"],"CardNumber":"String","CheckType":["Personal"],"CheckAccountType":["Checking"],"CheckAccountNumber":0,"CheckRoutingNumber":0,"SortDirection":"String","PageSize":0,"PageNumber":0}
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.