GET api/v100/cardTypes
Get a list of CardTypes.
Request Information
URI Parameters
None.
Headers
| Name | Description | Type | Additional information |
|---|---|---|---|
| appkey |
Ej. abcdefghijk |
None. |
|
| session |
Ej. 1234567890 |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of RsCardTypes| Name | Description | Type | Additional information |
|---|---|---|---|
| cardTypeCode |
Card Type unique code used to identify the card type |
string |
Required String length: inclusive between 0 and 50 |
| description |
Card Type visible Description |
string |
Required String length: inclusive between 0 and 50 |
| cardTypeIconURL |
URL to the card icon to be displayed by the application |
string |
Required String length: inclusive between 0 and 50 |
| includeCVV |
Indicates if CVV needs to be included in the card information. |
boolean |
Required |
| includeExp |
Indicates if Expiration Date needs to be included in the card information. |
boolean |
Required |
| panLength |
Indicates the maximum PAN length. |
integer |
Required |
| panMinLength |
|
integer |
Required |
| loyaltyType |
Indicates if the card is Loyalty (0:none, 1:yes). |
integer |
Required |
| enrollmentPIN |
Indicates if the card has EnrollmentPIN (0:none, 1:Lenght of the PIN). |
integer |
Required |
| barCode |
Indicates if the card nedd BarCode (0:none, 1:yes). |
integer |
Required |
Response Formats
application/json, text/json
[
{
"cardTypeCode": "sample string 1",
"description": "sample string 2",
"cardTypeIconURL": "sample string 3",
"includeCVV": true,
"includeExp": true,
"panLength": 6,
"panMinLength": 7,
"loyaltyType": 8,
"enrollmentPIN": 9,
"barCode": 10
},
{
"cardTypeCode": "sample string 1",
"description": "sample string 2",
"cardTypeIconURL": "sample string 3",
"includeCVV": true,
"includeExp": true,
"panLength": 6,
"panMinLength": 7,
"loyaltyType": 8,
"enrollmentPIN": 9,
"barCode": 10
}
]