cURL
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>" ] }
Link an external financial account via Plaid.
The access token received from the authorization server in the OAuth 2.0 flow.
The Teal instance ID
Successful Response
The response is of type object.
object