Report Query

Sends a transaction report request from the Merchant system to Paramount.

Report Request

The report request includes parameters that specify the date range, Merchant details, and can optionally include a specific transaction number. The query_type parameter specifies which types of transactions are included in the report.

ProductQuery interface URL
INTERAChttps://staging.paydirectnow.com/service/servlet/IDSTransQuery

Report Request Parameters

The parameters included in a report request are described in Report request parameters.

🚧

Parameters are case sensitive.

📘

The time between query_sdate and query_edate must not exceed 40 days.

Build and encode the request parameters in the application/x-www-form-urlencoded format.

query_type=5&merchant_pass=0123456789&merchant_id=DemoOne&query_sdate=20240901&query_edate=20240925
ParameterTypeSizeRequiredDescription
merchant_idString8YesThe 8-character Merchant account ID assigned by Paramount.
merchant_passString20YesThe processing password assigned to the Merchant by Paramount.
query_typeString1YesThe report query type.
  • 1: Transaction returns within the date range
  • 2: All transactions within the date range
  • 3: All transactions within the date range (with additional details)
  • 4: Merchant account adjustments within the date range
  • 5: All transactions within the date range (with additional details including bank account number)
  • 6: All transactions inclusive of EFT routed payouts within the date range (with additional details including bank account number)
query_sdateString8YesThe query start date YYYYMMDD (inclusive).
query_edateString8YesThe query end date YYYYMMDD (inclusive).
merchant_txn_numString30NoA query for a specific transaction is identified by the Merchant transaction number. If the parameter is not included or its value is blank, then all transactions in the time range are included in the response.
response_fieldsString110No

Allows you to customize which columns appear in the CSV response. Only applicable to query types 5 and 6; ignored for other query types.

Supply a comma-separated list of field numbers (no duplicates). When omitted, the default field set for the query type is returned (fields 1-17 for type 5, fields 1-19 for type 6).

Fields 18-22 extend the standard set with EFT return details, completion date, payment type, and Interac identifier. Field 19 (EFT return date) is not valid for query type 5.

Example Report Query Request

POST https://staging.paydirectnow.com/service/servlet/IDSTransQuery
Accept: text/plain
Content-Type: application/x-www-form-urlencoded

query_type=5&merchant_pass=0123456789ABCDEF&merchant_id=DemoOne&query_sdate=20240901&query_edate=20240925

Example Report Query Request with Response Fields

POST https://staging.paydirectnow.com/service/servlet/IDSTransQuery
Accept: text/plain
Content-Type: application/x-www-form-urlencoded

merchant_id=DEMO1234&merchant_pass=secretpass&query_type=5&query_sdate=20260301&query_edate=20260310&response_fields=1,4,5,7,20,22

Report Response

The report response contains CSV data where records are delimited by a line-feed (\n) . Fields in each record are delimited by a comma.

Transaction report

The transaction report includes all transactions processed between query_sdate and query_edate. The dates are localized in Eastern Time (UTC-5:00), with daylight saving time applied when necessary.

** Initial requests return default fields based on the query type, but specifying custom response fields will limit the output to only your selection. To access fields 20–22, you must explicitly include them in your response options, though please note that custom field selection is only available for query types 5 and 6.

Field #TypeSizeDescriptionAvailable in Query TypesOptional
1String8The transaction date. YYYYMMDD2, 3, 5
2String1The transaction type:
  • T*: Purchase / deposit
  • F*: Payout / credit
2, 3, 5
3String30The unique merchant-assigned transaction ID that identifies the transaction.2, 3, 5
4String30The transaction ID assigned by Paramount.2, 3, 5
5String10The amount, formatted as a number with the decimal assumed. For example, 20.15 is displayed as 2015.2, 3, 5
6String3The uppercase 3-letter currency code (ISO 4217).2, 3, 5
7String1Any status other than S indicates a failed transaction.

S: Successful
2, 3, 5
8String30The internal user ID from the Paramount system.3, 5
9String10The transaction fee payable by the Merchant, formatted as a number with the decimal assumed. For example, 20.15 is displayed as 2015.3, 5
10String8The 8-character merchant account ID associated with the transaction.3, 5
11String2The error code, if applicable. See Payment Errors.3, 5
12String1The status of the transaction notification between Paramount and the merchant system.
  • I*: Initiated - Paramount was unable to reach the notification URL provided by the merchant.
  • S*: Sent - Paramount was able to reach the notification URL, but didn't receive a verification from the merchant system.
  • C*: Completed - The transaction notification was successfully received and confirmed by the merchant system.
  • N*: Not required - The merchant system doesn't require a notification from Paramount.
