MerchantType Property
MasterCard merchant classification code.
Syntax
fdmslevel2.getMerchantType([callback]) fdmslevel2.setMerchantType( merchantType, [callback])
Default Value
"0000"
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getMerchantType([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setMerchantType([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
Merchant Type is a four-position field defined by MasterCard that describes various merchant classifications. Each position in the field has a separate, special meaning for categorizing the merchant. If the data for a particular position is not available, that position must contain a blank. If it is available, it must contain one of the following business codes:
Position 1 - Business Classification
0 | Unknown |
1 | Corporation |
2 | Other Business Structure (e.g., Partnership, Sole Proprietorship, Joint Venture, etc.) |
Position 2 - Type of Business Owner Classification
0 | Unknown |
1 | No Applicable Classification (not female or handicapped) |
2 | Female Business Owner |
3 | Physically Handicapped Female Business Owner |
4 | Physically Handicapped Business Owner |
Position 3 - Minority, Small Business, Disadvantaged Certification
0 | Unknown |
1 | Certification Not Applicable |
2 | SBA Certification as Small Business |
3 | SBA Certification as Small Disadvantaged Business |
4 | Other Government or Agency Recognized Certification (e.g., Minority Supplier Development Council) |
5 | Self-certified Small Business |
6 | Definition 2 and Definition 4 |
7 | Definition 3 and Definition 4 |
8 | Definition 4 and Definition 5 |
Position 4 - Racial or Ethnic Type (Unconditional Majority Owner)
0 | Unknown |
1 | African American |
2 | Asian Pacific American |
3 | Subcontinent Asian American |
4 | Hispanic American |
5 | Native American Indian |
6 | Native Hawaiian |
7 | Native Alaskan |
8 | Caucasian |
9 | Other |
The maximum length of this property is 4 characters. This property is only used for MasterCard Corporate Purchasing Cards (CardType = ctMasterCard).
Data Type
String