GET
/
reports#getTransactions
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getTransactions' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "getTransactions",
  "payPeriodId": "f6aa6ee0-6e5f-4820-843d-a26311071768"
}'
{
  "1": {
    "summary": "Success",
    "value": {
      "payrollTransaction": [
        {
          "requestReferenceId": "715F00FD-0FA8-496C-ABE3-3ADB63C34894",
          "companyId": "32CEF965-3A70-4EE0-B943-AD2FB876A839",
          "payPeriodId": "F6AA6EE0-6E5F-4820-843D-A26311071768",
          "source": "EmployerBankAccount",
          "sourceAccount": "4c790a39-c15d-4557-8662-f0d4bd3246ef",
          "destination": "Ledger",
          "destinationAccount": "c08c3e63-1361-48eb-88f1-351eb8413cd1",
          "transactionName": "AchDebit",
          "transferAmount": 75.92,
          "status": "completed"
        },
        {
          "requestReferenceId": "118943EC-1601-41B7-95B3-634D518D423D",
          "companyId": "32CEF965-3A70-4EE0-B943-AD2FB876A839",
          "payPeriodId": "F6AA6EE0-6E5F-4820-843D-A26311071768",
          "source": "Ledger",
          "sourceAccount": "C08C3E63-1361-48EB-88F1-351EB8413CD1",
          "destination": "EmployeeBankAccount",
          "destinationAccount": "DFF4798A-C0BA-480E-BE7C-CABA938BAE0A",
          "transactionName": "AchCredit",
          "transferAmount": 41.55,
          "status": "pending"
        },
        {
          "requestReferenceId": "139A2BD8-1E59-4A3A-8391-1B4FA527A63A",
          "companyId": "32CEF965-3A70-4EE0-B943-AD2FB876A839",
          "payPeriodId": "F6AA6EE0-6E5F-4820-843D-A26311071768",
          "source": "Ledger",
          "sourceAccount": "c08c3e63-1361-48eb-88f1-351eb8413cd1",
          "destination": "EmployeeBankAccount",
          "destinationAccount": "dff4798a-c0ba-480e-be7c-caba938bae0a",
          "transactionName": "AchCredit",
          "transferAmount": 41.55,
          "status": "pending"
        }
      ]
    }
  }
}

Body

application/json
method
string
default: getTransactionsrequired
payPeriodId
string
required

Response

200 - application/json
PayrollTransaction
object[]
required