PUT
/
v0
/
source-accounts
/
{source_account_id}
curl --request PUT \
  --url https://api.sandbox.teal.dev/v0/source-accounts/{source_account_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'teal-instance-id: <teal-instance-id>' \
  --data '{
  "name": "<string>",
  "invert_transaction_amounts": true
}'
{
  "id": "KdE7Q37LeQhFQCfEejfibT",
  "name": "<string>",
  "debit_credit": "debit",
  "ledger_id": "<string>",
  "draw_ledger_id": "<string>",
  "contribution_ledger_id": "<string>",
  "type": "plaid",
  "invert_transaction_amounts": false
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

The Teal instance ID

Path Parameters

source_account_id
string
required

The Source Account ID

Body

application/json

Response

201
application/json

Successful Response

The response is of type object.