• Register

Card Link Delink

This service is used to Link and Delink Card in accounts.

Request Parameters:

Node Child Node Data Type Length Description Remarks
header msg_id A/N 12 Unique Source Message ID Mandatory
msg_type String 12 Request Type Default: "TRANSACTION" Mandatory
msg_function String 50 Function name to be used Default:  "REQ_CARD_LINK_DELINK" Mandatory
src_application String 10 Source requesting channel e.g. “IB” or "IVR" etc. Might change. Mandatory
target_application String 10 Target application name Ex. : "WAY4" or "DCMS" or "PCMS" Mandatory
timestamp String 30 Timestamp of the request Format  “DD/MM/YYYY HH:MM:SS” Mandatory
tracking_id String 15 Transaction Tracking Id Optional
bank_id String 4 Source Bank Id e.g. “XXXX” Mandatory
body card_number String Min – 16 Max - 19 14/16-digit card no Mandatory 
e.g: 518522XXXXXX0833
First 6 digits will be BIN for cards
account_number String 19 Account Number Mandatory
  action_type   String 10 Fixed value: LINK or DELINK Mandatory
account_role String 15 Primary/Supplementary Optional

 

 Request JSON

{
  "NISrvRequest":{
    "request_card_link_delink":{
      "header":{
        "msg_id":"224661",
        "msg_type":"TRANSACTION",
        "msg_function":"REQ_CARD_LINK_DELINK",
        "src_application":"IVR",
        "target_application":"DCMS",
        "timestamp":"2020-07-19T13:04:30.356+04:00",
        "tracking_id":"224661",
        "bank_id":"ALMR"
      },
      "body":{
        "card_number":"5467710632770979",
        "account_number":"0000800185201655",
        "action_type": "LINK",
        "account_role": "Primary"
      }
    }
  }
}


 Response Parameters:

Child Node Data Max Description Remarks
msg_id String 12 The msg_id sent in the request will be sent back in response in this field. Mandatory
Unique Source Message ID e.g. “ada123456fdsf”
msg_type String 12 msg_type sent in the request will be sent back in response in this field. Mandatory
msg_function String 50 Function name to be used Default:  "REP_CARD_LINK_DELINK" Mandatory
src_application String 10 The src_application sent in the request will be sent back in response in this field. Mandatory
Source requesting channel e.g. “IB” or "IVR" etc
target_application  String 10 The target_application sent in the request will be sent back in response in this field. Mandatory
timestamp String 30 Timestamp of the response Mandatory
Date & time. Format  “DD/MM/YYYY HH:MM:SS”
tracking_id String 15 The tracking_id sent in the request will be sent back in response in this field. Optional
bank_id String 4 The bank_id sent in the request will be sent back in response in this field. E.g. ‘ABCD Mandatory
instance_id String 10 N/A Optional
application_name String 20 Tibco Application Name Mandatory
date_time String 30 Timestamp of the response Mandatory
Format “DD/MM/YYYY HH:MM:SS”
status String 1 Status of the request (S/F) Mandatory
Success- S,  Failure - F
error_code String 4 EAI Internal Error Code (Check error codes section for the complete list of error codes and error code descriptions) Mandatory
error_description String 100 Error Description (Check error codes section for the complete list of error codes and error code descriptions) Mandatory
transaction_ref_id String 20 The tracking_id sent in the request will be sent back in response in this field. Optional
Response JSON
{
   "NISrvResponse":{
      "response_card_link_delink":{
         "header":{
            "msg_id":"123ab45",
            "msg_type":"ENQUIRY",
            "msg_function":"REP_CARD_LINK_DELINK",
            "src_application":"IVR",
            "target_application":"DCMS",
            "timestamp":"2020-05-21T15:13:18.853+04:00",
            "tracking_id":"fhaihfhf23",
            "bank_id":"bankID",
            "instance_id":null
         },
         "exception_details":{
            "application_name":"NITIBCO",
            "date_time":"2020-05-21T15:13:18.853+04:00",
            "status":"S",
            "error_code":"000",
            "error_description":"Success",
            "transaction_ref_id":null
         }
      }
   }
}

Docs Navigation