Step 1 - Create Job to Retrieve Transaction History
Overview
If you are retrieving transaction history information for the first time, or if you want to ensure that you have the most up-to-date information from the financial institution, you will need to create an transaction history job.
You can enter a startDate and endDate in the request body to fetch transaction history for a specific date range. If no date range is specified, it will default to the last 90 days.
Create Transaction History Job
HTTP Request
Sandbox - POST <https://api.sandbox.aerosync.com/v2/accounts/{{user_id}}/transactions>
Staging - POST <https://api.staging.aerosync.com/v2/accounts/{{user_id}}/transactions>
Production - POST https://api.aerosync.com/v2/accounts/{{user_id}}/transactions
Path Parameters
Parameter | Required? | Type | Description |
---|---|---|---|
user_id | Yes | String | A user's account unique identifier |
Request Body
Parameter | Required? | Type | Description |
---|---|---|---|
startDate | No | String | Start date in YYYY-MM-DD format |
endDate | No | String | End date in YYYY-MM-DD format |
Request and Response
POST https://api.staging.aerosync.com/v2/accounts/{{user_id}}/transactions
Authorization: Bearer {{token}}
{
"status": "success",
"statusCode": 200,
"transactionStatus": "Initiated",
"jobId": "TRN-60f653edbb2d41c69769e8bb3acc97cc",
"userId": "6dfced929d1d4578a750da8155b6fb6a"
}
Updated 5 days ago