Connection options

Choose the providers the user sees, the data the consent asks for, and how the journey opens and returns.

These POST /connections fields change what the user sees in the journey and what the consent asks the bank for. A provider is a bank, card issuer or other institution the user can connect to.

{
  "providerIds": ["leumi", "hapoalim"],
  "psuId": "000000018",
  "restrictedTo": ["CACC", "CARD"],
  "language": "en",
  "redirectUrl": "https://your-app.example/bank-return"
}

Choose the providers

FieldWhat it does
providerIdsProvider IDs to offer, from providerFriendlyId in Providers. With one ID, the journey skips the provider list and opens that provider. With several, only those are listed.
includeFakeProvidersLists sandbox providers. Until your organization has production access, it must be true, or the request returns 400. The Display sandbox providers option in the Journey settings must also be on. See Testing with fake bank data.
excludeCreditCardProviderstrue hides card issuers (type: CARD) from the journey.
allowInsurancetrue shows the insurance tab in the provider list when insurance providers are available.
allowBusinessLets the user connect a business account. See Business accounts.

Before you send a user to one provider, check that it accepts new consents. See Providers.

How providerIds is filtered
  • Sandbox IDs in providerIds are removed unless sandbox providers are included. If no ID remains, the journey is not limited to any provider.
  • Sending beinleumi also adds otsarHahayal, masad and pagi, so the journey lists all four.

Identify the user

PSU means the bank customer: the user who approves the consent.

FieldWhat it does
psuIdThe user's Israeli ID number (teudat zehut). The journey shows it filled in and the user cannot change it. An ID number shorter than 9 digits is padded with leading zeros.
psuCorporateIdThe company number for a business connection. See Business accounts.
customerIdYour identifier for the customer, returned as the connection's customerId. Without it, customerId is the company number or psuId.

Choose the data

restrictedTo lists the account types the consent asks for:

CodeAccount typeaccountType in the data
CACCCurrent accountsCHECKING
CARDCardsCARD
LOANLoans, including mortgagesLOAN
SVGSSavings and depositsSAVINGS
SCTSSecuritiesSECURITIES
  • Without restrictedTo, the provider's type decides. See Which data a bank provides.
  • The bank decides what it shares and can return fewer types. bit is always limited to CACC.
FieldWhat it does
expiryDateWhen the consent ends. It must be in the future and less than 3 years away. Default: 3 years. See Consent lifecycle.
refreshDatatrue asks the bank for a recurring consent; false for a one-off consent. It also sets the status after a successful collection. See Creating your first connection.
📘

When users choose in the journey

If your organization lets users choose the consent duration and the shared data in the journey, their choices take precedence over restrictedTo, expiryDate and refreshData.

Specific accounts

Use access when you already know which account you need. It asks for specific accounts instead of account types. Its accounts, balances and transactions lists each take objects with an iban, or a bban in the form bank-branch-account, which is converted to an IBAN.

{
  "access": {
    "accounts": [{ "bban": "12-345-678901" }],
    "balances": [{ "bban": "12-345-678901" }],
    "transactions": [{ "bban": "12-345-678901" }]
  }
}

When accounts is not empty, restrictedTo is not sent to the bank. If you leave out balances or transactions, they are not requested.

The journey and the return

FieldWhat it does
languagehe or en. The journey opens in this language.
iframetrue when you embed the journey in an iframe. See Iframe Support.
redirectUrlWhere the browser goes when the journey ends. If your organization restricts redirect domains, it must start with an allowed domain, or the request returns 400. Without it, your organization's default redirect URL is used, if one is set. See what returns to redirectUrl.
callbackInformationA webhook for this connection only. See Per-request webhook.

How long connectUrl works

connectUrl expires 24 hours after you create the connection. It is a short link to the journey, and a link that no longer exists opens a "not found" page there. To send the user again, create a new connection.

Next steps


Did this page help you?