(20250104) Breeze authorization cycle ready for testing on live server.

This commit is contained in:
2025-01-04 16:19:46 +05:30
parent 4fb628eec4
commit e2385c3163
7 changed files with 302 additions and 4 deletions
+21
View File
@@ -0,0 +1,21 @@
# To work with ICICI Breeze's platform:
from breeze_connect import BreezeConnect
from utils_v2.string import json
api_key = r"2678j1551CSkQ96I5T1862k1685t0b2d"
api_secret = r"kQWD507T9R1169I7AR3473+54@1940P5"
session_token = r"50114591"
print("Init")
breeze = BreezeConnect(api_key = api_key)
print("Creating session.")
breeze.generate_session(
api_secret = api_secret,
session_token = session_token
)
# Getting Customer details:
customer_details = breeze.get_customer_details(api_session = session_token)
print(customer_details)
print("CUSTOMER:", json.to_string(customer_details, default=str))