Introduction
This message allows the merchant to determine the card type of the card in question.
Request
Below are the details for the request message to initiate a get card type transaction.
|
Tag/Attribute Name |
Data Type |
Max Length |
Mandatory |
Comments |
||
|
Message |
Yes |
|||||
|
MerchantAuthentication |
Yes |
|||||
|
MerchantID |
A |
15 |
Yes |
The gateway account merchant ID issued (not to be confused with the MMS username) |
||
|
Password |
A |
15 |
Yes |
The gateway account password |
||
|
CardNumber |
N |
20 |
Yes |
The customer’s card number |
||
Response
Below are the details for the response that will be received after sending a GetCardType request.
|
Tag/Attribute Name |
Data Type |
Max Length |
Always Present |
Comments |
||||
|
GetCardTypeResponse |
Yes |
|||||||
|
GetCardTypeResult |
Yes |
|||||||
|
StatusCode |
N |
1 |
Yes |
This indicates the status of the transaction |
||||
|
Message |
A |
– |
No |
This gives a more detailed description of the status of the transaction |
||||
|
ErrorMessages |
No |
|||||||
|
MessageDetail |
Yes |
|||||||
|
Detail (multiple) |
A |
256 |
Yes |
If there were multiple error messages (e.g. multiple input variable validation errors, then they will be detailed here) |
||||
|
GetCardTypeOutputData |
No |
|||||||
|
CardTypeData |
||||||||
|
CardType |
A |
– |
Yes |
Gives the card type (see appendix 5) |
||||
|
Issuer |
A |
100 |
No |
The card issuer (if known) |
||||
|
LuhnCheckRequired |
B |
– |
Yes |
Gives a true or false stating whether the Luhn (mod10) check needs to be run against the card number to validate it |
||||
|
IssueNumberStatus |
A |
20 |
Yes |
Give the status of the issue number. Will be one of the following: MUST_BE_SUBMITTED, DO_NOT_SUBMIT, SUBMIT_ONLY_IF_ON_CARD, IGNORED_IF_SUBMITTED |
||||
|
GatewayEntryPoints |
Yes |
|||||||
|
GatewayEntryPoint (multiple) |
Yes |
|||||||
|
EntryPointURL (attribute) |
A |
256 |
Yes |
The URL of the active gateway entry point |
||||
|
Metric (attribute) |
N |
5 |
Yes |
A metric value giving an indication of whether transactions should be sent to this gateway entry point |
||||
