Filter Transactions by size

This filter spools business transaction records using the record size/count. Typically, we return the 10 most recent transactions, with this filter you can request for less than or more than 10 records.

HTTP Method : GET
API Endpoint : {{baseurl}}/api/v1/transaction?size={{size}}
Sample cURL Request

curl --location --request GET 'https://api.ovalfi-app.com//api/v1/transaction?size=2' \
--header 'Authorization: Bearer eyJidXNpbmVzc0lEIjoiZTY2NWJkYWUtNWE0ZC00ODNiLTk2NTQtZTk0NzViMzRjY2ViIiwidXNlcklEIjoiYTY4NjE1ZGMtMjY5MS00ZmI1LTkyZmMtNTQ1NmRlN2M3YjllIiwia2V5Ijoia3JwIn0='

Response

{
    "status": 200,
    "data": {
        "items": {
            "request_id": "72febfd0-2f52-4b76-8bf0-db160c0e535c",
            "transactions": [
                {
                    "id": "80b5357e-1595-4591-9d41-2aa8739e1cee",
                    "name": "LALA",
                    "email": "[email protected]",
                    "businessID": "d04319d7-b3fb-478e-ade5-76cc5176e1dd",
                    "customerID": "9f40fb69-64e3-4d23-853a-0243af155427",
                    "yieldOfferingID": "42ee80d8-2a95-419c-aad1-5643d306948e",
                    "type": "deposit",
                    "amount": 10,
                    "currency": "USD",
                    "reference": "polmu",
                    "status": "completed",
                    "completedAt": "2022-10-25T12:30:36.942934Z",
                    "createdAt": "2022-10-25T12:30:36.942934Z",
                    "batchDate": "2022-10-25T00:00:00Z",
                    "cancelReason": null
                },
                {
                    "id": "be719417-0338-4420-81f8-b0459cebd39d",
                    "name": "LALA",
                    "email": "[email protected]",
                    "businessID": "d04319d7-b3fb-478e-ade5-76cc5176e1dd",
                    "customerID": "9f40fb69-64e3-4d23-853a-0243af155427",
                    "yieldOfferingID": "f3d990ce-2e2c-4d8c-99f3-06a77b9817da",
                    "type": "withdrawal",
                    "amount": 10,
                    "currency": "USD",
                    "reference": "polmu",
                    "status": "completed",
                    "completedAt": null,
                    "createdAt": "2022-10-25T12:30:36.86315Z",
                    "batchDate": "2022-10-25T00:00:00Z",
                    "cancelReason": null
                }
            ]
        },
        "page": {
            "page": 1,
            "size": 2,
            "hasNextPage": true,
            "hasPreviousPage": false,
            "totalCount": 75
        }
    },
    "message": "fetched transactions successfully!",
    "error": null
}