https://github.com/openbankproject/obp-python-quickstart
https://github.com/openbankproject/obp-python-quickstart
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/openbankproject/obp-python-quickstart
- Owner: OpenBankProject
- Created: 2021-01-11T11:06:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-12T10:38:39.000Z (over 5 years ago)
- Last Synced: 2025-01-16T07:57:14.085Z (over 1 year ago)
- Language: Python
- Size: 13.7 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example Account Creation in OBP
This script will create a **User** for OBP plus a bank **Customer** object for that User, and create an **Account** of a certain **Product** type.
See the obp_python folder for the individual python scripts calling the various OBP APIs.
### Requirements:
The obp user configured in obp_python/config needs to be setup with the corresponding entitlements (roles) on sandbox side first.
You may want to use the CLI (https://github.com/OpenBankProject/OBP-CLI), the API Manager or API Explorer of your instance to grant the nessesary roles, else just use any REST client.
### Run:
change the following global variables in full_flow_up_to_create_account.py unless the script is run for the very first time
t:
```
user_name_to_create = "some_user_name"
product_code = "some_myproduct_name"
product_attribute_name = "some_product_feature"
product_attribute_value = "some+product_feature_value"
```
then just run it:
```
python3 ./full_flow_up_to_create_account.py
```