Prepaid Solutions

Overview

With our prepaid solution, you can extend prepaid products to customers without constraints such as credit rating, income, or bank account ownership. The solution includes issuer, branch, corporate, or cardholder web-based portals, enabling effortless sales, maintenance, load, and card or customer lifecycle management. These features empower non-banked customers to manage their finances like seasoned professionals, making financial management more accessible and straightforward.

Activate prepaid cards

Users can activate prepaid cards when they are first issued or after they have been deactivated for any reason.

Check card balances

Users can check the balance on a prepaid card in real-time or on a scheduled basis.

View transaction history

Users can view a detailed record of all transactions made with a prepaid card, including the date, time, amount, and location of each transaction.

 
Version

Account Hierarchy Enquiry

Status:

Production

Version:

V2

Product:

Prepaid Solutions

Overview

 

Account Hierarchy allows businesses to efficiently manage and navigate complex account structures. Businesses can leverage the Account Hierarchy API to access detailed information about account relationships, such as parent-child connections or multi-level hierarchies. By integrating this API into their applications or systems, businesses can streamline account management processes, improve data visibility, and enhance decision-making capabilities.

Overall, the Account Hierarchy API serves as a fundamental tool for businesses seeking to effectively manage their account structures and optimize operational efficiency.

 

How It Works

The Account Hierarchy API is accessed by sending a request that specifies either a top-level account or a sub-account. The purpose of this request is to retrieve information about the current account level and its child levels within the hierarchy.

