- Previous: Get Encryption Certificate
- Up: Version 2.0
- Next: Get Account Balance
Get Dictionaries MCC
This service will be used to get all available MCC Groups available for a given FI, with the option to get related MCC codes by sending include_code = true and the option to filter on: MCC Group: this can be specific MCC group code, or list of MCC group codes comma separated (ex: C,U).
Code example
Click on the buttons to view code snippet:
curl -X 'GET' \
'https://apitest.network.ae/dictionaries/mcc?include_codes=true&mcc_group=ENTERTAINMENT' \
-H 'accept: application/json' \
-H 'Unique-Reference-Code: Req-008' \
-H 'Financial-Id: NIC' \
-H 'Channel-Id: IVR'
import requests
url = "https://apitest.network.ae/cards/:card_identifier_id/instalments/plans?card_identifier_type=ipsum ea&trans_id=ipsum ea&booking_param=ipsum ea&balance_amount=ipsum ea&action=ipsum ea"
payload={}
headers = {
'Unique-Reference-Code': 'ipsum ea',
'Financial-Id': 'ipsum ea',
'Channel-Id': 'ipsum ea',
'Accept': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
setUrl('https://apitest.network.ae/cards/:card_identifier_id/instalments/plans?card_identifier_type=ipsum ea&trans_id=ipsum ea&booking_param=ipsum ea&balance_amount=ipsum ea&action=ipsum ea');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
'follow_redirects' => TRUE
));
$request->setHeader(array(
'Unique-Reference-Code' => 'ipsum ea',
'Financial-Id' => 'ipsum ea',
'Channel-Id' => 'ipsum ea',
'Accept' => 'application/json'
));
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
}
else {
echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
$response->getReasonPhrase();
}
}
catch(HTTP_Request2_Exception $e) {
echo 'Error: ' . $e->getMessage();
}
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://apitest.network.ae/cards/:card_identifier_id/instalments/plans?card_identifier_type=ipsum ea&trans_id=ipsum ea&booking_param=ipsum ea&balance_amount=ipsum ea&action=ipsum ea")
.method("GET", body)
.addHeader("Unique-Reference-Code", "ipsum ea")
.addHeader("Financial-Id", "ipsum ea")
.addHeader("Channel-Id", "ipsum ea")
.addHeader("Accept", "application/json")
.build();
Response response = client.newCall(request).execute();
Request Parameters:
HTTP | Key | Type | Length | Description | Remarks |
Http header | Unique-Reference-Code | String | 12 | Unique Source Message ID | Mandatory |
Financial-Id | String | N/A | Financial Institution Id | Mandatory | |
Channel-Id | String | N/A | e.g. IVR | Mandatory | |
Query Parameter | include_codes | Boolean | N/A | true or false | Optional |
mcc_group | String | N/A | Optional |
Response Parameters:
Node | Child Node | Type | Description | Remarks | ||
dictionaries_mcc | group_name | String | Group Name | Optional | ||
group_code | String | Group Code | Optional | |||
Array of MCC List | ||||||
mcc_list | code | String | mcc code | Optional | ||
name | String | mcc name | Optional |
Response Json
{
"dictionaries_mcc": [
{
"group_name": "Entertainment",
"group_code": "ENTERTAINMENT",
"mcc_list": [
{
"code": "4457",
"name": "4457 Boat Rentals And Lease"
},
{
"code": "7033",
"name": "7033 Trailer Parks & Campgrounds"
},
{
"code": "5813",
"name": "5813 Drinking Places - Bars,Tave"
}
]
}
]
}
- Previous: Get Encryption Certificate
- Up: Version 2.0
- Next: Get Account Balance
Docs Navigation
- API Security
- Falcon Services
- Card Services
- BETA
- Version 1.0
- Card Balance Enquiry
- Card Activation
- Card Set Pin
- Card Change PIN
- Card PIN Verification
- Card Status Update
- Card Limit Update
- Card Details
- Customer Details
- List Of Cards
- Customer Demographic Update
- Card Used Limits
- Card Statement Summary
- Card Transaction
- Utility Payments
- Account Create
- Account Update
- Account Closure
- Card Create
- Card Update
- Card Replacement
- Client Create
- Client Update
- Transaction Details
- PIN Retries Counter Reset
- Digital Status Chnage
- Get CVV2 Service
- Card Link Delink
- Card Insurance Products
- Card Change Insurance Product Status
- Card Direct Debit
- Update Card Direct Debit
- Card Balance Conversion Enquiry
- Card Balance Conversion
- Card Transaction Eligibility
- Card Transaction EPP Conversion
- Card Replacement Embossing
- Card NMON Transactions
- Retail Banking Transactions
- Appendix 1
- Appendix 2
- Appendix 3
- Appendix 4
- HTTP Codes
- Error Codes
- Version 2.0
- Lookup Card Identifier
- List Of Cards
- Card Activation
- Card Set PIN
- Card Change PIN
- Card Status Update
- Client Create
- Account Create
- Card Create
- Customer Demographic Update
- Account Update
- Card Update
- Card Replacement
- Customer Details
- Card Details
- Client Update
- Card Balance Enquiry
- Card Transaction
- Card Limit Update
- Card PIN Verification
- PIN Retried Counter Reset
- Get CVV2 Service
- Card Verification
- Card Transaction Details
- Get Encryption Certificate
- Get Dictionaries MCC
- Get Account Balance
- Card Insurance Product
- Card Insurance Product Update
- Card Direct Debit Update
- Card Direct Debit
- P2P Transfer
- Account Transaction
- Account Status Change
- Card Statement Summary
- Account Transaction Details
- Card Contact Details
- List of Accounts
- Account Hierarchy
- Notification Service
- Appendix 1
- Appendix 2
- Appendix 3
- Appendix 4
- HTTP Codes
- Error Codes
- Buy Now Pay Later
- Card Limits
- Insurance Services
- Webhook Services
- Switch Services
- Card Control Services
- Merchant Digital Onboarding
- Notification Service
- SMS Security Services
- Terms and Condition
0 Comments
Please sign in to post a comment.