Create the discount offers
post
/service/v1/createDiscountOffer
This endpoint is used to create the discount offers.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
appId(required): string
Application Id
-
branchCode(required): string
branchCode
-
userId(required): string
userId
Finance Transaction Model
Root Schema : DiscountOffer
Type:
object
Finance Transaction Model
Show Source
-
applicabilityBasis:
string
applicabilityBasis
-
autoApplicabilityBasis:
string
autoApplicabilityBasis
-
autoApplicable:
string
autoApplicable
-
channel:
string
channel
-
checkerDtStamp:
string
checkerDtStamp
-
checkerId:
string
checkerId
-
chgPrcId:
string
chgPrcId
-
chgPrcTemplateId:
string
chgPrcTemplateId
-
counterparty:
string
counterparty
-
counterPartyName:
string
counterPartyName
-
counterpartyRole:
string
counterpartyRole
-
currency:
string
currency
-
discountOfferRangeDetail:
array discountOfferRangeDetail
-
discountRate:
number
discountRate
-
discountRuleDesc(required):
string
Pattern:
[a-zA-Z0-9_,.&@ ]*
discountRuleDesc -
discountRuleId:
string
discountRuleId
-
discountType(required):
string
discountType
-
earlyPaymentDate:
string
earlyPaymentDate
-
effectiveDate(required):
string
Pattern:
([0-9]{4})-([0-9]{2})-([0-9]{2})
effectiveDate -
expiryDate(required):
string
Pattern:
([0-9]{4})-([0-9]{2})-([0-9]{2})
expiryDate -
id:
string
id
-
instrumentAmountFrom:
number
instrumentAmountFrom
-
instrumentAmountTo:
number
instrumentAmountTo
-
invoiceRefNoList:
array invoiceRefNoList
-
makerDtStamp:
integer(int64)
makerDtStamp
-
makerId:
string
makerId
-
maxTenor:
number
maxTenor
-
minTenor:
number
minTenor
-
relationshipCode:
string
relationshipCode
-
requestorParty:
string
requestorParty
-
requestorPartyName:
string
requestorPartyName
-
requestorPartyRole(required):
string
requestorPartyRole
-
seqNo:
integer(int64)
seqNo
-
slidingScaleApplicable:
string
slidingScaleApplicable
-
sourceTxnId:
string
sourceTxnId
Nested Schema : discountOfferRangeDetail
Type:
Show Source
array
-
Array of:
object DiscountOfferRangeDetail
Collection of Instrument Reference numbers for financing.
Nested Schema : DiscountOfferRangeDetail
Type:
object
Collection of Instrument Reference numbers for financing.
Show Source
-
discountRate:
number
discountRate
-
discountRuleId:
string
discountRuleId
-
lowerDiscountRateThreshold:
number
lowerDiscountRateThreshold
-
remainingTenorFrom:
number
remainingTenorFrom
-
remainingTenorTo:
number
remainingTenorTo
-
slidingScaleApplicable:
string
slidingScaleApplicable
-
upperDiscountRateThreshold:
number
upperDiscountRateThreshold
Response
Supported Media Types
- application/json
- application/xml
200 Response
Successful performs the operation
Root Schema : DiscountOfferResponseModel
Type:
object
Discount Offer Response for Service
Show Source
-
dynamicDiscRuleId:
string
dynamicDiscRuleId
-
errorCode:
string
errorCode
-
errorDescription:
string
errorDescription
-
sourceTxnId:
string
sourceTxnId
-
status:
string
Status
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
500 Response
Internal error