1
0
forked from Yara724/api

Added external APIs inquiries

This commit is contained in:
SepehrYahyaee
2026-05-09 13:48:19 +03:30
parent 74c91c73b6
commit 7998649a89
3 changed files with 137 additions and 6 deletions

View File

@@ -577,12 +577,11 @@ export class SandHubService {
async getShebaValidation(nationalId: string, shebaId: string) {
try {
const requestUrl = `${process.env.SANDHUB_BASE_URL}/sheba`;
const requestUrl = `${process.env.SANDHUB_BASE_URL}/sheba-tejaratno`;
const requestPayload = {
accountOwnerType: "1",
nationalId: nationalId,
legalId: "",
shebaId: shebaId,
AccountOwnerType: "1",
NationalId: nationalId,
ShebaId: shebaId,
};
this.logger.log(`Validating Sheba ID for national code: ${nationalId}`);