Buy Now Pay Later

Overview

Our Buy Now Pay Later services provide an easy and flexible payment option for your customers, allowing them to make purchases now and pay for them at a later date. This can help to increase sales by making it easier for customers to make larger purchases, or to buy more frequently.

Our Buy Now Pay Later services also include the ability to set up recurring payments, which can help to increase customer loyalty by making it easy for customers to make regular payments for their purchases. Our platform also allows customers to track and manage their payments, which can help to improve their experience and satisfaction.

Version

Get Eligible Plans

Status:

Production

Version:

V2

Category:

Buy Now Pay Later

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

Category:

Buy Now Pay Later
/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

How It Works

Follow the steps below. For more details, read the Quick Start Guide.