--- swagger: "2.0" info: x-ibm-name: feeservices title: FeeServices description: FeeServices version: 1.0.0 name: "" schemes: - https basePath: /FeeServices consumes: - application/json securityDefinitions: Oauth 2.1 B2B: type: oauth2 description: B2B Authorization flow: application scopes: fee_data: omer.abukarat@dbank.co.il Restricted: "" tokenUrl: https://$(api.endpoint.hostname)/$(api.org.name)/$(env.path)/b2b/token security: - Oauth 2.1 B2B: - fee_data x-ibm-configuration: testable: true enforced: true phase: realized paths: /feeTracks: get: summary: http://bunny.dev.local//#/NewEndPoint/FeeServices/GetFeeTracks/221 operationId: feeservices.GetFeeTracks responses: 200: description: OK schema: $ref: '#/definitions/GetFeeTracksResponse' parameters: - name: accountID in: query required: false description: מזהה חשבון type: string pattern: ^[0-9]{1,4}-[0-9]{1,10}$ - $ref: '#/parameters/Accept-Language' - $ref: '#/parameters/Authorization' - $ref: '#/parameters/Content-Authorization' - $ref: '#/parameters/X-Global-Transaction-ID' - $ref: '#/parameters/Accept' - $ref: '#/parameters/Content-Type' description: postmanrequest security: - Oauth 2.1 B2B: - fee_data /account/{accountID}/fees/charges: get: summary: http://bunny.dev.local//#/NewEndPoint/FeeServices/GetAccountFeesCharges/20286 operationId: getaccountfeescharges.GetAccountFeesCharges responses: 200: description: OK schema: $ref: '#/definitions/GetAccountFeesChargesResponse' parameters: - name: periodType in: query required: true description: סוג תקופת הדו"ח type: string enum: - SemiYearPriorLastSemiYear - BySpecifiedMonths - LastSemiYear - LastYear - name: scope in: query required: true description: רמת הפירוט type: string enum: - DetailedAndTotals - Totals - Detailed - name: startingPeriod in: query required: false description: החל מתקופה (MMYYYY) type: string pattern: ^(0[1-9]|1[0-2])[0-9]{4}$ - name: uptoPeriod in: query required: false description: עד תקופה (MMYYYY) type: string pattern: ^(0[1-9]|1[0-2])[0-9]{4}$ - name: Accept-Language in: header required: true description: שפת הממשק type: string enum: - en-US - he-IL - name: X-Global-Transaction-ID in: header required: false description: מזהה פעילות type: string - name: Accept in: header required: true description: פורמט הפלט type: string - name: Content-Type in: header required: false description: פורמט הקלט type: string - name: Authorization in: header required: false description: אימות הרשאות API type: string - name: accountID in: path required: true description: מזהה חשבון type: string pattern: ^[0-9]{1,4}-[0-9]{1,10}$ description: 400f2daa-5f0a-4412-8de8-6b2dc7b20ecc security: - Oauth 2.1 B2B: - Restricted tags: [] parameters: Authorization: name: Authorization type: string required: true in: header description: "" Content-Authorization: name: Content-Authorization type: string required: true in: header description: שדה לשתיחת JWT Accept-Language: name: Accept-Language type: string required: true in: header X-Global-Transaction-ID: name: X-Global-Transaction-ID type: string required: false in: header Accept: name: Accept type: string required: true in: header Content-Type: name: Content-Type type: string required: false in: header definitions: error: properties: error: type: array items: type: object properties: httpCode: type: string description: קוד החזר example: "400" httpMessage: type: string description: הודעה example: missing request parameter XXX moreInformation: type: string description: מידע נוסף example: call support warning: type: array items: type: object properties: code: type: string description: קוד החזר example: MC101 message: type: string description: הודעה example: הוחלף יום עסקים... moreInformation: type: string description: מידע נוסף example: יש לעדכן את הלקוח additionalProperties: false required: - error noData: additionalProperties: false GetFeeTracksResponse: properties: data: title: data description: אובייקט אב type: object properties: feesTracks: type: array items: title: feesTracks description: מסלולי עמלות type: object properties: directChannelsOperationsCount: title: directChannelsOperationsCount description: כמות פעולות בערוץ ישיר type: number maximum: 999 clerkOperationsCount: title: clerkOperationsCount description: כמות פעולות מול הפקיד type: number maximum: 999 trackDescription: title: trackDescription description: תיאור המסלול type: string maxLength: 110 example: כולל עד 1 פעולות ע"י פקיד ועד 10 פעולות בערוץ ישיר actualPrice: title: actualPrice description: מחיר בפועל type: number feeCode: title: feeCode description: קוד עמלה type: string minLength: 3 maxLength: 3 example: "041" standardPrice: title: standardPrice description: 'מחיר סטנדרטי ' type: number trackName: title: trackName description: שם המסלול type: string maxLength: 30 example: מסלול בסיסי required: - trackName - trackDescription - clerkOperationsCount - directChannelsOperationsCount - standardPrice - feeCode required: - feesTracks GetAccountFeesChargesResponse: properties: data: title: data description: אובייקט אב type: object properties: executionData: title: executionData description: נתוני ביצוע הפעולה type: object properties: uptoPeriod: title: uptoPeriod description: עד תקופה (MMYYYY) type: string pattern: ^(0[1-9]|1[0-2])[0-9]{4}$ minLength: 6 maxLength: 6 example: "072022" feesTotals: title: feesTotals description: סיכום עמלות type: object properties: feesCount: title: feesCount description: מספר העמלות שחושבו type: number feeCalculatedChargeAmount: title: feeCalculatedChargeAmount description: סכום עמלה מחושב לגבייה type: number refundsCount: title: refundsCount description: 'כמות ההחזרים ' type: number maximum: 6 feeActualChargedAmount: title: feeActualChargedAmount description: סכום העמלה שחוייב בפועל = סה"כ סכום גביה פחות סכום החזר type: number maximum: 13 refundAmount: title: refundAmount description: סכום החזר type: number required: - refundAmount - feesCount - refundsCount - feeActualChargedAmount - feeCalculatedChargeAmount subjects: type: array items: title: subjects description: נושאים type: object properties: fees: type: array items: title: fees description: עמלות type: object properties: feeDescription: title: feeDescription description: תיאור עמלה type: string maxLength: 35 example: עמלת פעולה ע"י פקיד-מט"י feeCode: title: feeCode description: קוד עמלה type: string minLength: 3 maxLength: 3 example: "041" feeDetails: title: feeDetails description: פרטי עמלה type: object properties: chargeBusinessDay: title: chargeBusinessDay description: יום גביה type: string minLength: 5 maxLength: 5 example: 31/12 chargeValueDay: title: chargeValueDay description: יום ערך של גביה type: string minLength: 5 maxLength: 5 example: 31/12 feeCalculatedChargeAmount: title: feeCalculatedChargeAmount description: סכום עמלה מחושב לגבייה type: number feeActualChargedAmount: title: feeActualChargedAmount description: סכום העמלה שחוייב בפועל = סה"כ סכום גביה פחות סכום החזר type: number maximum: 13 refundAmount: title: refundAmount description: סכום החזר type: number required: - refundAmount - feeActualChargedAmount - chargeBusinessDay - chargeValueDay - feeCalculatedChargeAmount feeTotals: title: feeTotals description: 'סיכומים של עמלה ' type: object properties: feesCount: title: feesCount description: מספר העמלות שחושבו type: number feeCalculatedChargeAmount: title: feeCalculatedChargeAmount description: סכום עמלה מחושב לגבייה type: number refundsCount: title: refundsCount description: 'כמות ההחזרים ' type: number maximum: 6 feeActualChargedAmount: title: feeActualChargedAmount description: סכום העמלה שחוייב בפועל = סה"כ סכום גביה פחות סכום החזר type: number maximum: 13 refundAmount: title: refundAmount description: סכום החזר type: number required: - feesCount - refundsCount - feeCalculatedChargeAmount - refundAmount - feeActualChargedAmount required: - feeCode - feeDescription - feeTotals subjectDescription: title: subjectDescription description: תיאור נושא type: string maxLength: 35 example: עובר ושב subjectTotals: title: subjectTotals description: סיכומים לנושא type: object properties: feesCount: title: feesCount description: מספר העמלות שחושבו type: number feeCalculatedChargeAmount: title: feeCalculatedChargeAmount description: סכום עמלה מחושב לגבייה type: number refundsCount: title: refundsCount description: 'כמות ההחזרים ' type: number maximum: 6 feeActualChargedAmount: title: feeActualChargedAmount description: סכום העמלה שחוייב בפועל = סה"כ סכום גביה פחות סכום החזר type: number maximum: 13 refundAmount: title: refundAmount description: סכום החזר type: number required: - refundAmount - feeActualChargedAmount - feeCalculatedChargeAmount subjectCode: title: subjectCode description: קוד נושא type: string minLength: 2 maxLength: 2 example: "02" required: - subjectDescription - subjectCode - fees - subjectTotals startingPeriod: title: startingPeriod description: החל מתקופה (MMYYYY) type: string pattern: ^(0[1-9]|1[0-2])[0-9]{4}$ minLength: 6 maxLength: 6 example: "072022" expensesTotals: title: expensesTotals description: סיכום הוצאות type: object properties: feesCount: title: feesCount description: מספר העמלות שחושבו type: number feeCalculatedChargeAmount: title: feeCalculatedChargeAmount description: סכום עמלה מחושב לגבייה type: number refundsCount: title: refundsCount description: 'כמות ההחזרים ' type: number maximum: 6 feeActualChargedAmount: title: feeActualChargedAmount description: סכום העמלה שחוייב בפועל = סה"כ סכום גביה פחות סכום החזר type: number maximum: 13 refundAmount: title: refundAmount description: סכום החזר type: number required: - refundAmount - feesCount - refundsCount - feeActualChargedAmount - feeCalculatedChargeAmount required: - startingPeriod feesData: title: feesData description: 'נתוני עמלות ' type: object properties: feesCount: title: feesCount description: מספר העמלות שחושבו type: number feesTotals: type: array items: title: feesTotals description: העמלות שחושבו - סכום העמלה וההטבה type: object properties: feeBonusAmount: title: feeBonusAmount description: סכום הטבה בעמלה type: number feeAmount: title: feeAmount description: סך העמלה לגבייה type: number currencyCode: title: currencyCode description: קוד מטבע type: string example: USD ILS required: - feeAmount - currencyCode - feeBonusAmount feesBodyLines: type: array items: title: feesBodyLines description: גוף טקסט עמלות לתצוגה type: string maxLength: 97 example: עמלת רישום פעולה במט"י בסך 0.60 ש"ח לפעולה. לאחר הטבה בשיעור 60.00% ממחיר העמלה בתעריפון. feesFooterLines: type: array items: title: feesFooterLines description: סיומת טקסט עמלות לתצוגה type: string maxLength: 97 example: שאילתה/פעולה זו בוצעה באישורי לאחר שקיבלתי את המידע בגין עלויות השירות ואופן חישובן feesCalculationStatus: title: feesCalculationStatus description: הסטטוס הכולל של חישוב העמלות בפעולה type: string enum: - Warning - Error - Success feesCalculationSummary: type: array items: title: feesCalculationSummary description: פרטי העמלות שחושבו (עד 10 עמלות) type: object properties: feeCode: title: feeCode description: קוד עמלה type: string minLength: 3 maxLength: 3 example: "041" feeCalculationStatus: title: feeCalculationStatus description: סטטוס חישוב עמלה type: string enum: - Warning - Error - Success required: - feeCalculationStatus maxItems: 10 required: - feesCalculationStatus required: - feesData x-ibm-endpoints: - endpointUrl: https://mtls-api.discountbank.co.il/prod/d type: - production - development ...