curl --request GET \
--url 'https://sandbox.rollfi.xyz/reports#getTransactionsBasedOnName' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"method": "getTransactionsBasedOnName",
"payPeriodId": "f6aa6ee0-6e5f-4820-843d-a26311071768",
"transactionName": "AchDebit"
}'
{
"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"
}
]
}
This Report is Used to get the TransactionDetails based on the TransactionName
curl --request GET \
--url 'https://sandbox.rollfi.xyz/reports#getTransactionsBasedOnName' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"method": "getTransactionsBasedOnName",
"payPeriodId": "f6aa6ee0-6e5f-4820-843d-a26311071768",
"transactionName": "AchDebit"
}'
{
"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"
}
]
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The response is of type object
.