Calculates the charges
post
/service/v1/charges
This endpoint is used to calculates the charges based on given parameters.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
appId(required): string
Application Id
-
branchCode(required): string
Branch Code
-
userId(required): string
User Id
Request Body For Charge Calculation
Nested Schema : txnDetails
Type:
Show Source
array
-
Array of:
object TransactionDetailsRequestDto
Transaction Details RequestDto
Nested Schema : TransactionDetailsRequestDto
Type:
object
Transaction Details RequestDto
Show Source
-
priceMethods:
array priceMethods
Details of each charge to be calculated
-
txnAttributes:
array txnAttributes
-
txnRefNo:
string
Txn Ref No
Nested Schema : priceMethods
Type:
array
Details of each charge to be calculated
Show Source
-
Array of:
object ChargeCalculationDetails
Charge Calculation Details
Nested Schema : ChargeCalculationDetails
Type:
object
Charge Calculation Details
Show Source
-
chargeCategory:
string
Charge Category
-
chargeCode:
string
Charge Code
-
chargeCodeDesc:
string
Charge Code Description
-
chargeCriteria:
string
Amount/Count on which charge needs to be calculated. e.g.FINANCE_AMOUNT, INVOICE_COUNT
-
chargeCriteriaValue:
number
Amount/Count Value on which charge needs to be calculated
-
chargeGroup:
string
Charge Group
-
chargeSharing:
string
Flag to indicate if charge sharing is available
-
chargeSharingPct:
number
Percentage of charge which will be charged to the given party
-
chargeType:
string
Charge Type
-
chgCalcFreq:
string
Charge Calculation Frequency
-
chgCalcRefPeriod:
string
Charge Calculation Reference Period
-
chgCalcType:
string
Charge Calculation Type
-
chgCalcUnit:
number
Charge Calculation Frequency Unit
-
chgCollFreq:
string
Charge Collection Frequency
-
chgCollRefPeriod:
number
Charge Collection Reference Period
-
chgCollType:
string
Charge Collection Type
-
chgCollUnit:
number
Charge Collection Frequency Unit
-
exchangeRate:
number
Exchange Rate
-
externalPricing:
string
External Pricing Flag
-
externalPricingApplicable:
string
External Pricing Applicable
-
externalPricingConsumerService:
string
External Pricing Consumer Service Name
-
externalPricingIdDescription:
string
External Pricing Identifier Description/Price Component Code Description
-
externalPricingIdentifier:
string
External Pricing Identifier/Price Component Code
-
externalPricingSystem:
string
External Pricing System
-
externalPricingSystemName:
string
External Pricing System Name
-
isChargeCalculated:
string
Is Charge Calculated
-
parentChargeCode:
string
Parent Charge Code
-
partyId:
string
Party Id which needs to be charged
-
partyToCharge:
string
Party which needs to be charged
-
priceRuleId:
string
Price Rule Id
-
refPeriodEndDate:
string
Reference Period End Date Value
-
refPeriodStartDate:
string
Reference Period Start Date Value
-
tenor:
number
Period for which charge will be calculated
-
txnCcy:
string
Transaction currency. It should be sent when chargeInTxnCcy is Y
Response
Supported Media Types
- application/json
- application/xml
200 Response
Calculated charges
Root Schema : ChargesResponseDto
Type:
object
Charges Response Dto
Show Source
-
applicationCode:
string
Application Code
-
txnDetails:
array txnDetails
Nested Schema : txnDetails
Type:
Show Source
array
-
Array of:
object TransactionDetailsResponseDto
Transaction Details ResponseDto
Nested Schema : TransactionDetailsResponseDto
Type:
object
Transaction Details ResponseDto
Show Source
-
chargeDetails:
array chargeDetails
Collection of calculated charges
-
txnRefNo:
string
Txn Ref No
Nested Schema : chargeDetails
Type:
array
Collection of calculated charges
Show Source
-
Array of:
object ChargesDetails
Charges Details
Nested Schema : ChargesDetails
Type:
object
Charges Details
Show Source
-
charge:
number
Charge
-
chargeCcy:
string
Charge Ccy
-
chargeCode:
string
Charge Code
-
chgCalcFreq:
string
Charge Calculation Frequency
-
chgCalcRefPeriod:
string
Charge Calculation Reference Period
-
chgCalcUnit:
number
Charge Calculation Frequency Unit
-
chgCollFreq:
string
Charge Collection Frequency
-
chgCollRefPeriod:
number
Charge Collection Reference Period
-
chgCollUnit:
number
Charge Collection Frequency Unit
-
exchangeRate:
number
Exchange Rate
-
partyId:
string
Party Id
-
partyToCharge:
string
Party to Charge
-
priceMethod:
string
Price Method
-
refPeriodEndDate:
string
Reference Period End Date Value
-
refPeriodStartDate:
string
Reference Period Start Date Value
-
scheduleDetails:
array scheduleDetails
Charge Schedule Details Collection
-
txnRefNo:
string
Transaction Ref No
Nested Schema : ChargeScheduleDetails
Type:
Show Source
object
-
calculationTenor:
number
Calculation Tenor
-
chargeAmt:
number
Charge Amount
-
chargeCalcDate:
string
Charge Calculation Date
-
chargeCalcEndDate:
string
Tenor End Date
-
chargeCalcStartDate:
string
Tenor Start Date
-
chargeCalcStatus:
string
Charge Collection Status
-
chargeCollDate:
string
Charge Collection Date
-
chargeCollStatus:
string
Charge Collection Status
-
chgCcy:
string
Charge Currency
-
chgCollectionAmt:
number
Original Charge Amount
-
nextChargeCalcDate:
string
Next Charge Calculation Date
-
nextChargeCollDate:
string
Next Charge Collection Date
-
oldChgAmt:
number
Original Charge Amount
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
500 Response
Internal error