forked from Yara724/api
Added external APIs inquiries
This commit is contained in:
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user