Javascript
import Ivy from '@getivy/node-sdk'; const client = new Ivy({ apiKey: 'My API Key', }); const session = await client.data.session.create({ referenceId: 'referenceId' }); console.log(session.id);
{ "id": "<string>", "referenceId": "<string>", "redirectUrl": "<string>", "displayId": "<string>", "merchantId": "<string>", "status": "open", "createdAt": 123, "updatedAt": 123, "expiresAt": 123, "availableMarkets": [ "AF" ], "locale": "de", "market": "AF", "metadata": {}, "prefill": { "bankId": "<string>" }, "disableBankSelection": true, "successCallbackUrl": "<string>", "errorCallbackUrl": "<string>" }
Creates a data session for the merchant corresponding to the API key.
API key for authentication
Returns the details of the data session
The response is of type object.
object
Was this page helpful?