Card Plastic
CoreCard stores the data of the vendor and the physical features of the card that the Issuer wants to use for card embossing. You can use CoreCard APIs to request embossing and shipping of the cards.
GetCardImage
Action: POST
Endpoint: /api/GetCardImage
Use this API to get the card image in bytes.
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 Mandatory |
Proxy Number of the cardholder Valid values:0-9 Example:1005 Allowable Values: 19 |
Sample Request Body
{ "APIVersion": "1.4", "IPAddress": "10.206.2.197", "Source": "WEB", "CallerID": "", "CalledID": "", "SessionID": "", "ANI": "", "DNS": "", "Language": "en", "RequestDate": "", "ProxyNumber": "1316728" }
Response Fields Detail
Fields | Description |
---|---|
CardImage byte[] |
Card image in bytes |
MIMEType string |
MIME type Example : application/pdf, image/jpeg Allowable Values: 127 |
CardFrontImage byte[] |
Card Front Image in bytes |
CardBackImage byte[] |
Card Back Image in bytes |
Sample Response Body
{ "Message": "Successful.", "Status": true, "ErrorCode": "00000", "ResponseData": { "CardImage": "Q2FyZEltYWdl", "CardFrontImage": "Q2FyZEltYWdl", "CardBackImage": "Q2FyZEltYWdl", "MIMEType": "image/jpeg" } }