Link Cards
Linking of cards means multiple cards can be linked to a single self-service user id. By logging into a single self-service account, multiple cards can be managed. By linking a card, the user doesn’t need to create different IDs for different cards.
GetLinkCardsDetails
Action: POST
Endpoint: /api/GetLinkCardsDetails
Use this API to get details of all the linked cards with User ID linked with given Card or Proxy Number.
Request Fields Detail
Fields | Description |
---|---|
APIVersion string Mandatory |
Version of the API to be invoked Example: 1.3 Allowable Values: 10 |
IPAddress string Mandatory |
IP Address of sender Example: 10.206.0.204 Allowable Values: 15 |
Source string Mandatory |
Source from where API Call is initiated. CoreCard have multiple value of source for internal system (CoreMoney, SelfService, IVR, MobileSelfService) For external system expected source will be WEB. Allowable Values: 50 |
CallerID string Optional |
Caller Id of source from where API is initiated. It is End User phone number. Example: 7204454214 Condition - applicable in Case of IVR Allowable Values: 20 |
CalledID string Optional |
Called Id of destination for which API is initiated. It is Corecard IVR number. Example: 7314145404 Condition - applicable in Case of IVR Allowable Values: 20 |
SessionID string Optional |
Reserved for future use Allowable Values: 50 |
ANI string Optional |
Reserved for future use Allowable Values: 0 |
DNS string Optional |
Reserved for future use Allowable Values: 0 |
Language string Optional |
Flag to retrieve error message in specific language Example: 'en' for English Allowable Values: 2 |
RequestDate string Optional |
Request Date Time of API Format: MM-DD-YYYYTHH:MM:SS Example:- 11-12-2021T13:05:10 Allowable Values: 19 |
ProxyNumber string Conditional |
Proxy Number of the cardholder Valid values:0-9 Example:1005 NOTE: Please provide Proxy Number used for user registration. Condition : At least one of Card Number/Proxy Number is required. Allowable Values: 19 |
CardNumber string Conditional |
Clear Card Number of the cardholder Valid values: 0-9 Example: 123456******0001 NOTE: Please provide CardNumber used for user registration. Condition : At least one of Card Number/Proxy Number is required. Allowable Values: 16 |
IsCardMasked string Conditional |
Flag to indicate Card Number should be returned in masked form or in clear form. Valid Values: 0 = Clear Card Number in Response. 1 = Masked Card Number in Response. 2 = No Card Number in Response. Note : Default value is 1 Example : Blank,0,1,2 Allowable Values: 1 |
Sample Request Body
{ "APIVersion": "1.3", "IPAddress": "10.206.2.197", "Source": "WEB", "CallerID": "", "CalledID": "", "SessionID": "", "ANI": "", "DNS": "", "Language": "en", "RequestDate": "", "ProxyNumber": "1314932", "CardNumber": "", "IsCardMasked": "1" }
Response Fields Detail
Fields | Description |
---|---|
LinkCardsDetail array |
Sample Response Body
{ "Message": "Successful.", "Status": true, "ErrorCode": "00000", "ResponseData": { "LinkCardsDetail": [ { "AccountNumber": "60000000038338", "FirstName": "ASD", "CurrentBalance": 497.05, "ManualCardStatus": "9", "ManualCardStatusName": "Lost", "SubProductType": "29", "SubProductTypeDescription": "Access Cards", "ReloadsAllowed": "1", "ProxyNumber": "1317775", "ProductID": "1739", "ProductDescription": "", "LinkCardStatus": "2", "LoginFlag": "1", "CardType": "", "CardNumber": "406684******4195", "LinkCardAccess": "YES", "SACAsk": "No", "LongFormDisclosureENPDF": "TnC_1739_20210107_191704.pdf", "LongFormDisclosureESPDF": "", "LongFormDisclosureENJPG": "", "LongFormDisclosureESJPG": "" }, { "AccountNumber": "60000000031960", "FirstName": "Bhavesh", "CurrentBalance": 100.01, "ManualCardStatus": "2", "ManualCardStatusName": "Active", "SubProductType": "32", "SubProductTypeDescription": "Prepaid Grant Card", "ReloadsAllowed": "1", "ProxyNumber": "1316646", "ProductID": "1758", "ProductDescription": "", "LinkCardStatus": "2", "LoginFlag": "1", "CardType": "", "CardNumber": "406681******2773", "LinkCardAccess": "YES", "DelinkCardAccess": "YES", "SACAsk": "No", "LongFormDisclosureENPDF": "TnC_1739_20210107_191704.pdf", "LongFormDisclosureESPDF": "", "LongFormDisclosureENJPG": "", "LongFormDisclosureESJPG": "" } ] } }