API Docs

Batch Report API - V1

Version History

FieldDescriptionSample
05/08/25 Version 1 - ClosedBatchReport: This version enables merchants to retrieve complete batch-level information by passing either the TPN alone, or in combination with batch date and/or batch number.v1/batch-report

The Batch Report API retrieves detailed batch reports for closed batches using the Terminal Profile Number (TPN), Batch Number, and Batch Date.

The report includes the following:

FieldDescription
Batch Profiles A list of all profiles included in this batch. Each profile includes terminal and processor configuration data and detailed transactions.
Cash Payments Total value and count of cash-based transactions.
Alternative Payments Total value and count of payments using alternate methods (e.g., ACH).
Batch Total Total value of all transactions in the batch, including tips and fees.
Total Transactions Count of all transactions included in the batch.
Batch Number Unique identifier automatically assigned to each batch.
Total Tip Cumulative tip amount collected across all transactions.
Total Fee Combined fee charged across all transactions.
Total Without Fee Total transaction amount before applying any fees.

Prerequisites

For Sandbox (UAT)

Users should be onboarded on the iPOSpays sandbox (UAT) environment as a merchant and have a valid CloudPOS TPN.

For Production (Live)

Users should be onboarded on the iPOSpays production environment as a merchant and have a valid CloudPOS TPN.

If you do not have a TPN, contact your ISO or support@dejavoo.io

IndicatorDescription
* Mandatory
** Conditional

How to Generate an Authentication Token

Follow the steps below to obtain your authentication token for accessing the Batch Report API:

Step 1: Access the Authentication Token API

Refer to the official documentation to understand the request structure and response handling:

Step 2: Prepare Your API Credentials

Before making a request, ensure you have the necessary credentials issued by iPOSpays. These include:

{
  "apiKey": "your_api_key_here",           // Required: Your assigned API key from iPOSpays
  "secretKey": "your_secret_key_here",     // Required: Your assigned secret key from iPOSpays
  "scope": "BatchReport"                   // Required: Use "BatchReport" for retrieving closed batch reports
}
  • apiKey: Provided by iPOSpays. Contact support@dejavoo.io or your Dejavoo representative if you haven’t received it.

  • secretKey: Shared along with the API key.

  • scope: Must be set to "BatchReport" for accessing Closed Batch data.

Step 3: Use the Token

After a successful API call, a valid authentication token will be returned in the response.

Include this token in the header of all subsequent Batch Report API requests to ensure authorized access.


End Points and Objects

Request Method

HTTPS Request MethodPOST

End Points

Version 1
Sandbox * https://payment.ipospays.tech/api/v1/batch-report
Production * https://payment.ipospays.com/api/v1/batch-report

Always ensure you’re using the correct token for the respective environment. Tokens generated in UAT will not work in production and vice versa.

Request Parameters - Header Objects

FieldTypeDescription
token * StringAuth token generated from the portal (see above)

Request Parameters - Body Objects

FieldTypeDescription
merchantId * StringTerminal Profile Number (TPN) assigned to the merchant
batchDate* * StringFormat: YYYY-MM-DD. Required if batchNo is used
batchNo* * StringRequired if batchDate is used
  • Provide both batchDate and batchNo to fetch a specific batch.

  • To fetch multiple batches, use just batchDate or only merchantId.


Batch Report JSON Structure

This document outlines the fields present in the batch report JSON payload.

FieldTypeDescription
batch_profiles Array of ObjectsA list of profiles included in this batch, each containing detailed batch information.
cash_payment ObjectSummary of cash payment transactions.
alter_payments ObjectSummary of alternative payment types (e.g., ACH)
batch_total NumberTotal amount of all transactions in the batch
total_transactions NumberTotal number of transactions in the batch
batch_number StringUnique batch identifier
batch_status StringStatus of the batch
total_tip NumberThe total tip amount across all transactions in the batch.
total_fee NumberTotal fee charged across all transactions in the batch.
total_without_fee NumberThe total amount of transactions in the batch, excluding fees.

batch_profiles Object Fields

