This API is used to update the statement delivery mode as per customer's preference for requests received through various channels such as online banking or mobile banking. The Credit+ Issuing system receives, validates and processes the request. If the request is successful, preferred statement option is updated, system logs the “Statement Option Request” (Service Code: 244) service request (SR) and sends the service request details in the response message. Further, the “Statement Preference flag” is also accordingly updated at the client level. If the request fails, the system returns the corresponding error code in the response and the SR is not logged.
Validations for Statement Preference Flag:
-
If 'E' is selected, then the system will checks whether the email id is populated or not. If it is not populated, then the request is rejected with the following response message: - 'Request is rejected as email id is not updated'.
-
If 'H' is selected, then the system will checks whether the mailing address is populated or not. If it is not populated, then the request is rejected with the following response message: - 'Request is rejected as preference mail address is not updated'.
-
If 'B' is selected, then the system checks if the preference address and email ids are populated or not. If it is not populated, then the request should be is rejected with the following response message: - 'Request is rejected as preference mail address and email id are not updated'.
HTTP Status and Response Status Matrix
- HTTP Code: This is the response status code issued by a server in response to a client's request made to the server.
- Error Code: This is the error code returned by Credit+ Issuing application in the ‘code’ field of the response message indicating if the request was processed successfully or failed.
- Reason: This is the description of the error code returned by Credit+ Issuing application.
HTTP Code | Error Code | Reason |
---|---|---|
201 | STMT000 | Successful |
400 | 997 | Invalid Form Factor Type. |
400 | 997 | Form Factor Type field is mandatory. |
400 | 997 | Form Factor field is mandatory. |
400 | 997 | Form Factor field value must have max length 24. |
400 | 997 | Stmt Preference field is mandatory |
400 | 997 | Stmt Preference field is invalid. |
400 | 997 | Priority Request field is invalid. |
400 | 997 | Note field is mandatory. |
400 | 997 | Note field value must have max length 40. |
400 | STMT001 | Invalid Device (FORM_FACTOR_TYPE = 'CRD') |
500 | STMT002 | Error while fetching details from device (FORM_FACTOR_TYPE = 'CRD') |
400 | STMT003 | Invalid Wallet. (FORM_FACTOR_TYPE = 'ACT') |
500 | STMT004 | Error while fetching details from wallet (FORM_FACTOR_TYPE = 'ACT') |
400 | STMT005 | Invalid Client code (FORM_FACTOR_TYPE = 'CLI') |
500 | STMT006 | Error while fetching details from client (FORM_FACTOR_TYPE = 'CLI') |
400 | STMT007 | Invalid Form factor type |
400 | STMT010 | Request is rejected as current statement preference is same as requested |
400 | STMT008 | Request is rejected as email id is not updated |
400 | STMT011 | Request is rejected as preference mail address is not updated |
500 | STMT006 | Error while executing Statement preference change API |
400 | HDE050 | Institution code is mandatory |
400 | HDE051 | Device number is mandatory |
400 | HDE052 | Service code is mandatory. |
500 | HDE053 | Error in fetching data from service_code_mst. |
500 | HDE004 | Error in updating client details |
400 | HDE054 | Active request Already exist |
400 | HDE523 | This Service Request is not allowed for Addon device |
400 | HDE524 | This Service Request is not allowed for closed device |
500 | HDE053 | Error in fetching data from service_code_mst |
400 | SERVIC001 | Service request is not applicable to product type. |