PUT
/
sandbox
/
connections
/
accounts
curl --request PUT \
  --url https://api.tryfinch.com/sandbox/connections/accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json'
{
  "account_id": "string",
  "authentication_type": "credential",
  "company_id": "b2e6a1c3-1a5e-44ae-a8fd-81f76fd715cf",
  "provider_id": "string",
  "products": [
    "directory"
  ]
}

Authorizations

Authorization
string
headerrequired

Please use your Access Token

Body

application/json
connection_status
enum<string>
Available options:
pending,
processing,
connected,
error_no_account_setup,
error_permissions,
reauth

Response

200 - application/json
account_id
string
required
authentication_type
enum<string>
required
Available options:
credential,
api_token,
oauth,
assisted
company_id
string
required
provider_id
string
required
products
string[]
required