FieldTypeDescription
profile_name StringThe name of the batch profile.
profileCode StringA code identifying the batch profile.
processorData ObjectContains detailed data related to the payment processor.
batch_number StringThe batch number specific to this profile.
transaction_no NumberThe number of transactions within this specific batch profile.
settleDate StringThe settlement date and time for the batch profile in ISO 8601 format (e.g., "YYYY-MM-DDTHH:mm:ss.SSSZ").
batch_total NumberThe total monetary amount for this batch profile.
batchBase NumberThe base amount for the batch.
tip NumberThe total tip amount for this batch profile.
discount NumberThe total discount amount for this batch profile.
without_tip NumberThe total amount for this batch profile, excluding tips.
without_tax NumberThe total amount for this batch profile, excluding taxes.
customFieldFeeType StringA placeholder or indicator for a custom fee type, currently null.
fee NumberThe total fee amount for this batch profile.
taxAmount NumberThe total tax amount for this batch profile.
localTaxAmount NumberThe local tax amount for this batch profile.
stateTaxAmount NumberThe state tax amount for this batch profile.
withoutLocalTaxAmount NumberThe total amount for this batch profile, excluding local taxes.
withoutStateTaxAmount NumberThe total amount for this batch profile, excluding state taxes.
without_discount NumberThe total amount for this batch profile, excluding discounts.
without_fee NumberThe total amount for this batch profile, excluding fees.
batch_summary Array of ObjectsA summary of transaction types within this batch profile.
batch_details Array of ObjectsDetailed information for each transaction within this batch profile.
summary_type StringIndicates the type of batch summary (e.g., "default").
detail_type StringIndicates the type of batch details (e.g., "default").
batch_summary_group ArrayPlaceholder for grouped batch summary data, currently empty.
batch_details_group ArrayPlaceholder for grouped batch details data, currently empty.

processorData Object Fields

FieldTypeDescription
developerID StringIdentifier for the developer
applicationID StringIdentifier for the application
Mid StringMerchant ID
Agent StringAgent code
Chain StringChain code
Store StringStore number
TermNo StringTerminal number
TermId StringTerminal ID
dba String"Doing Business As" name
city StringMerchant city
state StringMerchant state (two-letter code)
address StringMerchant address
zipCode StringMerchant zip code
phone StringMerchant phone number
Bin StringBank Identification Number
Mcc StringMerchant Category Code
DeviceCode StringCode Identifying the device
IndustryCode StringCode Identifying the industry
dsGroup StringData stream group identifier

batch_summary Object Fields

FieldTypeDescription
inx StringAn index for the summary entry.
type StringThe type of transaction summarized (e.g., "SALE").
profileId StringThe profile ID associated with this summary.
transaction_no NumberThe count of transactions for this type in the summary.
amount NumberThe total amount for this transaction type in the summary.
txName StringThe name of the transaction type

batch_details Object Fields

FieldTypeDescription
groupType StringA placeholder for transaction group type
transactionId StringA unique identifier for the individual transaction
profileId StringThe profile ID associated with this transaction.
invoiceNumber StringThe invoice number for the transaction.
tipAmount NumberThe tip amount for this specific transaction.
totalTaxAmount NumberThe total tax amount for this specific transaction.
localTaxAmount NumberThe local tax amount for this specific transaction.
posRequestDate StringThe date of the POS request (YYYY-MM-DD).
posRequestTime StringThe time of the POS request (HH:mm:ss).
approvalCode StringThe approval code for the transaction.
stateTaxAmount NumberThe state tax amount for this specific transaction.
reducedTax NumberThe reduced tax amount, if applicable
deferredAuth StringInformation regarding deferred authorization, if any.
snfNumber StringService Number Field, if applicable
commercialTaxAmount NumberThe commercial tax amount, if applicable.
rrn StringRetrieval Reference Number for the transaction.
externalRefId StringAn external reference ID.
appCode StringApplication code.
feeAmount NumberThe fee amount for this specific transaction.
voidFlag StringIndicates if the transaction was voided ("N" for No, "Y" for Yes).
baseAmount NumberThe base amount of the transaction.
customFee NumberA custom fee amount for the transaction.
onlyTipAmt NumberThe tip amount, specifically for tip-only transactions or if applicable.
surcharge NumberThe surcharge amount for the transaction.
discount NumberThe discount amount for the transaction.
serviceFee NumberThe service fee amount for the transaction.
merchantFee NumberThe merchant fee amount for the transaction.
reducedTaxFee StringReduced tax fee information.
account StringMasked account number (e.g., credit card number).
type StringThe type of transaction (e.g., "SALE").
amount NumberThe total amount of the transaction.
card StringThe type of card used (e.g., "VISA").
approvedAmount NumberThe approved amount for the transaction.
adjustedTipAmount NumberThe adjusted tip amount, if any.
tagValue StringA placeholder for tag value
tagLabel StringA placeholder for tag label

