Manage MCC Blocks – Function MCCBlock
This function is used to manage MCC Blocks on a card. There is a parameter in the URL that indicates whether a block is being added or removed. This works for single MCC’s as well as MCC Groups. Parameters and examples of this call are provided below.
Inputs | Description | Required | Data Type |
---|---|---|---|
FunctionID | MCCBlock | Y | |
P1 | PAN or Alt ID | Y | (12…24) Alphanumeric |
P2 | MCC | Y (if no P3) | (5) Numeric |
P3 | MCC Group | Y (if no P2) | (96) Alphanumeric |
Action | A (Add) or R (Remove) | Y | (1) Alpha |
Output | Description | ||
P1 | Error Code | ||
P2 | Error Text |
Example: MCCBlock Request
Add a single MCC Request:
https://api.m2fin.com:8443/AuthENGINAPI/AuthENGINAPI?CID=5&CUSR=someuser&CPWD=somepass&
FUNC=MCCBlock&MSGID=00001000000000023&P1=20000000001234&P2=12345&Action=A
Remove an MCC Group Request:
https://api.m2fin.com:8443/AuthENGINAPI/AuthENGINAPI?CID=5&CUSR=someuser&CPWD=somepass&F
UNC=MCCBlock&MSGID=00001000000000023&P1=20000000001234&P3=SOMEMCCGROUP&Action=R
FUNC=MCCBlock&MSGID=00001000000000023&P1=20000000001234&P2=12345&Action=A
Remove an MCC Group Request:
https://api.m2fin.com:8443/AuthENGINAPI/AuthENGINAPI?CID=5&CUSR=someuser&CPWD=somepass&F
UNC=MCCBlock&MSGID=00001000000000023&P1=20000000001234&P3=SOMEMCCGROUP&Action=R
Example: MCCBlock Response
Positive Response for Adding: P1=0000&P2=Limit Added
Positive Response for Removing: P1=0000&P2=Limit
Removed Error with Message:
P1=5901&P2=Some error message about the request
attempt System Error:
P1=5999&P2=Some system error that
occurred Missing an Action:
P1=0006&P2=An action value of A or R is required