1. Retrieve your credentials

Reach out to Fuse to retrieve your Fuse specific credentials. Have a look at the authentication section for more information. Once you have these, as well as the credentials for the aggregators, you will need to pass them in as headers to authenticate your requests.

curl --location --request POST 'https://sandbox-api.letsfuse.com/v1/session' \
--header 'fuse-api-key: my-fuse-api-key' \
--header 'fuse-client-id: my-fuse-client-id' \
--header 'plaid-client-id: my-plaid-client-id' \
--header 'plaid-secret: my-plaid-secret' \
--header 'teller-application-id: my-teller-application-id' \
--header 'teller-certificate: my-teller-certificate' \
--header 'teller-signing-secret: my-teller-signing-secret' \
--header 'teller-private-key: my-teller-private-key' \
--header 'mx-api-key: my-mx-api-key' \
--header 'mx-client-id: my-mx-client-id' \
--header 'Content-Type: application/json' \
--data-raw '{}'
import {Environment, FuseApi} from "fuse-node";

const fuseApi = new FuseApi({
    basePath: "https://sandbox-api.letsfuse.com"
    baseOptions: {
      headers: {
        "Fuse-Client-Id": "my-fuse-client",
        "Fuse-Api-Key": "my-fuse-api-key",
        "Content-Type": "application/json",
        "Plaid-Client-Id": "my-plaid-client-id0",
        "Plaid-Secret": "my-plaid-secret",
        "Teller-Application-Id": "my-teller-application-id",
        "Teller-Certificate": "my-teller-certificate",
        "Teller-Private-Key": "my-teller-private-key",
        "Teller-Token-Signing-Key": "my-teller-token-signing-key",
        "Teller-Signing-Secret": "my-teller-signing-secret",
        "Mx-Api-Key": "my-mx-api-key",
        "Mx-Client-Id": "my-mx-client-id"
      },
    },
  });