cash_payment Object Fields

FieldTypeDescription
data ArrayAn array containing details of cash transactions.
cash_txn_count NumberThe total count of cash transactions.
cash_payment_total NumberThe total amount of cash payments.

data ObjectData (Sane Object is used for cash_payment & alter_payment)

FieldTypeDescription
id StringA unique identifier for this specific transaction.
hostResponseCode StringThe response code received from the host system.
posResponseCode StringThe response code from the Point of Sale (POS) system.
txAmount NumberThe transaction amount.
serviceFee NumberThe service fee applied to this transaction.
DiscountFee NumberThe discount fee applied to this transaction.
cashDiscount NumberThe cash discount amount.
onlyTipAmt NumberThe tip amount for this transaction (if applicable, e.g., for tip-only adjustments).
maskedPan StringA masked version of the Primary Account Number (PAN), typically for a card.
rrn StringRetrieval Reference Number for the transaction.
txName StringThe name of the transaction type.
totalAmount NumberThe total amount of the transaction.
approvalCode StringThe approval code for the transaction.
txDate StringThe date and time the transaction occurred in ISO 8601 format (e.g., 'YYYY-MM-DDTHH:mm:ss.SSSZ').
txTime StringThe time portion of the transaction (HH:mm:ss).
tpn StringTransaction Processor Number or similar identifier.
invoiceNumber StringThe invoice number associated with the transaction.
createdAt StringThe date and time when this transaction record was created in ISO 8601 format.
updatedAt StringThe date and time when this transaction record was last updated in ISO 8601 format.
transactionId StringA unique identifier for the transaction.
commonMode StringThe common mode of the transaction (e.g., 'MOBILE').
sourceType StringThe source type of the payment (e.g., 'Paya ACH').
additionalDetails StringPlaceholder for additional details.
destType StringThe destination type of the payment (e.g., 'Paya ACH').
transactionType StringThe type of transaction (e.g., 'CHECK').

alter_payments Object Fields

FieldTypeDescription
data ArrayAn array containing details of cash transactions.
alter_txn_count NumberThe total count of cash transactions.
alter_payment_total NumberThe total amount of cash payments.
total_tip NumberThe total tip amount for give settled.

Sample Requests and Responses

1. 1. Request with TPN, Batch Date, and Batch No

Request
{
  "merchantId": "254525842756",
  "batchDate": "2025-07-03",
  "batchNo": "584"
}

If the request contains the TPN, batch number, and a date, the response will be based on the batch number.

