Debit Solutions

Overview

Our one-stop, centralised solution for Debit Card processing is designed to provide you with a seamless and secure payment experience. Whether you are a small business or a large enterprise, our solution is cost-effective, easily configurable and scalable to meet your specific needs.

With our Debit Card processing solution, you can easily accept payments from your customers and enjoy faster access to your funds. Our platform supports all major debit card networks, so you can accept payments from customers regardless of their bank.

Version

Get Eligible Plans

Status:

Production

Version:

V2

Product:

Credit Solutions

Get Eligible Plans

Overview

The 'Get Eligible Plans' API offers personalized plan recommendations based on eligibility criteria, allowing for a seamless and efficient plan selection process. With comprehensive and informative plan details provided, users can make informed decisions about which plan is best for them. Overall, this API streamlines the process of finding the right plan for each user.

How It Works

The 'Get Eligible Plans' API is allows authorized users to retrieve a list of plans that they are eligible for based on certain criteria. To use this API, users must provide information about the card they want to use for the plan, as well as details about the transaction and the type of action they want to perform. The API will then provide a list of eligible plans that match the user's criteria, including details such as the plan name, price, and duration.

https://api-sandbox.network.global

Get Eligible Plans

Status:

Production

Version:

V2

Product:

Credit Solutions
/SB/CardServices/Enquiry/V2/GetEligiblePlans
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
headermsg_id* requiredstring12The msg_id sent in the request will be sent back in response in this field
msg_type* requiredstring12Request Type Default ENQUIRY
msg_function* requiredstring50Function name to be used Default REQ_GET_ELIGIBLE_PLANS
src_application* requiredstring10Source requesting channel Ex IVR
target_application* requiredstring10Target application name Ex PCMS
timestamp* requiredstring30Timestamp of the request Format DD/MM/YYYY HH:MM:SS
bank_id* requiredstring4Source Bank Id Ex bankID
bodycard_identifier_id* requiredstring32card identifier
card_identifier_type* requiredstring20CONTRACT_NUMBER or EXID
trans_idstring20Transaction Id
actionstring20balance_conversion, balance_transfer, loan
balance_amountstring20Balance amount

{
    "NISrvRequest": {
        "request_get_eligible_plans": {
            "header": {
                "msg_id": "236001",
                "msg_type": "ENQUIRY",
                "msg_function": "REQ_GET_ELIGIBLE_PLANS",
                "src_application": "IVR",
                "target_application": "CMS",
                "timestamp": "2020-07-20T10:49:02.366+04:00",
                "bank_id": "NIC"
            },
            "body": {
                "card_identifier_id": "99984100148297467162",
                "card_identifier_type": "EXID",
                "trans_id": "",
                "action": "EXID",
                "balance_amount": "EXID"
            }
        }
    }
}

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

Node TypeTypeLengthDescription
headermsg_id* requiredstring12The msg_id sent in the request will be sent back in response in this field
msg_type* requiredstring12Request Type Default ENQUIRY
msg_function* requiredstring50Function name to be used Default RES_GET_ELIGIBLE_PLANS
src_application* requiredstring10Source requesting channel Ex IVR
target_application* requiredstring10Target application name Ex PCMS
timestamp* requiredstring30Timestamp of the request Format DD/MM/YYYY HH:MM:SS
bank_id* requiredstring4Source Bank Id Ex bankID
instance_idstring10InstanceID
exception_details
bodyplansplan_number* requiredstring5Plan number
number_of_portions* requiredstring4Number of portions
interest* requiredstring3Interest

{
    "NISrvResponse": {
        "response_get_eligible_plans": {
            "header": {
                "msg_id": "236001",
                "msg_type": "ENQUIRY",
                "msg_function": "RES_GET_ELIGIBLE_PLANS",
                "src_application": "IVR",
                "target_application": "CMS",
                "timestamp": "2020-07-20T10:49:02.366+04:00",
                "bank_id": "NIC",
                "instance_id": "InstanceID"
            },
            "exception_details": {
                "application_name": "TCC-ADP",
                "date_time": "2023-02-01T16:39:47.314+04:00",
                "status": "S",
                "error_code": "000",
                "error_description": "Success"
            },
            "body": {
                "plans": [
                    {
                        "plan_number": "",
                        "number_of_portions": "",
                        "interest": ""
                    }
                ]
            }
        }
    }
}

Code Description
200Sample Description
400Bad Request
401Unauthorized
403Forbidden
500Internal Server Error
502Bad gateway
503Scheduled Maintenance
504Gateway Timeout
596Service Not Found