Skip to content

Commit fa9e6f8

Browse files
authored
Merge pull request #431 from SetuHQ/interchangefee-spec-changes-MAIN
added ccf interchangefeedetailsV2
2 parents 80f4406 + 46b2f52 commit fa9e6f8

3 files changed

Lines changed: 515 additions & 16 deletions

File tree

api-references/payments/billpay/api-integration.json

Lines changed: 204 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7433,8 +7433,58 @@
74337433
"feeCode": {
74347434
"type": "string",
74357435
"example": "CCF1"
7436+
},
7437+
"interchangeFeeDetailsV2": {
7438+
"type": "array",
7439+
"description": "Always returned alongside interchangeFeeDetails. Tiered interchange fee slabs by transaction amount range. Select the slab where the payment amount (in paise) falls between tranAmtRangeMin and tranAmtRangeMax (inclusive) and use that slab's flatFee and percentFee for CCF calculation. When the array has a single slab, it aligns with interchangeFeeDetails.",
7440+
"items": {
7441+
"required": [
7442+
"effctvFrom",
7443+
"effctvTo",
7444+
"flatFee",
7445+
"percentFee",
7446+
"tranAmtRangeMax",
7447+
"tranAmtRangeMin"
7448+
],
7449+
"type": "object",
7450+
"properties": {
7451+
"tranAmtRangeMax": {
7452+
"type": "integer",
7453+
"format": "int64"
7454+
},
7455+
"tranAmtRangeMin": {
7456+
"type": "integer",
7457+
"format": "int64"
7458+
},
7459+
"effctvFrom": {
7460+
"type": "string",
7461+
"example": "2024-01-01"
7462+
},
7463+
"effctvTo": {
7464+
"type": "string",
7465+
"example": "2024-12-31"
7466+
},
7467+
"flatFee": {
7468+
"type": "number",
7469+
"format": "decimal",
7470+
"example": 0.0
7471+
},
7472+
"percentFee": {
7473+
"type": "number",
7474+
"format": "decimal",
7475+
"example": 1.0
7476+
}
7477+
}
7478+
}
74367479
}
7437-
}
7480+
},
7481+
"required": [
7482+
"feeCode",
7483+
"feeDesc",
7484+
"feeDirection",
7485+
"interchangeFeeDetails",
7486+
"interchangeFeeDetailsV2"
7487+
]
74387488
}
74397489
},
74407490
"pincode": {
@@ -8072,8 +8122,58 @@
80728122
"feeCode": {
80738123
"type": "string",
80748124
"example": "CCF1"
8125+
},
8126+
"interchangeFeeDetailsV2": {
8127+
"type": "array",
8128+
"description": "Always returned alongside interchangeFeeDetails. Tiered interchange fee slabs by transaction amount range. Select the slab where the payment amount (in paise) falls between tranAmtRangeMin and tranAmtRangeMax (inclusive) and use that slab's flatFee and percentFee for CCF calculation. When the array has a single slab, it aligns with interchangeFeeDetails.",
8129+
"items": {
8130+
"required": [
8131+
"effctvFrom",
8132+
"effctvTo",
8133+
"flatFee",
8134+
"percentFee",
8135+
"tranAmtRangeMax",
8136+
"tranAmtRangeMin"
8137+
],
8138+
"type": "object",
8139+
"properties": {
8140+
"tranAmtRangeMax": {
8141+
"type": "integer",
8142+
"format": "int64"
8143+
},
8144+
"tranAmtRangeMin": {
8145+
"type": "integer",
8146+
"format": "int64"
8147+
},
8148+
"effctvFrom": {
8149+
"type": "string",
8150+
"example": "2024-01-01"
8151+
},
8152+
"effctvTo": {
8153+
"type": "string",
8154+
"example": "2024-12-31"
8155+
},
8156+
"flatFee": {
8157+
"type": "number",
8158+
"format": "decimal",
8159+
"example": 0.0
8160+
},
8161+
"percentFee": {
8162+
"type": "number",
8163+
"format": "decimal",
8164+
"example": 1.0
8165+
}
8166+
}
8167+
}
80758168
}
8076-
}
8169+
},
8170+
"required": [
8171+
"feeCode",
8172+
"feeDesc",
8173+
"feeDirection",
8174+
"interchangeFeeDetails",
8175+
"interchangeFeeDetailsV2"
8176+
]
80778177
}
80788178
},
80798179
"pincode": {
@@ -9162,8 +9262,58 @@
91629262
"feeCode": {
91639263
"type": "string",
91649264
"example": "CCF1"
9265+
},
9266+
"interchangeFeeDetailsV2": {
9267+
"type": "array",
9268+
"description": "Always returned alongside interchangeFeeDetails. Tiered interchange fee slabs by transaction amount range. Select the slab where the payment amount (in paise) falls between tranAmtRangeMin and tranAmtRangeMax (inclusive) and use that slab's flatFee and percentFee for CCF calculation. When the array has a single slab, it aligns with interchangeFeeDetails.",
9269+
"items": {
9270+
"required": [
9271+
"effctvFrom",
9272+
"effctvTo",
9273+
"flatFee",
9274+
"percentFee",
9275+
"tranAmtRangeMax",
9276+
"tranAmtRangeMin"
9277+
],
9278+
"type": "object",
9279+
"properties": {
9280+
"tranAmtRangeMax": {
9281+
"type": "integer",
9282+
"format": "int64"
9283+
},
9284+
"tranAmtRangeMin": {
9285+
"type": "integer",
9286+
"format": "int64"
9287+
},
9288+
"effctvFrom": {
9289+
"type": "string",
9290+
"example": "2024-01-01"
9291+
},
9292+
"effctvTo": {
9293+
"type": "string",
9294+
"example": "2024-12-31"
9295+
},
9296+
"flatFee": {
9297+
"type": "number",
9298+
"format": "decimal",
9299+
"example": 0.0
9300+
},
9301+
"percentFee": {
9302+
"type": "number",
9303+
"format": "decimal",
9304+
"example": 1.0
9305+
}
9306+
}
9307+
}
91659308
}
9166-
}
9309+
},
9310+
"required": [
9311+
"feeCode",
9312+
"feeDesc",
9313+
"feeDirection",
9314+
"interchangeFeeDetails",
9315+
"interchangeFeeDetailsV2"
9316+
]
91679317
}
91689318
},
91699319
"pincode": {
@@ -11649,8 +11799,58 @@
1164911799
"feeCode": {
1165011800
"type": "string",
1165111801
"example": "CCF1"
11802+
},
11803+
"interchangeFeeDetailsV2": {
11804+
"type": "array",
11805+
"description": "Always returned alongside interchangeFeeDetails. Tiered interchange fee slabs by transaction amount range. Select the slab where the payment amount (in paise) falls between tranAmtRangeMin and tranAmtRangeMax (inclusive) and use that slab's flatFee and percentFee for CCF calculation. When the array has a single slab, it aligns with interchangeFeeDetails.",
11806+
"items": {
11807+
"required": [
11808+
"effctvFrom",
11809+
"effctvTo",
11810+
"flatFee",
11811+
"percentFee",
11812+
"tranAmtRangeMax",
11813+
"tranAmtRangeMin"
11814+
],
11815+
"type": "object",
11816+
"properties": {
11817+
"tranAmtRangeMax": {
11818+
"type": "integer",
11819+
"format": "int64"
11820+
},
11821+
"tranAmtRangeMin": {
11822+
"type": "integer",
11823+
"format": "int64"
11824+
},
11825+
"effctvFrom": {
11826+
"type": "string",
11827+
"example": "2024-01-01"
11828+
},
11829+
"effctvTo": {
11830+
"type": "string",
11831+
"example": "2024-12-31"
11832+
},
11833+
"flatFee": {
11834+
"type": "number",
11835+
"format": "decimal",
11836+
"example": 0.0
11837+
},
11838+
"percentFee": {
11839+
"type": "number",
11840+
"format": "decimal",
11841+
"example": 1.0
11842+
}
11843+
}
11844+
}
1165211845
}
11653-
}
11846+
},
11847+
"required": [
11848+
"feeCode",
11849+
"feeDesc",
11850+
"feeDirection",
11851+
"interchangeFeeDetails",
11852+
"interchangeFeeDetailsV2"
11853+
]
1165411854
}
1165511855
},
1165611856
"pincode": {

0 commit comments

Comments
 (0)