Response: Returns a single batch object.
{
  "batch_profiles": [
    {
      "profile_name": "with fee ",
      "profileCode": "01",
      "processorData": {
        "developerID": "003338",
        "applicationID": "B001",
        "Mid": "888000003338",
        "Agent": "000000",
        "Chain": "111111",
        "Store": "5999",
        "TermNo": "1515",
        "TermId": "75091651",
        "dba": "Raina                    ",
        "city": "New York     ",
        "state": "NY",
        "address": "No.77, New York, Chennai",
        "zipCode": "10005    ",
        "phone": "+19898989898 ",
        "Bin": "999991",
        "Mcc": "5723",
        "DeviceCode": "Q",
        "IndustryCode": "R",
        "dsGroup": ""
      },
      "batch_number": "584",
      "transaction_no": 2,
      "settleDate": "2025-07-03T09:03:35.000Z",
      "batch_total": 29.55,
      "batchBase": 28.41,
      "tip": 0,
      "discount": 0,
      "without_tip": 29.55,
      "without_tax": 29.55,
      "customFieldFeeType": null,
      "fee": 1.14,
      "taxAmount": 0,
      "localTaxAmount": 0,
      "stateTaxAmount": 0,
      "withoutLocalTaxAmount": 29.55,
      "withoutStateTaxAmount": 29.55,
      "without_discount": 29.55,
      "without_fee": 28.41,
      "batch_summary": [
        {
          "inx": "1",
          "type": "SALE",
          "profileId": "01",
          "transaction_no": 2,
          "amount": 29.55,
          "txName": "SALE"
        }
      ],
      "batch_details": [
        {
          "groupType": null,
          "transactionId": "66229138774284275620250702155729",
          "profileId": "01",
          "invoiceNumber": "000002",
          "tipAmount": 0,
          "totalTaxAmount": 0,
          "localTaxAmount": 0,
          "posRequestDate": "2025-07-02",
          "posRequestTime": "15:57:29",
          "approvalCode": "TAS386",
          "stateTaxAmount": 0,
          "reducedTax": 0,
          "deferredAuth": "",
          "snfNumber": null,
          "commercialTaxAmount": 0,
          "rrn": "518310500507",
          "externalRefId": "0",
          "appCode": "TAS386",
          "feeAmount": 0.8,
          "voidFlag": "N",
          "baseAmount": 20,
          "customFee": 0.8,
          "onlyTipAmt": 0,
          "surcharge": 0,
          "discount": 0,
          "serviceFee": 0,
          "merchantFee": 0,
          "reducedTaxFee": "",
          "account": "411111******1111",
          "type": "SALE",
          "amount": 20.8,
          "card": "VISA",
          "approvedAmount": 20.8,
          "adjustedTipAmount": 0,
          "tagValue": null,
          "tagLabel": null
        },
        {
          "groupType": null,
          "transactionId": "27272646365884275620250702175811",
          "profileId": "01",
          "invoiceNumber": "000003",
          "tipAmount": 0,
          "totalTaxAmount": 0,
          "localTaxAmount": 0,
          "posRequestDate": "2025-07-02",
          "posRequestTime": "17:58:11",
          "approvalCode": "TAS042",
          "stateTaxAmount": 0,
          "reducedTax": 0,
          "deferredAuth": "",
          "snfNumber": "",
          "commercialTaxAmount": 0,
          "rrn": "518312501037",
          "externalRefId": "0",
          "appCode": "TAS042",
          "feeAmount": 0.34,
          "voidFlag": "N",
          "baseAmount": 8.41,
          "customFee": 0.34,
          "onlyTipAmt": 0,
          "surcharge": 0,
          "discount": 0,
          "serviceFee": 0,
          "merchantFee": 0,
          "reducedTaxFee": "",
          "account": "411111******1111",
          "type": "SALE",
          "amount": 8.75,
          "card": "VISA",
          "approvedAmount": 8.75,
          "adjustedTipAmount": 0,
          "tagValue": null,
          "tagLabel": null
        }
      ],
      "summary_type": "default",
      "detail_type": "default",
      "batch_summary_group": [],
      "batch_details_group": []
    }
  ],
  "cash_payment": {
    "data": [],
    "cash_txn_count": 0,
    "cash_payment_total": 0
  },
  "alter_payments": {
    "data": [],
    "alter_txn_count": 0,
    "alter_payment_total": 0,
    "total_tip": 0
  },
  "batch_total": 29.55,
  "total_transactions": 2,
  "batch_number": "584",
  "batch_status": "Good Batch",
  "total_tip": 0,
  "total_fee": 1.14,
  "total_without_fee": 28.41
}

2. Request with TPN and Batch Date

Request
{
    "merchantId": "254525842756",
    "batchDate": "2025-07-02"
}

If the request contains both the TPN and a date, the response will include all the batches that were closed on that date