When making the request, you have the option to specify the depth or level of detail you want to receive in the response. For instance, if your account hierarchy has multiple levels (let's say 5 levels) starting from a top account (denoted as X), and you are interested in obtaining information about the top level (X), Level 1 (L1), and Level 2 (L2) only, you can indicate this in your request by using the "level_down" parameter.

By setting the "level_down" parameter appropriately in your API request (e.g., specifying "level_down": 2), you can instruct the Account Hierarchy API to provide information up to the specified depth (in this case, up to Level 2) in the response. This allows you to control and limit the amount of hierarchical data returned based on your specific needs or use case.

/AccountServices/Enquiry/V2/AccountHierarchy

Account Hierarchy Enquiry

Status:

Production

Version:

V2

Product:

Prepaid Solutions
/AccountServices/Enquiry/V2/AccountHierarchy
curl --location --request POST '#{PARAM_URL}' --header 'Authorization: Bearer {{ access_token }}' {custom_headers} --data-raw '#{JSON_PAYLOAD}'
curl --location --request GET 'https://api-sandbox.network.global/v1/tokenkc/generate' \--data-raw '#{JSON_PAYLOAD}'
curl --location --request POST 'https://api-sandbox.network.global/v1/tokenkc/generate' \--data-raw '#{JSON_PAYLOAD}'

Node Child Node Type Length Description
Authorization* requiredBearer xxxx* requiredstringAuthorization Header (Bearer Token)
Content-Type* requiredapplication/json* requiredstringContent Type

Node TypeTypeLengthDescription
NISrvRequestrequest_account_hierarchyheadermsg_id* requiredstring12Message ID, this field should be unique id for each Api call. This will be generated from client side. If the same message ID is used the system will decline the API call with Error Description “Duplicate Message ID”
msg_type* requiredstring12Message Type – This can have either “TRANSACTION” or “ENQUIRY” As for this API the value expected is “ENQUIRY”
msg_function* requiredstring50Message functions: Should be “REQ_ACCOUNT_HIERARCHY_ENQUIRY”
src_application* requiredstring10Source Application: This is a free Text and the client can populate the source system from where the API is Initiated Example: IVR, IB, MB No Validations of these are kept at Network Systems
target_application* requiredstring10The target_application can hold any value from FI side, this can be used by FI to check the target system of the API call
timestamp* requiredstring30Timestamp of the request - Format YYYY-MM-DDtHH:MM:SS.SSS+04:00
bank_id* requiredstring4Bank Id is Unique Id 4 digit code for each client and the same will be provided once the client setup is completed in our core system. For sandbox testing – Please use “NIC”
bodycustomer_id* requiredstring20Customer ID: Customer Identification number This should be a unique number
account_identifier_id* requiredstring32Account Identifer ID should be passed if customer_id is not sent as part of the request
account_identifier_type* requiredstring20CONTRACT_NUMBER is used for clear card number or EXID which is a unique identifier for the card generated by CMS
level_downstring1It is applicable for corporate hierarchy value can be from 1 to 5
client_typestring10It is applicable for corporate hierarchy - Values: Commercial → C Private → P
balance_liststring512The values can be - AVAILABLE,BLOCKED,TOTAL_BALANCE

{
    "NISrvRequest": {
        "request_account_hierarchy": {
            "header": {
                "msg_id": "236001",
                "msg_type": "ENQUIRY",
                "msg_function": "REQ_ACCOUNT_HIERARCHY_ENQUIRY",
                "src_application": "IVR",
                "target_application": "WAY4",
                "timestamp": "2020-07-20T10:49:02.366+04:00",
                "bank_id": "NIC"
            },
            "body": {
                "customer_id": "100000027",
                "account_identifier_id": "652589",
                "account_identifier_type": "EXID",
                "level_down": "1",
                "client_type": "C",
                "balance_list": "AVAILABLE"
            }
        }
    }
}

Node Child Node Type Length Description
Content-Typeapplication/jsonstringContent Type

Node TypeTypeLengthDescription
NISrvResponseresponse_account_hierarchyheadermsg_id* requiredstring12Message ID, this field should be unique id for each Api call. This will be generated from client side. If the same message ID is used the system will decline the API call with Error Description “Duplicate Message ID”
msg_type* requiredstring12Message Type – This can have either “TRANSACTION” or “ENQUIRY” As for this API the value expected is “ENQUIRY”
msg_function* requiredstring50Message functions: Should be “REP_ACCOUNT_HIERARCHY_ENQUIRY”
src_application* requiredstring10Source Application: This is a free Text and the client can populate the source system from where the API is Initiated Example: IVR, IB, MB No Validations of these are kept at Network Systems
target_application* requiredstring10The target_application can hold any value from FI side, this can be used by FI to check the target system of the API call
timestamp* requiredstring30Timestamp of the response - Format YYYY-MM-DDtHH:MM:SS.SSS+04:00
bank_id* requiredstring4Bank Id is Unique Id 4 digit code for each client and the same will be provided once the client setup is completed in our core system. For sandbox testing – Please use “NIC”
exception_detailsapplication_name* requiredstring20Application Name
date_time* requiredstring30Timestamp of the response Format “YYYY-MM-DD HH:MM:SS”
status* requiredstring1Status of the request (S/F)
error_code* requiredstring4EAI Internal Error Code (Check error codes section for the complete list of error codes and error code descriptions)
error_description* requiredstring100Error Description (Check error codes section for the complete list of error codes and error code descriptions)
transaction_ref_idstring20The tracking_id sent in the request will be sent back in response in this field.
bodyaccountsaccount_number* requiredstring64Account number
customer_id* requiredstring20Customer ID: Customer Identification number This should be a unique number
rbs_numberstring512RBS Number which is the number used to link NI System with Core System
product_code* requiredstring32This code is generated by CMS after creating the product. This code is FI specific code.
balancestypestring32Type of the balance
currencystring3Currency
amountstring20Balance ammount
sub_accountsaccount_number* requiredstring64Account number
customer_id* requiredstring20Customer ID: Customer Identification number This should be a unique number
rbs_numberstring512RBS Number which is the number used to link NI System with Core System
product_code* requiredstring32Product Code
balancestypestring32Type of the balance
currencystring3Currency
amountstring20Balance ammount
sub_accountsaccount_number* requiredstring64Account number
customer_id* requiredstring20Customer ID: Customer Identification number This should be a unique number
rbs_numberstring512RBS Number which is the number used to link NI System with Core System
product_code* requiredstring32Product Code
balancestypestring32Type of the balance
currencystring3Currency
amountstring20Balance ammount
sub_accountsaccount_number* requiredstring64Account number
customer_id* requiredstring20Customer ID: Customer Identification number This should be a unique number
rbs_numberstring512RBS Number which is the number used to link NI System with Core System
product_code* requiredstring32Product code, this code is generated by CMS after creating the product, this code is FI spesific code 982_AED_045_C_2 is just used as an example in Sandbox
balancestypestring32Type of the balance
currencystring3Currency
amountstring20Balance ammount
sub_accountsaccount_number* requiredstring64Account number
customer_id* requiredstring20Customer ID: Customer Identification number This should be a unique number
rbs_numberstring512RBS Number which is the number used to link NI System with Core System
product_code* requiredstring32Product code, this code is generated by CMS after creating the product, this code is FI spesific code 982_AED_045_C_2 is just used as an example in Sandbox
balancestypestring32Type of the balance
currencystring3Currency
amountstring20Balance ammount
sub_accountsaccount_number* requiredstring64Account number
customer_id* requiredstring20Customer ID: Customer Identification number This should be a unique number
rbs_numberstring512RBS Number which is the number used to link NI System with Core System
product_code* requiredstring32Product code, this code is generated by CMS after creating the product, this code is FI spesific code 982_AED_045_C_2 is just used as an example in Sandbox
balancestypestring32Type of the balance
currencystring3Currency
amountstring20Balance ammount
cardsmasked_card_number* requiredstring16Masked PAN
customer_idstring20Customer ID: Customer Identification number This should be a unique number
card_identifier_id* requiredstring32Card Identifier Id
card_identifier_type* requiredstring20CONTRACT_NUMBER is used for clear card number or EXID which is a unique identifier for the card generated by CMS
card_expiry_date* requiredstring4Cards expiry date the Format is YYMM
cardholder_name* requiredstring21Cardholders name
product_code* requiredstring32Product code, this code is generated by CMS after creating the product, this code is FI spesific code 982_AED_002_A is just used as an example in Sandbox
product_namestring32Product Name
brandstring10Card Brand example: MC , Visa
card_virtual_indicatorstring1V - Virtual P - Physical
statusestypestring10Status type
valuestring10Status value
changed_datestring10Date of status change
descriptionstring100Brief description
balancestypestring32Type of the balance
currencystring3Currency
amountstring20Balance ammount

{
    "NISrvResponse": {
        "response_account_hierarchy": {
            "header": {
                "msg_id": "236001",
                "msg_type": "ENQUIRY",
                "msg_function": "REP_ACCOUNT_HIERARCHY_ENQUIRY",
                "src_application": "IVR",
                "target_application": "WAY4",
                "timestamp": "2020-07-20T10:49:02.366+04:00",
                "bank_id": "NIC"
            },
            "exception_details": {
                "application_name": "TCC-ADP",
                "date_time": "2023-02-01T16:39:47.314+04:00",
                "status": "S",
                "error_code": "000",
                "error_description": "Success",
                "transaction_ref_id": "236001"
            },
            "body": {
                "accounts": {
                    "account_number": "0009821110000000008",
                    "customer_id": "100000027",
                    "rbs_number": "1",
                    "product_code": "982_AED_045_C_2",
                    "balances": {
                        "type": "",
                        "currency": "AED",
                        "amount": ""
                    },
                    "sub_accounts": {
                        "account_number": "0009821110000000008",
                        "customer_id": "7876790",
                        "rbs_number": "1",
                        "product_code": "982_AED_045_C_2",
                        "balances": {
                            "type": "",
                            "currency": "AED",
                            "amount": ""
                        },
                        "sub_accounts": {
                            "account_number": "0009821110000000008",
                            "customer_id": "7876790",
                            "rbs_number": "1",
                            "product_code": "982_AED_045_C_2",
                            "balances": {
                                "type": "",
                                "currency": "AED",
                                "amount": ""
                            },
                            "sub_accounts": {
                                "account_number": "0009821110000000008",
                                "customer_id": "7876790",
                                "rbs_number": "1",
                                "product_code": "982_AED_045_C_2",
                                "balances": {
                                    "type": "",
                                    "currency": "AED",
                                    "amount": ""
                                },
                                "sub_accounts": {
                                    "account_number": "0009821110000000008",
                                    "customer_id": "7876790",
                                    "rbs_number": "1",
                                    "product_code": "982_AED_045_C_2",
                                    "balances": {
                                        "type": "",
                                        "currency": "AED",
                                        "amount": ""
                                    },
                                    "sub_accounts": {
                                        "account_number": "0009821110000000008",
                                        "customer_id": "7876790",
                                        "rbs_number": "1",
                                        "product_code": "982_AED_045_C_2",
                                        "balances": {
                                            "type": "",
                                            "currency": "AED",
                                            "amount": ""
                                        },
                                        "cards": {
                                            "masked_card_number": "999851XXXXXX8349",
                                            "customer_id": "100000027",
                                            "card_identifier_id": "99985101161390700708",
                                            "card_identifier_type": "EXID",
                                            "card_expiry_date": "0528",
                                            "cardholder_name": "JOHN DOE",
                                            "product_code": "982_AED_002_A",
                                            "product_name": "",
                                            "brand": "VISA",
                                            "card_virtual_indicator": "V",
                                            "statuses": {
                                                "type": "BCC-CARD-982",
                                                "value": "_",
                                                "changed_date": "",
                                                "description": "SPACE"
                                            },
                                            "balances": {
                                                "type": "",
                                                "currency": "AED",
                                                "amount": ""
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

Node Child Node Type Length Description