مستندات و راهنمای استفاده از API

در این بخش می‌توانید نمونه کدهای cURL برای اتصال به وب‌سرویس‌های سامانه استعلام بگیر را مشاهده نمایید. برای استفاده از این متدها باید نام کاربری و رمزعبور اختصاصی خود را در بدنه درخواست (Body) جایگذاری کنید.

درخواست استعلام شبا گروهی
curl --location 'https://estelambegir.ir/api/webservice/iban_post' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"username": "YourUserName",
"password":"YourPassword",
"iban":["310120020000004840685183","IR390170000000307417162000"]
}'
درخواست تبدیل کارت به شبا
curl --location 'https://estelambegir.ir/api/webservice/card_post' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"username": "YourUserName",
"password":"YourPassword",
"cards":["6104337980220000","6104337980220001"]
}'
درخواست تبدیل کارت به حساب
curl --location 'https://estelambegir.ir/api/webservice/card_diposit_post' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"username": "YourUserName",
"password":"YourPassword",
"cards":["6104337980220000","6104337980220001"]
}'
درخواست تبدیل حساب به شبا
curl --location 'https://estelambegir.ir/api/webservice/Deposit_post' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"username": "YourUserName",
"password":"YourPassword",
"deposits":["017;0307417162000","codebank;depositnumber"]
}'
درخواست استعلام اطلاعات کارت
curl --location 'https://estelambegir.ir/api/webservice/card_information_post' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"username": "YourUserName",
"password":"YourPassword",
"cards":["6104337980220000","6104337980220001"]
}'
درخواست استعلام چک‌های برگشتی افراد
مرحله اول: درخواست پیامک احراز هویت
curl --location 'https://estelambegir.ir/api/webservice/back_cheques_sms_post' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"username": "YourUserName",
"password":"YourPassword",
"nid":"5301112223",
"mobile":"09120001111"
}'
مرحله دوم: ارسال کد تایید و مشاهده نتیجه
curl --location 'https://estelambegir.ir/api/webservice/back_cheques_confirm_post' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"username": "YourUserName",
"password":"YourPassword",
"sms_trackId":"242c6e2d-ea30-4091-a799-a68e650000a0",
"code":"123456"
}'
درخواست استعلام تسهیلات بانکی افراد
مرحله اول: درخواست پیامک احراز هویت
curl --location 'https://estelambegir.ir/api/webservice/facility_inquiry_sms_post' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"username": "YourUserName",
"password":"YourPassword",
"nid":"5301112223",
"mobile":"09120001111"
}'
مرحله دوم: ارسال کد تایید و مشاهده نتیجه
curl --location 'https://estelambegir.ir/api/webservice/facility_inquiry_confirm_post' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"username": "YourUserName",
"password":"YourPassword",
"sms_trackId":"242c6e2d-ea30-4091-a799-a68e650000a0",
"code":"123456"
}'
درخواست استعلام ضمانت افراد
مرحله اول: درخواست پیامک احراز هویت
curl --location 'https://estelambegir.ir/api/webservice/guaranty_inquiry_sms_post' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"username": "YourUserName",
"password":"YourPassword",
"nid":"5301112223",
"mobile":"09120001111"
}'
مرحله دوم: ارسال کد تایید و مشاهده نتیجه
curl --location 'https://estelambegir.ir/api/webservice/guaranty_inquiry_confirm_post' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"username": "YourUserName",
"password":"YourPassword",
"sms_trackId":"242c6e2d-ea30-4091-a799-a68e650000a0",
"code":"123456"
}'
درخواست استعلام شاهکار (تطبیق موبایل و کد ملی)
curl --location 'https://estelambegir.ir/api/webservice/shahkar_post' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"username": "YourUserName",
"password":"YourPassword",
"input_mobile":"09121112222",
"input_nid":"5301112222"
}'
درخواست استعلام آدرس بر اساس کدپستی
curl --location 'https://estelambegir.ir/api/webservice/postalcodeInquiry_post' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"username": "YourUserName",
"password":"YourPassword",
"postalcode":["1644913611"],
}'
دریافت لیست بانک‌ها
curl --location 'https://estelambegir.ir/api/webservice/GetBanksInfo'