Create a new connection
Create a new bank connection. If user does not have pro account with bank connections enabled, 403 Forbidden
is returned.
POST /bank/connections
Required scope:
- entries:rw
Parameters
institution * required string
|
Institution id. |
token optional string
|
Token used to login user. |
ext_id optional string
|
External id of the login ( |
secret optional string
|
Secret tied to a specific login ( |
reminder optional boolean
|
If set to |
categorisation optional boolean
|
|
repeats optional boolean
|
|
transfers optional boolean
|
|
from optional string
|
Custom start date of bank sync in date |
form optional array
|
Login form fields. |
name optional string
|
Field name |
label optional string
|
Field label |
type optional string
|
Field type Possible values:text, password, option |
value optional string
|
Field value |
options optional array
|
Field options |
* denotes required field/parameter.
Request
$ curl https://api.toshl.com/bank/connections \ -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl" \ -H "Content-Type: application/json" \ -X POST \ -d '{json}'