Toshl Developer

Force refresh an account

Force refresh of a bank connection. This will trigger an immediate refresh call on the aggregator.

If connection cannot be automatically refreshed, use token for plaid, and connect_url for saltedge to open SaltEdge Connect/Plaid Link (currently Plaid institutions do not support interactive refresh).

POST /bank/connections/{id}/refresh

Required scope:

Parameters

id *
required
string

Connection id.

theme
optional
string

Theme to use during refresh.

Possible values: light, dark

* denotes required field/parameter.

Request

$ curl https://api.toshl.com/bank/connections/42/refresh \
  -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl" \
  -X POST

Response

HTTP/1.1 204 No Content