3, 5
13String20The Merchant-assigned Consumer user ID.3, 5
14String6The time of the transaction.3, 5
15String2The uppercase 2-letter country code (ISO 3166). Canada is CA.3, 5
16String128The consumer's email address associated with INTERAC at their bank.3, 5
17String32The consumer's bank account number, formatted as xxx-xxxxx-xxxxxxxxxxxxxxxxxxxxxxxx.
For security purposes, only the last 4 digits of the account number are displayed.
The first 3 digits indicate the institution number, the next 5 digits indicate the transit number, and the remaining digits (up to 24) are the bank account number.
5, 6
18String3The return code for an EFT routed payout transaction. See EFT Return Codes for more details.5, 6
19String8The transaction return date. YYYYMMDD6
20String8The transaction completion date YYYYMMDD.5, 6**Need to specify that you need this field.
21String13The payment type used for payin transactions.5, 6**Need to specify that you need this field.
22String80The interac_id returned for payin transactions.5, 6**Need to specify that you need this field.

Return Report

The return report (query type 1) includes all returned transactions with status changes reported between query_sdate and query_edate. The dates are localized in Eastern Time (UTC-05:00), with daylight saving time applied when necessary.

Table 3: Return report

Field #TypeSizeContentDescription
1N8The date when the return transaction was last updated.YYYYMMDD
2AN2The transaction category4: Return
3AN3The return codeThe return code assigned by the consumer's bank. See Return Codes.
4AN30The Merchant transaction IDThe unique merchant-assigned transaction ID that identifies the transaction.
5AN30The return transaction IDThe return transaction ID assigned by Paramount.
6N10The return amountThe amount, formatted as a number with the decimal assumed. For example, 20.15 is displayed as 2015.
7A3The return currencyThe uppercase 3-letter currency code (ISO 4217).
10AN30The original transaction IDThe Paramount transaction ID associated with the original transaction.
11AN20The merchant user IDThe merchant-assigned unique consumer ID.
12A2The country codeThe uppercase 2-letter country code (ISO 3166). Canada is CA.

Adjustment report

The adjustment report (query type 4) includes all merchant account adjustments processed between query_sdate and query_edate. The dates are localized in Eastern Time (UTC-05:00), with daylight saving time applied when necessary.

Field #TypeSizeContentDescription
1N8The transaction dateYYYYMMDD
2AN1The transaction type
  • A*: Account adjustment
3AN1The adjustment type
  • 1*: Payout cancellation

    2: Manual adjustment

    3 : Manual collection
4AN30The transaction IDThe transaction ID assigned by Paramount.
5N10The transaction amountThe amount, formatted as a number with the decimal assumed. For example, 20.15 is displayed as 2015.
6A3The transaction currencyThe uppercase 3-letter currency code (ISO 4217).
7N10The transaction feeThe transaction fee payable by the merchant, formatted as a number with the decimal assumed. For example, 20.15 is displayed as 2015.
8AN8The merchant IDThe 8-character merchant account ID associated with the transaction.
9AN256NotesA description of the adjustment.

Example return report

20240903,T,1725393757742,20240903160246537425030597,209,CAD,R,1683907604842-PTEWNHXG,0,DemoOne,104,C,GD023,160246,null,,
20240903,T,1725394386198,20240903161345833226030603,223,CAD,S,1725394425808-PTXCIOU9,0,DemoOne,,C,20240903-MINT01,161345,null,[email protected],,
20240918,T,1726678010846,20240918124755387792031936,0,CAD,R,1683907604842-PTEWNHXG,0,DemoOne,104,C,GD023,124755,null,,
20240918,T,1726678125218,20240918124854539800031941,0,CAD,R,1683907604842-PTEWNHXG,0,DemoOne,104,C,GD023,124854,null,,
20240924,F,1727207129047,20240924154536053296032601,230,CAD,R,1683907604842-PTEWNHXG,0,DemoOne,P006,C,GD023,154536,null,78LE+f9++oxCS3+qQazapvW87Emdi7Jtx/QYR/fX34I=,