Response: Returns an array of all batches for the specified date. Each object follows the full batch structure.
[
    {
        "batch_profiles": [
            {
                "profile_name": "with fee ",
                "profileCode": "01",
                "processorData": {
                    "developerID": "003338",
                    "applicationID": "B001",
                    "Mid": "888000003338",
                    "Agent": "000000",
                    "Chain": "111111",
                    "Store": "5999",
                    "TermNo": "1515",
                    "TermId": "75091651",
                    "dba": "Raina                    ",
                    "city": "New York     ",
                    "state": "NY",
                    "address": "No.77, New York, Chennai",
                    "zipCode": "10005    ",
                    "phone": "+19898989898 ",
                    "Bin": "999991",
                    "Mcc": "5723",
                    "DeviceCode": "Q",
                    "IndustryCode": "R",
                    "dsGroup": ""
                },
                "batch_number": "584",
                "transaction_no": 2,
                "settleDate": "2025-07-03T09:03:35.000Z",
                "batch_total": 29.55,
                "batchBase": 28.41,
                "tip": 0,
                "discount": 0,
                "without_tip": 29.55,
                "without_tax": 29.55,
                "customFieldFeeType": null,
                "fee": 1.14,
                "taxAmount": 0,
                "localTaxAmount": 0,
                "stateTaxAmount": 0,
                "withoutLocalTaxAmount": 29.55,
                "withoutStateTaxAmount": 29.55,
                "without_discount": 29.55,
                "without_fee": 28.41,
                "batch_summary": [
                    {
                        "inx": "1",
                        "type": "SALE",
                        "profileId": "01",
                        "transaction_no": 2,
                        "amount": 29.55,
                        "txName": "SALE"
                    }
                ],
                "batch_details": [],
                "summary_type": "default",
                "detail_type": "default",
                "batch_summary_group": [],
                "batch_details_group": []
            }
        ],
        "cash_payment": {
            "data": [],
            "cash_txn_count": 0,
            "cash_payment_total": 0
        },
        "alter_payments": {
            "data": [],
            "alter_txn_count": 0,
            "alter_payment_total": 0,
            "total_tip": 0
        },
        "batch_total": 29.55,
        "total_transactions": 2,
        "batch_number": "584",
        "batch_status": "Good Batch",
        "total_tip": 0,
        "total_fee": 1.14,
        "total_without_fee": 28.41
    },
    {
        "batch_profiles": [
            {
                "profile_name": "with fee ",
                "profileCode": "01",
                "processorData": {
                    "developerID": "003338",
                    "applicationID": "B001",
                    "Mid": "888000003338",
                    "Agent": "000000",
                    "Chain": "111111",
                    "Store": "5999",
                    "TermNo": "1515",
                    "TermId": "75091651",
                    "dba": "Raina                    ",
                    "city": "New York     ",
                    "state": "NY",
                    "address": "No.77, New York, Chennai",
                    "zipCode": "10005    ",
                    "phone": "+19898989898 ",
                    "Bin": "999991",
                    "Mcc": "5723",
                    "DeviceCode": "Q",
                    "IndustryCode": "R",
                    "dsGroup": ""
                },
                "batch_number": "585",
                "transaction_no": 2,
                "settleDate": "2025-07-03T09:06:28.000Z",
                "batch_total": 6.86,
                "batchBase": 6.6,
                "tip": 0,
                "discount": 0,
                "without_tip": 6.86,
                "without_tax": 6.86,
                "customFieldFeeType": null,
                "fee": 0.26,
                "taxAmount": 0,
                "localTaxAmount": 0,
                "stateTaxAmount": 0,
                "withoutLocalTaxAmount": 6.86,
                "withoutStateTaxAmount": 6.86,
                "without_discount": 6.86,
                "without_fee": 6.6000000000000005,
                "batch_summary": [
                    {
                        "inx": "1",
                        "type": "SALE",
                        "profileId": "01",
                        "transaction_no": 2,
                        "amount": 6.86,
                        "txName": "SALE"
                    }
                ],
                "batch_details": [],
                "summary_type": "default",
                "detail_type": "default",
                "batch_summary_group": [],
                "batch_details_group": []
            }
        ],
        "cash_payment": {
            "data": [],
            "cash_txn_count": 0,
            "cash_payment_total": 0
        },
        "alter_payments": {
            "data": [],
            "alter_txn_count": 0,
            "alter_payment_total": 0,
            "total_tip": 0
        },
        "batch_total": 6.86,
        "total_transactions": 2,
        "batch_number": "585",
        "batch_status": "Good Batch",
        "total_tip": 0,
        "total_fee": 0.26,
        "total_without_fee": 6.6000000000000005
    }
]

3. Request with TPN only

Request
{
    "merchantId":"254525842756"
}

If the request contains only the TPN, the response will include all the batches that were closed on the date the last batch was closed.

