Step 4 - Retrieve Transaction History Details

Overview

After successfully completing a Transaction History Job, you can now retrieve a list of the most recent transactions that have been associated from a bank account.

Retrieve Identity Details

HTTP Request

Staging - GET https://api.staging.aerosync.com/v2/accounts/{{userId}}/transactions

Production - GET https://api.aerosync.com/v2/accounts/{{userId}}/transactions

Request Parameters

ParameterRequired?TypeDescription
idYesStringA user's account unique identifier
start_dateNoQuery string parameterOnly include transactions created after this date. ISO-8601 format: YYYY-MM-DD. Can optionally be used with end_date to specify a date range.
end_dateNoQuery string parameterOnly include transactions created before this date. ISO-8601 format: YYYY-MM-DD. Can optionally be used with start_date to specify a date range.

Request and Response

GET https://api.staging.aerosync.com/v2/accounts/6dfced929d1d4578a750da8155b6fb6a/transactions?start_date=2023-11-01&end_date=2023-12-31
Authorization: Bearer {{token}}

{
    "status": "success",
    "statusCode": 200,
    "transactions": [
        {
            "id": "TRN-2fd333a1-89d3-47eb-9e2a-75498dc796c7",
            "type": "CREDIT",
            "date": "2023-12-31T12:00:00Z",
            "amount": 39.76,
            "currency": "USD",
            "description": "Dennis Restaurant",
            "category": "Food and Dining",
          	"subcategory": "Fast Food"
		}
	]
}