Transaction Sources
Link Plaid Account
Teal API Endpoints
- Categorization
- Chart of Accounts Templates
- Instances
- Journal Entries
- Ledgers
- Line Entries
- Payables
- Platform
- Quickbooks
- Receivables
- Reports
- Tags
- Transaction Sources
- Transactions
- Transfers
API Migration
- Migration Guides
- Deprecated Endpoints
Transaction Sources
Link Plaid Account
Link an external financial account via Plaid.
POST
/
v0
/
sources
/
plaid
curl --request POST \
--url https://api.sandbox.teal.dev/v0/sources/plaid \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'teal-instance-id: <teal-instance-id>' \
--data '{
"p_token": "<string>",
"calculate_opening_balance": true,
"start_date": "2023-12-25",
"time_zone": "UTC",
"ledger_id": "<string>",
"draw_ledger_id": "<string>",
"contribution_ledger_id": "<string>",
"sync_pending_transactions": true
}'
{
"id": "UjL3BQnEaJtecuC7CUeDk",
"status": "pending",
"created_datetime": "2024-01-01T00:00:00Z",
"updated_datetime": [
"2024-01-01T00:00:00Z"
],
"error": null,
"source_account_id": "<string>",
"ledger_id": "7JRNsKwy2Lw66caxVU7WGC",
"created_transaction_ids": [
"<string>"
],
"removed_transaction_ids": [
"<string>"
],
"modified_transaction_ids": [
"<string>"
],
"skipped_transaction_ids": [
"<string>"
]
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
The Teal instance ID
Body
application/json
Response
201
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://api.sandbox.teal.dev/v0/sources/plaid \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'teal-instance-id: <teal-instance-id>' \
--data '{
"p_token": "<string>",
"calculate_opening_balance": true,
"start_date": "2023-12-25",
"time_zone": "UTC",
"ledger_id": "<string>",
"draw_ledger_id": "<string>",
"contribution_ledger_id": "<string>",
"sync_pending_transactions": true
}'
{
"id": "UjL3BQnEaJtecuC7CUeDk",
"status": "pending",
"created_datetime": "2024-01-01T00:00:00Z",
"updated_datetime": [
"2024-01-01T00:00:00Z"
],
"error": null,
"source_account_id": "<string>",
"ledger_id": "7JRNsKwy2Lw66caxVU7WGC",
"created_transaction_ids": [
"<string>"
],
"removed_transaction_ids": [
"<string>"
],
"modified_transaction_ids": [
"<string>"
],
"skipped_transaction_ids": [
"<string>"
]
}