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

Refinance Transaction

Status:

Production

Version:

V2

Category:

Buy Now Pay Later

Overview


This API allows the conversion of a specific transaction into an installment plan, enabling users to refinance their purchases by breaking them into smaller, more manageable payments. Users can choose the transaction they want to refinance and select a preferred installment plan, which determines the number of payments and associated terms. This feature is ideal for users looking to spread out payments over time.

How It Works

 

When a customer chooses to convert a specific transaction into an installment plan, this API can be used by providing the card ID, transaction ID, and plan number. Additionally, there is an option to override certain parameters related to the transaction conversion, if necessary, foe example to waive the fee, set interest rate, and other options.

https://api-sandbox.network.global

Refinance Transaction

Status:

Production

Version:

V2

Category:

Buy Now Pay Later
/BnplServices/Transaction/V2/RefinanceTransaction
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_refinance_transactionheadermsg_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* requiredstring50name to be used Default REQ_REFINANCE_TRANSACTION
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* requiredstring10Target application name Ex WAY4 or DCMS or PCMS
timestamp* requiredstring30Timestamp of the request - Format YYYY-MM-DDtHH:MM:SS.SSS+04:00
tracking_idstring15Transaction Tracking Id
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”
bodycard_identifier_id* requiredstring32454545XXXXXX1234
card_identifier_type* requiredstring20CONTRACT_NUMBER is used for clear card number or EXID which is a unique identifier for the card generated by CMS
trans_id* requiredstring20Transaction ID
plan_number* requiredstring5Plan number for conversion configured by the bank.
instalment_descriptionstring255IPP Plan Description
channelstring12channel
optionskey* requiredstring20custom key
value* requiredstring128custom value
override_optionswaive_feestring1Processing Fee Waiver
ad-hoc_fee_typestring1Ad-hoc Fee type: P - percentage, F - fixed
ad-hoc_feestring18Ad-hoc Fee value: the number will be treated as percentage or amount, depending on the AH_FEE_TYPE
interest_ratestring3Instalment fee rate
portion_amountstring18Desired maximum amount on the portion
number_of_portionsstring4Number of portions
grace_periodstring3Number of cycles to shift before billing the first portion.
free_period_numberstring3Number of portions to apply zero fee rate to. The period starts with the first portion.

{
    "NISrvRequest": {
        "request_refinance_transaction": {
            "header": {
                "msg_id": "236001",
                "msg_type": "TRANSACTION",
                "msg_function": "REQ_REFINANCE_TRANSACTION",
                "src_application": "IVR",
                "target_application": "WAY4",
                "timestamp": "2020-07-20T10:49:02.366+04:00",
                "tracking_id": "236001",
                "bank_id": "NIC"
            },
            "body": {
                "card_identifier_id": "99984100148297467162",
                "card_identifier_type": "EXID",
                "trans_id": "92572",
                "plan_number": "41412",
                "instalment_description": "IPP Booking from API",
                "channel": "IVR",
                "options": [
                    {
                        "key": "BOOK_TYPE",
                        "value": "SR02"
                    }
                ],
                "override_options": {
                    "waive_fee": "Y",
                    "ad-hoc_fee_type": "F",
                    "ad-hoc_fee": "25.26",
                    "interest_rate": "15.45",
                    "portion_amount": "50000.0",
                    "number_of_portions": "",
                    "grace_period": "1",
                    "free_period_number": "1"
                }
            }
        }
    }
}

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

Node TypeTypeLengthDescription
NISrvResponseresponse_refinance_transactionheadermsg_id* requiredstring12The msg_id sent in the request will be sent back in response in this field
msg_type* requiredstring12Message Type – This can have either “TRANSACTION” or “ENQUIRY” As for this API the value expected is “TRANSACTION”
msg_function* requiredstring50Static Value - REP_REFINANCE_TRANSACTION
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
tracking_id* requiredstring15Transaction Tracking Id
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.

{
    "NISrvResponse": {
        "response_refinance_transaction": {
            "header": {
                "msg_id": "236001",
                "msg_type": "TRANSACTION",
                "msg_function": "REP_REFINANCE_TRANSACTION",
                "src_application": "IVR",
                "target_application": "CMS",
                "timestamp": "2020-07-20T10:49:02.366+04:00",
                "tracking_id": "236001",
                "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"
            }
        }
    }
}

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.