Service Location:
For SOAP connections:
https://<assigned domain>/paygate/ws/trxdetail.asmx?op=GetCardTrx
For standard HTTPS connections:
https://<assigned domain>/paygate/ws/trxdetail.asmx/GetCardTrx?
Description:
This web service returns one or more card transactions (with details) for a specific merchant.
In addition to the basic transaction search function, the GetCardTrx web service can help you:
• Build a variety of custom reports, from customer billing histories to reports that help locate duplicate transactions.
• Build data mining applications. For example, determining what percentage of sales derive from specific users or payment types. If you have multiple gateway accounts, you can compile the data from multiple sources into your own customized and aggregated reports.
• Automate the reconciliation process
between the payment server and the point-of-sale (POS) system or
register.
Developer
Notes:
Date
Formats: Dates entered through input parameters are automatically formatted to
YYYY-MM-DDThh:mm:ss (time is in 24-hour format using Coordinated
Universal Time (UTC). Valid entry formats are:
• MM/DD/YYYY
• YYYY-MM-DD
• YYYY-MM-DDThh:mm:ss
Date Query String: The query string used to obtain transactions in a date range is constructed as follows:
(Date DT >=BeginDt) AND (Date DT <EndDt)
*Date DT is the transaction timestamp.
Parameters Accepting Multiple Values: Some parameters (for example, PaymentType and TransType) will accept multiple values and return results using an either/or filter. When inputting multiple parameter values, use the following format:
’VALUE1’,’VALUE2’,’VALUE3’
Important: When entering any values in parameters accepting multiple entries, the values must be enclosed in single quotes (‘ ‘) to be accepted. Values are not case sensitive.
For example, the following values entered in the PaymentType parameter would return results with either the PayReceipt or Settle payment types:
’PAYRECEIPT’,’SETTLE’
Input Parameters:
O = Optional, R= Required, R* = Required unless a value of PNRef is provided
Opt/Req |
||
R |
User name assigned in the payment server. The user must have the apporpriate security permissions in order for the system to return transaction records. | |
R |
||
R |
Unique value assigned to each gateway account used as a third credential to ensure security and Note: RPNum may also be called Merchant ID, Merchant Number, or Vendor Key. | |
O |
The unique payment reference number assigned to the transaction. If this field is provided, all other query fields will be ignored when using PNRef parameter to query the system. | |
R* |
||
R* |
||
O |
If provided, only those transactions matching the PaymentType will be included. Valid values are: • 'AMEX' American Express card • 'CARTBLANCH' Carte Blanch card • 'DISCOVER' Novus Discover card • 'EBT' Electronic Benefit Transfer • 'JCB' Japanese Commercial Bank card • ‘EGC’ Gift card • 'PAYRECEIPT' to retrieve receipt images that were uploaded to the payment server • 'SETTLE' to retrieve requests to settle transactions Note: The default value for this field is “All”. If no value is set, all payment types will be returned in the result set. Or any permutation of the above values, e.g. "'PAYRECEIPT','SETTLE'" will pull all transactions with either PayReceipt or Settle payment types. | |
O |
The ExcludePaymentType parameter allows you to exclude certain payment types from the result set. Any valid entry (or combination) listed under the PaymentType parameter may be used. Note: If you pass the same value in the PaymentType and ExcludePaymentType parameters, the entry in the ExcludePaymentType parameter will override the PaymentType and results of that type will be excluded. | |
O |
If provided, only those transactions matching the TransType will be included. Valid values are • 'Authorization' to retrieve previously-authorized (pre-auth) transactions • 'Capture' to retrieve captured transactions • 'Credit' to retrieve return transactions • 'ForceCapture' to retrieve force-auth transactions • 'GetStatus' to make an inquiry to the EBT or gift card’s balance • 'PostAuth' to retrieve post-auth transactions • 'Purged' to remove a transaction from the current batch due to an error • 'Receipt' to retrieve receipt images that were uploaded to the payment server • 'RepeatSale' to retrieve repeat-sale transactions • 'Sale' to retrieve sale transactions • 'Void' to retrieve void transactions Or any permutation of the above values, e.g. "'Credit','Sale'" will pull all transactions with either Credit or Sale transaction types. | |
O |
The ExcludeTransType parameter allows you to exclude certain transaction types from the result set. Any valid entry (or combination) listed under the TransType parameter may be used. Note: If you pass the same value in the TransType and ExcludeTransType parameters, the entry in the ExcludeTransType parameter will override the TransType and results of that type will be excluded. Note: A value of ‘Void’ in the ExcludeTransType parameter will be overridden by the ExcludeVoid if both parameters are used. This parameter accepts multiple values. | |
O |
The approval code is a 6-character string (alphanumeric) generated by the issuing bank. The code is used the card issuer to verify the specific authorization when transactions are being settled. This field may also be used by payment processors to return error messages. Note: You may only query one approval code at a time; however, approval codes are not necessarily unique and there is potential (rare) for more than one record to be returned. | |
O |
If provided, only those transactions matching the Result will be included. Valid values are: • ‘NULL’ returns both approved and declined transactions • ‘0’ returns only approved transactions • Any other value for Result will return transactions matching that Result code. Note: to return only declined transactions do not pass a value for this parameter and instead set ExcludeResult = 0 | |
O |
If provided, any transactions matching the ExcludeResult will be excluded. Note: To return a only declined transactions, set ExcludeResult = 0 | |
O |
Cardholder’s name as it is appears on the card. If provided, only those transactions with cardholder’s name matching NameOnCard will be included. Matching is done using wild cards: e.g. "test" will match "test", "1test" and "1test234" | |
O |
A card number. If provided, only those transactions with the card number matching CardNum will be included. Matching is done using wild cards. | |
O |
This field has been deprecated. Please use the PaymentType field to specify the type of card used in a transaction. | |
O |
This field has been deprecated. Please use the ExcludePaymentType field to specify the type of cards you wish to be excluded from the result set. | |
R* |
The ExcludeVoid parameter allows you to exclude voided transactions from the result set. Valid entries are: • ‘TRUE’ – voided transactions are excluded • ‘FALSE’ – voided transactions are included Note: A value of ‘Void’ in the ExcludeTransType parameter will be overridden by the ExcludeVoid if both parameters are used. | |
O |
The user who originated the transactions. If provided, only those transactions created by the matching User will be included. Matching is done using wild cards: e.g. "test" will match "test", "1test" and "1test234" | |
O |
The invoice ID that was included in the original transaction. If provided, only those transactions with matching invoiceId will be included. Matching is done using wild cards: e.g. "test" will match "test", "1test" and "1test234" | |
O |
The SettleFlag parameter allows you to choose whether settled or unsettled transactions are included in the results. Valid entries are: • Unused/blank returns all transactions • ‘1’ - returns only settled transactions • ‘0’ - returns only transactions that are not yet settled | |
O |
||
O |
||
O |
The type of format to transform the data into. Leave the field blank to default to XML • ‘XML’ will output the plain XML string | |
O |
This field is used only if the TransformType is XSL. If provided, the resulting dataset will be transformed using this XSL. You may pass in a URL to the XSL file, or the XSL string itself. If this field is not empty, the Web Services will try to locate the file from the URL. If that also fails, it will treat it as an XSL string. In any case, the final XSL string will be loaded and validated against the XSL schema; if it passes, then that XSL will be used for transformation. A sample predefined XSL is included with this Web Services: • ‘https://<PMN assigned host name>/admin/ws/TabDelim.xsl’ for a tab delimited transformation | |
O |
This field is used only if the TransformType is DELIM. This defines the string that separates each column: e.g. a value of ‘@’, would separate each column value with ‘@’ | |
O |
This field is used only if the TransformType is DELIM. This defines the string that separates each row e.g. a value of ‘!’ would start each row with ‘!’ | |
O |
This field is used only if the TransformType is DELIM. If TRUE, then field headers will be included in the first row using the same delimiter strings; must either be TRUE or FALSE | |
O |
The ExtData parameter allows you to pass additional information to the web service that is not covered under the input parameters. ExtData values need not be placed in any particular order; however, they must be properly formatted using XML tags. Extended data in XML format. Valid values are: • ‘<IMAGE_TYPE>NO_IMAGE</IMAGE_TYPE>’ – Will only return transaction data that does not include image data (to include signature data and check images) • ‘<IMAGE_TYPE>ONLY_IMAGE</IMAGE_TYPE>’ – Will only return transaction data that includes image data (to include signature data and check images) • ‘<IMAGE_TYPE>ALL</IMAGE_TYPE>’- will return transaction with or without image data • ‘<CustomerID>CustomerID</CustomerID>’ – specifies the customer ID value to search by. Matching is done using wild cards: e.g. "test" will match "test", "1test" and "1test234" • ‘<Amount>Amount</Amount>’ – specifies the amount value of the transactions being searched for. In DDDDDD.CC format • ‘<RegisterNum>RegisterNum</RegisterNum>’ - apecifies the register number, originally passed with the transaction, to search by • <Timezone>Timezone</Timezone> - Used to convert the input and output (where applicable) date/time values to the desired timezone. When specified, the same timezone is used to convert the begin/end date parameters as well as the Date and Last Update output values. This field is optional, and if omitted all date/time values are treated as UTC. Daylight savings time adjustments, where applicable, are handled automatically. Accepted values are: § AKST – Alaskan Standard Time § CST – Central Standard Time § EST – Eastern Standard Time § HST – Hawaiian Standard Time § MST – Mountain Standard Time § AZMST – Arizona § PST – Pacific Standard Time |