API Reference

Mailing Address Preference Change Request API

This API is used to update the customer's preferred mailing address option (permanent, current or office) forrequestsreceived through various channelssuch as online banking or mobile banking. The Credit+ Issuing system receives, validates, and processes the request. If the request is successful, the mailing address preference is updated, system logs the 'Mailing Address Preference Request' (Service Code: 107) service request (SR) and sends the service request details in the response message. If the request fails, the system returns the corresponding error code in the response and the SR is not logged. Following are the validations for the Mailing Address Statement Preference Flag: • If 'P' is selected, then system checks if the permanent address is populated or not. If the permanent address is not populated, then the request is rejected with the response message: 'Permanent Address details not present.'. • If 'C' isselected, then system will check whether current addressis populated or not. If it is not populated, then the request is rejected with a response message: 'Current Address details not present'. • If 'O' is selected, then system will check whether office address is populated or not. If it is not populated, then the request should be rejected with a response message: 'Current Address details not present'. If a validation fails, it sends the corresponding error in the response message.

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 CodeError CodeReason
201CCRBO0004Request processed successfully
400MAIL002Invalid device number
400MAIL003Error while fetching details from device
403MAIL004Invalid wallet number
400MAIL005Error while fetching details from wallet.
400MAIL010Invalid Client code
400MAIL012Error while fetching details from client
400MAIL013Invalid Form factor type.
400MAIL006Error while executing Mailing address preference change API
400HDE050Institution code is mandatory
400HDE051Device number is mandatory
400HDE052Service code is mandatory.
400HDE053Error in fetching data from service_code_mst
400HDE054Active request Already exist
400HDE523This Service Request is not allowed for Add on device
400HDE524This Service Request is not allowed for closed device
400SERVIC001Service request is not applicable to product type.
400HDE003Error in fetching data from Product
400MAIL018Request is rejected as current mailing address preference is same as requested.
400MAIL001Current Address details not present.
400MAIL002Permanent Address details not present.
400MAIL003Office Address details not present.
500999Internal error
404998Device(s) does not exist
400HDE004Error in updating client details.
400997Form Factor field value must have max length 24.
400997Note field value must have max length 40.
Language
URL
Click Try It! to start a request and see the response here!