Transactions Export Data

Returns daily financial transaction data grouped by merchant and batch in XML format, including card type, masked PAN, transaction amount, terminal entry mode, and authorization details.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Transactions Export Data

The Transactions export file provides detailed financial transaction data organized by merchant and batch. It covers all payment transactions processed on a given date and is the primary file for transaction-level reconciliation, interchange qualification analysis, and settlement verification. Amounts are expressed in cents throughout the file.

Endpoint

GET /download/YYYYMMDD/Transactions

Authentication

Basic HTTP Authentication required.
Encode username:password in Base64 and pass in the Authorization header:

Authorization: Basic {base64(username:password)}

When to use

Use this file daily to reconcile settled transactions against batch totals, verify that NetDepositAmount at the batch level equals SalesAmount minus RefundAmount minus fees, and audit TerminalEntryMode values to ensure correct interchange qualification. Cross-reference PS2000TransactionIdentifier with the TransactionsExtendedData file when analyzing interchange costs by extended card type.

Query Parameters

None. The file is identified by the date path segment (YYYYMMDD) and delivered via SFTP.

Response

200 OK — Returns XML content with the following structure:

XML Hierarchy: Merchant > Batches > Batch > Transactions > Transaction

<Merchant> fields:

FieldTypeDescription
MIDstringMerchant identifier (unique account number)

<Batch> fields:

FieldTypeDescription
InternalIdintegerInternal system identifier for the batch
BatchIdstringExternal batch identifier
PointOfSaleOrInteractionTerminalIdentifierstringV-number: terminal ID where the batch originated
BatchDatedatetimeDate the batch was closed
MerchantDepositDatedatetimeDate funds are scheduled to be deposited to the merchant
BatchNumberstringSequential batch number for the processing period
NetDepositAmountdecimalNet amount deposited after fees and refunds (in cents)
TransactionsCountintegerTotal number of transactions in the batch
SalesAmountdecimalTotal sales volume in cents
SalesCountintegerNumber of sale transactions
RefundAmountdecimalTotal refund amount in cents
RefundCountintegerNumber of refund transactions

<Transaction> fields:

FieldTypeDescription
CardTypestringCard network: V = Visa, M = Mastercard, S = Amex, D = Discover, R = Discover (proprietary BIN)
CardholderAccountNumberstringMasked card PAN, e.g. 000000******0000
TransactionDatedatetimeDate and time the transaction occurred
TransactionAmountdecimalTransaction amount in cents
TerminalEntryModestringCard capture method: 01 = manual, 02 = magnetic stripe, 05 = chip/EMV, 07 = contactless
AuthorizationCodestringApproval code returned by the card issuer
AuthorizationSourceCodestringSource of authorization response (empty for Mastercard)
CardholderIdentificationMethodstringCardholder ID: space = not specified, 1 = signature, 2 = PIN, 3 = unattended, 4 = MOTO
AuthorizationCharacteristicsIndicatorstringInterchange qualification indicator
PS2000TransactionIdentifierstringUnique network-level transaction reference identifier
ValidationCodestringInterchange validation code (empty for Mastercard)
TransactionCodestringInternal code classifying the transaction type
AuthorizationResponseCodestringIssuer response code: 00 = approved
TransactionFeedecimalFee applied to the transaction in cents (0 if none)
TransactionFeeIndicatorstringFee type indicator (empty if none)
<Merchant>
  <MID>9180000000001234</MID>
  <Batches>
    <Batch>
      <InternalId>20275286</InternalId>
      <BatchId>00000124797</BatchId>
      <PointOfSaleOrInteractionTerminalIdentifier>79416045</PointOfSaleOrInteractionTerminalIdentifier>
      <BatchDate>2026-05-27T00:00:00</BatchDate>
      <MerchantDepositDate>2026-05-28T00:00:00</MerchantDepositDate>
      <BatchNumber>0193</BatchNumber>
      <NetDepositAmount>47500</NetDepositAmount>
      <TransactionsCount>2</TransactionsCount>
      <SalesAmount>47500</SalesAmount>
      <SalesCount>2</SalesCount>
      <RefundAmount>0</RefundAmount>
      <RefundCount>0</RefundCount>
      <Transactions>
        <Transaction>
          <CardType>V</CardType>
          <CardholderAccountNumber>414100******0555</CardholderAccountNumber>
          <TransactionDate>2026-05-27T14:22:00</TransactionDate>
          <TransactionAmount>25000</TransactionAmount>
          <TerminalEntryMode>07</TerminalEntryMode>
          <AuthorizationCode>412649</AuthorizationCode>
          <AuthorizationSourceCode>V</AuthorizationSourceCode>
          <CardholderIdentificationMethod>1</CardholderIdentificationMethod>
          <AuthorizationCharacteristicsIndicator>E</AuthorizationCharacteristicsIndicator>
          <PS2000TransactionIdentifier>346134553487245</PS2000TransactionIdentifier>
          <ValidationCode>ML6X</ValidationCode>
          <TransactionCode>0101</TransactionCode>
          <AuthorizationResponseCode>00</AuthorizationResponseCode>
          <TransactionFee>0</TransactionFee>
          <TransactionFeeIndicator />
        </Transaction>
        <Transaction>
          <CardType>M</CardType>
          <CardholderAccountNumber>536759******6473</CardholderAccountNumber>
          <TransactionDate>2026-05-27T15:10:00</TransactionDate>
          <TransactionAmount>22500</TransactionAmount>
          <TerminalEntryMode>05</TerminalEntryMode>
          <AuthorizationCode>072795</AuthorizationCode>
          <AuthorizationSourceCode />
          <CardholderIdentificationMethod>1</CardholderIdentificationMethod>
          <AuthorizationCharacteristicsIndicator>A</AuthorizationCharacteristicsIndicator>
          <PS2000TransactionIdentifier>MDJN4MFFJ</PS2000TransactionIdentifier>
          <ValidationCode />
          <TransactionCode>0101</TransactionCode>
          <AuthorizationResponseCode />
          <TransactionFee>0</TransactionFee>
          <TransactionFeeIndicator />
        </Transaction>
      </Transactions>
    </Batch>
  </Batches>
</Merchant>

Error Codes

CodeWhen it happens
400Malformed date format in URL path
401Invalid or missing Basic Auth credentials
403User does not have permission for this operation
404No Transactions file found for the specified date
500Internal server error

Common Mistakes

  • Not dividing amounts by 100 — TransactionAmount: 25000 = $250.00; all amounts are in cents.
  • Treating NetDepositAmount as the gross sales total — it is the net after refunds and fees at the batch level.
  • Flagging empty ValidationCode and AuthorizationResponseCode for Mastercard as errors — these fields are intentionally blank for Mastercard.
  • Using TerminalEntryMode incorrectly can result in interchange downgrades — validate that the reported entry mode matches the physical capture method at the terminal.
  • Not masking CardholderAccountNumber in downstream storage — the file already delivers a masked PAN but parsers must not re-expose raw data in logs.

Related Endpoints

  • GET /download/YYYYMMDD/SimplifiedFormat — simplified multi-merchant consolidated format
  • GET /download/YYYYMMDD/TransactionsExtendedData — extended card type and network identifier per transaction
  • GET /download/YYYYMMDD/TransAuth — authorization records for each transaction attempt
  • GET /download/YYYYMMDD/ACH — ACH deposit records that settle the batches in this file

Example

curl -X GET "https://hq.staging.netevia.dev/download/20260528/Transactions" \
  -H "Authorization: Basic $(echo -n 'username:password' | base64)"
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/json
mid
batches