Skip to main content

Update PG Limit

πŸ‘€βž‘οΈπŸŒ Update PG Limits Request (Client β†’ WCF REST Service)​

This message is sent by the Client to the WCF REST Service for updating PG Limits in ODIN and WebAdmin. The service validates the request and updates the PG Limits. Upon success, it sends a success response; otherwise, a failure response.

πŸ“˜ Field Details​

TagField NameReq’dData Type (Max)Comment
63Message VersionYString (10)Fixed Value – FT1.0
64Message TypeYInteger303 – Update amount in Cash Deposit
330 – Update amount in Manual Collateral
67Reserved PG Dealer IdYString (10)Reserved PG Dealer Id
4Session IdYString (100)Must match Session Id from Logon Response
201User IdYString (10)Web Retail User Id
202Group IdYString (10)Group Id of the user
246Notional DepositODecimalAmount in Rs.
Max: 99999999999.99
Enable PG_UPDATE_LIMIT_NEW_STRUCTURE config key to allow Notional Deposit
251AmountODecimalAmount in Rs.
Max: 99999999999.99
Enable PG_UPDATE_LIMIT_NEW_STRUCTURE config key to allow amount > 2 Cr
252Transaction Ref. No.YString (50)Unique PG Transaction Ref. No.
Enable PG_UPDATE_LIMIT_NEW_STRUCTURE config key to increase length to 50 chars
253Product IdYIntegerProduct Id for which Fund Transfer is initiated
999Check Sum ValueYIntegerChecksum based on entire string (must be last tag)

Example Request​

UpdatePGLimits
("63=FT1.0|64=303|67=RESERVEDPG|4=RESERVEDPG_572017142958|201=WEBRET1|202=HO|246=5|251=1|252=70705000100|253=1|999=023")

πŸ”’ Product IDs​

Product IdProduct Name
1NSE EQUITIES
2BSE EQUITIES
3NSE DERIVATIVES
4BSE DERIVATIVES
5MCX FUTURES
6NCDEX FUTURES
9MSE CURRENCY FUTURES
10NSECDS
11NSEL SPTCOM
12BSECDS
13MSE EQUITIES
14MSE FUTURES
15DSE
16BSE COMMODITY
19OTS
20MSEFIM
21MUTUAL FUND
100TRADING
101NSE COMMODITY
102TEST
103COMM
104ICEX FUTURES
105ABC
106EQUITIES
107DERIVATIVES
108CURRENCY

πŸ“‘πŸ“¨ Update PG Limits Response (WCF REST Service β†’ Client)​

πŸ“˜ Field Details​

TagField NameReq’dComment
63Message VersionYFixed Value – FT1.0
64Message TypeYFixed Value – 304
18Response CodeY0 – Failure
1 – Success
252Transaction Ref. No.YSame as the one sent in the request
19Response MessageOResponse Message

Example Responses​

** βœ… Success case**​

63=FT1.0|64=304|18=1|252=70705000100|19=PG Limit updated successfully

** ❌ Failure case**​

63=FT1.0|64=304|18=0|252=70705000100|19=Error occurred, kindly contact administrator

❌ Failure - Transaction Exists​

63=FT1.0|64=304|18=0|252=70705000100|19=Transaction No already exist in the system

❌ Failure - User Not Found​

63=FT1.0|64=304|18=0|252=70705000100|19=User Id does not exist in the system