Multiple PIF Transactions in JSON Format

Example of creating a PIF with multiple payments

POST: https://sandbox-api.cpxenterprise.com/payment/v1/pifTransactions/json

[
    {
        "nid": "fid",
        "fid": "fid",
        "buyerId": "buyerid",
        "fileDate": "2010-01-20",
        "transactionId": "transactionid1",
        "amount": 0.01,
        "poNumber": "0024",
        "poDate": "2019-11-21",
        "supplierId": "supplierid",
        "supplierName": "suppliername",
        "supplierAddressLine1": "1112 Main Street",
        "supplierAddressLine2": "Unit Z",
        "supplierCity": "Altta",
        "supplierState": "GA",
        "supplierZip": "30085",
        "supplierEmail": "[email protected]"
    },
    {
        "nid": "fid",
        "fid": "fid",
        "buyerId": "buyerid",
        "fileDate": "2010-01-20",
        "transactionId": "transactionid12",
        "amount": 0.01,
        "poNumber": "0024",
        "poDate": "2019-11-21",
        "supplierId": "supplierid",
        "supplierName": "suppliername",
        "supplierAddressLine1": "1112 Main Street",
        "supplierAddressLine2": "Unit Z",
        "supplierCity": "Altta",
        "supplierState": "GA",
        "supplierZip": "30085",
        "supplierEmail": "[email protected]"
    }
]
{
    "fileInfo": {
        "fileId": "e7f00577-fbf5-5d5f-9337-4de1d930b537",
        "fileName": "weifj-23423-w20210420091032.csv"
    },
    "rec": [
        {
            "id": "a2e54875-5b5875f2c19",
            "originalAmount": 0.01,
            "paymentAuthMessage": null,
            "paymentMethod": "Check",
            "paymentStatus": "Pending",
            "transactionId": "testpayment1",
            "paymentType": "Check",
            "accountType": "CHK",
            "achTransactionType": null,
            "isProxyPay": false,
            "institution": {
                "id": "wef0eec4-35b3-535834r8e812fe2df",
                "fid": "fid"
            },
            "network": {
                "id": "wef9b04-d33443ea27c28d6",
                "nid": "nid"
            },
            "buyer": {
                "id": "d016rewf-24bc-5weca6-a79er1a521297",
                "bid": "wef32885-24bc-5d3wef6-wewwe521297"
            },
            "supplier": {
                "id": "9dc71642-d4dferr1-947c7e0d8a72",
                "sid": "sid"
            }
        },
          {
            "id": "a2e54875-5b5875f2c19",
            "originalAmount": 0.02,
            "paymentAuthMessage": null,
            "paymentMethod": "Check",
            "paymentStatus": "Pending",
            "transactionId": "testpayment12",
            "paymentType": "Check",
            "accountType": "CHK",
            "achTransactionType": null,
            "isProxyPay": false,
            "institution": {
                "id": "wef0eec4-35b3-535834r8e812fe2df",
                "fid": "fid"
            },
            "network": {
                "id": "wef9b04-d33443ea27c28d6",
                "nid": "nid"
            },
            "buyer": {
                "id": "d016rewf-24bc-5weca6-a79er1a521297",
                "bid": "wef32885-24bc-5d3wef6-wewwe521297"
            },
            "supplier": {
                "id": "9dc71642-d4dferr1-947c7e0d8a72",
                "sid": "sid"
            }
        }
    ]
}