Collections
This section describes in detail all the steps to follow to try the collection related to Fabrick Pass AISP products:
- Pass AIS
- Pass AIS One Shot
You can find the Bruno Collection and the Postman Collection here
The collection is shared between the two products as the data access APIs are exactly the same; in fact, the distinction takes place in the onboarding phase (see dedicated document). The customer can only try the product enabled on his apiKey; obviously both in case he has an apiKey for each of the two products.
This short tutorial is therefore intended as a "getting started" document that can be consulted in the initial phase to immediately test a standard flow, otherwise you can proceed directly with the integration of the API.
Once the collection has been imported, you can continue with the following steps.
Fabrick Pass AIS
-
In the variables of the collection insert
-
birthday: day of birth used in to parameterize the fiscal code, email and companyUserCode to make the user unique.
Note: the fiscal code uniquely distinguishes a user
-
-
Call Create User (onBoarding) to get userOnboardingid
-
Click the link received in the response and proceed to registration on Fabrick Pass page
- Password: enter any password (es: Qwda.1245!)
- Code to insert to verify email (In Pre this code is auto filled. Mails are not sent in Pre environment)
- Search and choose bank Mock
- Select “Sandbox” environment
-
On bank Mock site
- Username: “user03” and password: “passwd03”
- Choose receive sms
- Code: 34567890
-
On Pass, select and choose owner user
-
Continue on Pass by entering the required data.
-
Call Get Onboarding to verify onboarding status or recover an onboarding flow interrupted.
-
Call SearchUsers to get userId of the user who has passed the document acceptance phase (the user is not returned before the user document acceptance phase)
-
Call Search Consents filtering in the body userCompanyCode to get all the consents created by the created user
-
Call User Details to get info about the created user
-
Call accounts to get the list of user accounts and get an accountId. Note: the accounts are visible only se the value of the parameter hasValidKyc is true in the response of the GET getUserDetails request
-
Call Account Details to get more info about passed accountId
-
Call Balances to get all Balances of passed accountId
-
Call Transactions to get all the transaction of passed accountId
-
Call Movements to get all the Movements (transaction enriched with PFM data) of passed accountId
-
Call Update-aggregation to renew consent or make new aggregation
-
Call Disable User (close contract) to deactivate the user
Fabrick Pass AIS (authentication with SPID)
This test allows you to use the spid to verify the user's name and surname instead of the SCA with a bank.
-
In the variables of the collection insert birthday:
-
“birthday”: day of birth used to parameterize the “tax code”, “mail” and “companyUserCode” to make the user unique
Note: the tax code uniquely distinguishes a user
-
“name”: Neri
-
“surname”: Bernardi
-
“fiscalCode”: BRNNRE{birthYear}B{birthDay}F205B
-
-
Call Create User (onBoarding) to get userOnboardingid
-
Click the link received as answer and proceed to registration on Pass page
- Password: enter any password (es: Qwda.1245!)
- Code to insert to verify email (the mails are not sent in Pre environment):0000
- If the page asks you to choose a bank for recognition, press the "back" button and “continue” button in the popup
- Select “enter with SPID”
- Select “IDP Test”
-
On SPID site
- Username: “test” and password: “test”
- Press “Send”
- Press “Send” in the new page
-
Continue on Pass by entering the required data.
-
...
Fabrick Pass AIS One Shot
-
In the variables of the collection insert “birthday”: day of birth used to parameterize the fiscal code, email and companyUserCode to make the user unique
-
Call Create User (onBoarding) OneShot to get userOnboardingId
-
Click the link received as answer and proceed to registration on Pass page
- Search and choose bank Mock
- Select “Sandbox” environment
-
On bank Mock site
- Username: “user03” and password: “passwd03”
- Choose receive sms
- Code: 34567890
-
On Pass, keep select and choose owner user
-
Call Get Onboarding to verify onboarding status or recover an onboarding flow interrupted. If the user is registered, it is possible to get userId.
-
Call SearchUsers to obtain the userId of the user who has passed the conditions acceptance phase (before the user conditions acceptance phase, the user is not returned).
-
Proceed with Search Consents as AISP flow
Fabrick Pass Smart Scoring
- In the variables of the collection insert “birthday”: day of birth used to parameterize the fiscal code, email and companyUserCode to make the user unique 2. Call Create User (onBoarding) OneShot to get userOnboardingId
- Click the link received as answer and proceed to registration on Pass page 1. Search and choose bank “BPM” 2. Select “Internet banking per clientele privata” 3. Select “Sandbox” environment 4. On BPM page 1. id: 7654321 2. password: any password 3. Otp: any password
- On Pass, choose owner user in all the Accounts 6. On Pass, select all the Accounts 7. Call Get Onboarding to verify onboarding status or recover an onboarding flow interrupted. If the user is registered, it is possible to get userId. 8. Call SmartScoringInitiateNaturalPerson to start the smart scoring process 9. Call SmartScoring to get the result