Providers
List the banks and card issuers a user can connect to, and check that they accept new consents.
A provider is a bank, card issuer or other institution a user can connect to.
- What you'll do: list the providers to get IDs for
providerIds, build your own provider picker, or check that a provider accepts new consents. - What you need: a token with the
read:providersscope. - What you get back: an array of providers, without pagination.
List the providers
Call GET /providers:
curl "$API_BASE/providers" \
--header "Authorization: Bearer $ACCESS_TOKEN"Illustrative example with selected fields:
[
{
"providerFriendlyId": "example-bank",
"name": "Example Bank",
"nameNativeLanguage": "בנק לדוגמה",
"type": "BANK",
"bankCode": 99,
"isFake": false,
"psuIdTypes": [{ "id": "example-id-type", "name": "ID", "nameNativeLanguage": "תעודת זהות" }],
"psuIdDefaultType": "example-id-type",
"status": { "consents": { "enabled": true }, "payments": { "enabled": true } }
}
]Fields you need
| Field | Meaning |
|---|---|
providerFriendlyId | The provider ID. Send it in providerIds. Connections, accounts and transactions show it as providerId, and connection webhooks as bankName. |
name, nameNativeLanguage | Display name in English and in Hebrew. |
type | For example BANK, CARD or INSURANCE. It sets the data requested by default; see Which data a bank provides. |
bankCode | The bank's number. Missing for providers without one, such as card issuers and sandbox providers. |
image | Logo URL. |
isFake | true for sandbox providers. |
psuIdTypes, psuIdDefaultType | The ID types the provider accepts for a person (the bank customer, or PSU), and its default. |
psuCorporateIdTypes, psuCorporateIdDefaultType | The company ID types, for business connections. See Business accounts. |
status.consents.enabled | true while the provider accepts new consents. |
Sandbox and real providers
Which providers are returned depends on your organization's production access and on the includeFakeProviders query parameter:
| Organization | includeFakeProviders omitted or true | includeFakeProviders=false |
|---|---|---|
| Without production access | Sandbox providers only | Sandbox providers only |
| With production access | Real and sandbox providers | Real providers only |
The list does not depend on the user. To offer sandbox providers in the journey, also create the connection with includeFakeProviders: true. See Connection options and Testing with fake bank data.
Build your own provider picker
Show each provider's name or nameNativeLanguage with its image. Check status.consents.enabled before you offer a provider, as described below.
Send the chosen ID as the only providerIds entry. The journey then opens that provider.
Check availability first
When status.consents.enabled is not true, the provider does not accept new consents. The journey shows it dimmed, and starting a consent with it fails with 400 and type PROVIDER_UNAVAILABLE.
Check it before you send a user to a single provider with providerIds. The journey then opens that provider directly, so the user meets the failure only after starting. status.payments.enabled does the same for payments.
Next steps
Updated about 3 hours ago
