- Documentation
- User Application
- Integrations
- Apps and databases connector
BDI
The BDI integration runs a personal credit check with BDI Coface while the client fills in a form. The form sends the client’s name and ID number to BDI through Cellosign, and the result comes back into form fields. You can then, for example, show or hide parts of the form by the result.
It’s built from a “Get data from remote source” webhook and a LIVE Webhook connector in the template.
Before you start
Section titled “Before you start”- An API account with BDI for personal checks, with its user name, password, terminal ID and credit provider code.
- Approval from Cellosign support, and the address of the BDI service.
Set up the webhook
Section titled “Set up the webhook”-
On the Integrations screen, click Add in the WebHook card.
-
In the first box, enter a name, for example “BDI credit check”.
-
In Type, select Get data from remote source.
-
Turn off Use implicit.
-
Under General, enter the address you got from Cellosign support.
-
Under Headers, click Add and add two headers:
Header Name Header Value X-BDI-TermIDYour terminal ID from BDI. X-BDI-CreditProviderCodeYour credit provider code from BDI. -
Under Authentication, select Basic authentication, and enter the user name and the password you got from BDI.
-
Click Save.
The header values and the password are saved encrypted, and aren’t shown again.
Set up the template
Section titled “Set up the template”- Add the fields that the check uses and returns. See the table below.
- On the Integrations tab, click Connectors, and click Add Live Connector.
- In Source, select Webhook. In Reference, select the BDI webhook.
- Under Triggers: How the connector is activated, select when to run the check. We advise Button Click, with a button that the client clicks after entering the details. See Triggers.
- Under Outgoing (Request), add a row for each outgoing value: the Form Field, and the name from the table in Alias.
- For the incoming values, either give the fields the IDs in the table, or turn on Use Response Mapping and map each name in Alias to its Form Control.
- Click Save, and save the template.
The names are case-sensitive.
| Name | Direction | What it is |
|---|---|---|
FirstName |
Outgoing, required | The client’s first name. Allow only Hebrew letters in the field. |
LastName |
Outgoing, required | The client’s last name. Allow only Hebrew letters in the field. |
ID |
Outgoing, required | The client’s ID number. Use an ID Number field. |
result |
Incoming | 1: the check succeeded. 2: BDI returned an error about the data; see the error values below. 9999: an unexpected error, for example BDI isn’t available; usually not related to the client’s data. |
bdi_error_code |
Incoming, optional | ErrCode of the BDI_Error object. |
bdi_error_desc |
Incoming, optional | ErrDescription of the BDI_Error object. |
ccr_error_code |
Incoming, optional | Code of the CCR_Error object. |
ccr_error_desc |
Incoming, optional | Description of the CCR_Error object. |
ccr_error_sev |
Incoming, optional | Severity of the CCR_Error object. |
Limitations
Section titled “Limitations”- Only Israeli ID numbers are supported, not passports.
- Only personal checks are supported, not checks of companies.