production
development
https://mtls-api.discountbank.co.il/prod/d
Paths
/feeTracks
get /feeTracks
postmanrequest
Oauth 2.1 B2B
Oauth 2.1 B2B
(oauth2 application)
B2B Authorization
Token URL
https://$(api.endpoint.hostname)/$(api.org.name)/$(env.path)/b2b/token
Scopes
fee_data
omer.abukarat@dbank.co.il
accountID
Optional in query
string
מזהה חשבון
{
"pattern": "^[0-9]{1,4}-[0-9]{1,10}$"
}
Accept-Language
Required in header
string
Authorization
Required in header
string
Content-Authorization
Required in header
string
שדה לשתיחת JWT
X-Global-Transaction-ID
Optional in header
string
Accept
Required in header
string
Content-Type
Optional in header
string
200
Example Request
Example Response
GET https://mtls-api.discountbank.co.il/prod/d/FeeServices/feeTracks
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
/account/{accountID}/fees/charges
get /account/{accountID}/fees/charges
400f2daa-5f0a-4412-8de8-6b2dc7b20ecc
Oauth 2.1 B2B
Oauth 2.1 B2B
(oauth2 application)
B2B Authorization
Token URL
https://$(api.endpoint.hostname)/$(api.org.name)/$(env.path)/b2b/token
Scopes
Restricted
periodType
Required in query
string
סוג תקופת הדו"ח
{
"enum": [
"SemiYearPriorLastSemiYear",
"BySpecifiedMonths",
"LastSemiYear",
"LastYear"
]
}
scope
Required in query
string
רמת הפירוט
{
"enum": [
"DetailedAndTotals",
"Totals",
"Detailed"
]
}
startingPeriod
Optional in query
string
החל מתקופה (MMYYYY)
{
"pattern": "^(0[1-9]|1[0-2])[0-9]{4}$"
}
uptoPeriod
Optional in query
string
עד תקופה (MMYYYY)
{
"pattern": "^(0[1-9]|1[0-2])[0-9]{4}$"
}
Accept-Language
Required in header
string
שפת הממשק
{
"enum": [
"en-US",
"he-IL"
]
}
X-Global-Transaction-ID
Optional in header
string
מזהה פעילות
Accept
Required in header
string
פורמט הפלט
Content-Type
Optional in header
string
פורמט הקלט
Authorization
Optional in header
string
אימות הרשאות API
accountID
Required in path
string
מזהה חשבון
{
"pattern": "^[0-9]{1,4}-[0-9]{1,10}$"
}
Example Request
Example Response
GET https://mtls-api.discountbank.co.il/prod/d/FeeServices/account/{accountID}/fees/charges
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
Definitions
{
"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"
]
}
{
"properties": [],
"additionalProperties": false
}
{
"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"
]
}
}
}
{
"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"
]
}
}
}