Get Open Batch API Example Objects

Example objects for the Get Open Batch API

Approved Get Open Batch

{
    "success": true,
    "content": {
        "batchNbr": "B000731",
        "merchantNbr": "1355",
        "openDate": "2022-11-16T15:22:42.78",
        "closeDate": null,
        "totalAmount": 1700.00,
        "txnsInBatch": 1,
        "status": "Open",
        "transactions": [
            {
                "txnNbr": "T0000004343",
                "externalInvoiceNbr": "INVC0012",
                "amount": 1700.00,
                "txnType": "SALE",
                "txnStatus": "APPROVED",
                "datePosted": "2022-11-16T15:22:42.927",
                "cardNbr": "0166",
                "disputeId": null,
                "rebillInvoiceNbr": null,
                "tailNbr": "Boeing123",
                "branchOfService": null,
                "details": null,
                "isPPSPOS": false
            }
        ]
    },
    "errors": []
}

Rejected Get Open Batch

{
    "success": false,
    "content": null,
    "errors": [
        {
            "code": "P0052",
            "message": "No Open Batch found for this Merchant"
        }
    ]
}