Response: Returns an array of the most recent batch records for the TPN used in the request.
[
  {
    "batch_profiles": [
      {
        "profile_name": "with fee",
        "profileCode": "01",
        "processorData": {
          "developerID": "003338",
          "applicationID": "B001",
          "Mid": "888000003338",
          "Agent": "000000",
          "Chain": "111111",
          "Store": "5999",
          "TermNo": "1515",
          "TermId": "75091651",
          "dba": "Raina                    ",
          "city": "New York     ",
          "state": "NY",
          "address": "No.77, New York",
          "zipCode": "10005    ",
          "phone": "+19898989898 ",
          "Bin": "999991",
          "Mcc": "5723",
          "DeviceCode": "Q",
          "IndustryCode": "R",
          "dsGroup": ""
        },
        "batch_number": "584",
        "transaction_no": 2,
        "settleDate": "2025-07-03T09:03:35.000Z",
        "batch_total": 29.55,
        "batchBase": 28.41,
        "tip": 0,
        "discount": 0,
        "without_tip": 29.55,
        "without_tax": 29.55,
        "customFieldFeeType": null,
        "fee": 1.14,
        "taxAmount": 0,
        "localTaxAmount": 0,
        "stateTaxAmount": 0,
        "withoutLocalTaxAmount": 29.55,
        "withoutStateTaxAmount": 29.55,
        "without_discount": 29.55,
        "without_fee": 28.41,
        "batch_summary": [
          {
            "inx": "1",
            "type": "SALE",
            "profileId": "01",
            "transaction_no": 2,
            "amount": 29.55,
            "txName": "SALE"
          }
        ],
        "batch_details": [
          {
            "groupType": null,
            "transactionId": "66229138774284275620250702155729",
            "profileId": "01",
            "invoiceNumber": "000002",
            "tipAmount": 0,
            "totalTaxAmount": 0,
            "localTaxAmount": 0,
            "posRequestDate": "2025-07-02",
            "posRequestTime": "15:57:29",
            "approvalCode": "TAS386",
            "stateTaxAmount": 0,
            "reducedTax": 0,
            "deferredAuth": "",
            "snfNumber": null,
            "commercialTaxAmount": 0,
            "rrn": "518310500507",
            "externalRefId": "0",
            "appCode": "TAS386",
            "feeAmount": 0.8,
            "voidFlag": "N",
            "baseAmount": 20,
            "customFee": 0.8,
            "onlyTipAmt": 0,
            "surcharge": 0,
            "discount": 0,
            "serviceFee": 0,
            "merchantFee": 0,
            "reducedTaxFee": "",
            "account": "411111******1111",
            "type": "SALE",
            "amount": 20.8,
            "card": "VISA",
            "approvedAmount": 20.8,
            "adjustedTipAmount": 0,
            "tagValue": null,
            "tagLabel": null
          },
          {
            "groupType": null,
            "transactionId": "27272646365884275620250702175811",
            "profileId": "01",
            "invoiceNumber": "000003",
            "tipAmount": 0,
            "totalTaxAmount": 0,
            "localTaxAmount": 0,
            "posRequestDate": "2025-07-02",
            "posRequestTime": "17:58:11",
            "approvalCode": "TAS042",
            "stateTaxAmount": 0,
            "reducedTax": 0,
            "deferredAuth": "",
            "snfNumber": "",
            "commercialTaxAmount": 0,
            "rrn": "518312501037",
            "externalRefId": "0",
            "appCode": "TAS042",
            "feeAmount": 0.34,
            "voidFlag": "N",
            "baseAmount": 8.41,
            "customFee": 0.34,
            "onlyTipAmt": 0,
            "surcharge": 0,
            "discount": 0,
            "serviceFee": 0,
            "merchantFee": 0,
            "reducedTaxFee": "",
            "account": "411111******1111",
            "type": "SALE",
            "amount": 8.75,
            "card": "VISA",
            "approvedAmount": 8.75,
            "adjustedTipAmount": 0,
            "tagValue": null,
            "tagLabel": null
          }
        ],
        "summary_type": "default",
        "detail_type": "default",
        "batch_summary_group": [],
        "batch_details_group": []
      }
    ],
    "cash_payment": {
      "data": [],
      "cash_txn_count": 0,
      "cash_payment_total": 0
    },
    "alter_payments": {
      "data": [],
      "alter_txn_count": 0,
      "alter_payment_total": 0,
      "total_tip": 0
    },
    "batch_total": 29.55,
    "total_transactions": 2,
    "batch_number": "584",
    "batch_status": "Good Batch",
    "total_tip": 0,
    "total_fee": 1.14,
    "total_without_fee": 28.41
  },
  {
    "batch_profiles": [
      {
        "profile_name": "with fee ",
        "profileCode": "01",
        "processorData": {
          "developerID": "003338",
          "applicationID": "B001",
          "Mid": "888000003338",
          "Agent": "000000",
          "Chain": "111111",
          "Store": "5999",
          "TermNo": "1515",
          "TermId": "75091651",
          "dba": "Raina",
          "city": "New York     ",
          "state": "NY",
          "address": "No.77, New YorkChennai",
          "zipCode": "10005    ",
          "phone": "+19898989898 ",
          "Bin": "999991",
          "Mcc": "5723",
          "DeviceCode": "Q",
          "IndustryCode": "R",
          "dsGroup": ""
        },
        "batch_number": "585",
        "transaction_no": 2,
        "settleDate": "2025-07-03T09:06:28.000Z",
        "batch_total": 6.86,
        "batchBase": 6.6,
        "tip": 0,
        "discount": 0,
        "without_tip": 6.86,
        "without_tax": 6.86,
        "customFieldFeeType": null,
        "fee": 0.26,
        "taxAmount": 0,
        "localTaxAmount": 0,
        "stateTaxAmount": 0,
        "withoutLocalTaxAmount": 6.86,
        "withoutStateTaxAmount": 6.86,
        "without_discount": 6.86,
        "without_fee": 6.6000000000000005,
        "batch_summary": [
          {
            "inx": "1",
            "type": "SALE",
            "profileId": "01",
            "transaction_no": 2,
            "amount": 6.86,
            "txName": "SALE"
          }
        ],
        "batch_details": [
          {
            "groupType": null,
            "transactionId": "76398417615484275620250703143549",
            "profileId": "01",
            "invoiceNumber": "000001",
            "tipAmount": 0,
            "totalTaxAmount": 0,
            "localTaxAmount": 0,
            "posRequestDate": "2025-07-03",
            "posRequestTime": "14:35:49",
            "approvalCode": "TAS163",
            "stateTaxAmount": 0,
            "reducedTax": 0,
            "deferredAuth": "",
            "snfNumber": "",
            "commercialTaxAmount": 0,
            "rrn": "518409500250",
            "externalRefId": "0",
            "appCode": "TAS163",
            "feeAmount": 0.22,
            "voidFlag": "N",
            "baseAmount": 5.6,
            "customFee": 0.22,
            "onlyTipAmt": 0,
            "surcharge": 0,
            "discount": 0,
            "serviceFee": 0,
            "merchantFee": 0,
            "reducedTaxFee": "",
            "account": "411111******1111",
            "type": "SALE",
            "amount": 5.82,
            "card": "VISA",
            "approvedAmount": 5.82,
            "adjustedTipAmount": 0,
            "tagValue": null,
            "tagLabel": null
          },
          {
            "groupType": null,
            "transactionId": "14184944649084275620250703143614",
            "profileId": "01",
            "invoiceNumber": "000002",
            "tipAmount": 0,
            "totalTaxAmount": 0,
            "localTaxAmount": 0,
            "posRequestDate": "2025-07-03",
            "posRequestTime": "14:36:14",
            "approvalCode": "TAS189",
            "stateTaxAmount": 0,
            "reducedTax": 0,
            "deferredAuth": "",
            "snfNumber": "",
            "commercialTaxAmount": 0,
            "rrn": "518409500286",
            "externalRefId": "0",
            "appCode": "TAS189",
            "feeAmount": 0.04,
            "voidFlag": "N",
            "baseAmount": 1,
            "customFee": 0.04,
            "onlyTipAmt": 0,
            "surcharge": 0,
            "discount": 0,
            "serviceFee": 0,
            "merchantFee": 0,
            "reducedTaxFee": "",
            "account": "411111******1111",
            "type": "SALE",
            "amount": 1.04,
            "card": "VISA",
            "approvedAmount": 1.04,
            "adjustedTipAmount": 0,
            "tagValue": null,
            "tagLabel": null
          }
        ],
        "summary_type": "default",
        "detail_type": "default",
        "batch_summary_group": [],
        "batch_details_group": []
      }
    ],
    "cash_payment": {
      "data": [],
      "cash_txn_count": 0,
      "cash_payment_total": 0
    },
    "alter_payments": {
      "data": [],
      "alter_txn_count": 0,
      "alter_payment_total": 0,
      "total_tip": 0
    },
    "batch_total": 6.86,
    "total_transactions": 2,
    "batch_number": "585",
    "batch_status": "Good Batch",
    "total_tip": 0,
    "total_fee": 0.26,
    "total_without_fee": 6.6000000000000005
  }
]

Error Response Code & Messages

For a complete list of error codes and their explanations, please visit our Error Codes Reference Page.