[
/changelog
·
v3.2.0
]
Scope-level consent expiry
Each scope on a connection can now carry its own expiry date.
version
v3.2.0
Some banks let users share balances for a year but transactions for only 90 days. Until now Sluice used the shortest date for the whole connection. From v3.2.0 each scope has its own expires_at.
connection.expiring now includes a scope field, so you can ask users to renew only what is about to lapse. Existing integrations keep working: the connection-level expires_at still returns the earliest date.
Update the Node or Python SDK to 3.2.0 to get the new types.
[ try it in the sandbox ]
Node
Python
cURL
connect
import { Sluice } from ‘@sluice/node’;
const sluice = new Sluice(process.env.SLUICE_KEY);
const session = await sluice.connect.sessions.create({
user: ‘user_31c’,
scopes: [‘balances’, ‘transactions’],
});
// send session.url to your user
201 Created · 84 ms
id cs_7Hq2
url https://connect.sluice.dev/cs_7Hq2
expires_in 900
[
→
·
more releases
]
What else shipped.

Sluice® Template
$129 · one-time
NOVA STUDIO
/ SECURED BY POLAR