Account Services

Overview

Our account-related APIs are a powerful set of APIs that provide businesses with a flexible and scalable way to manage their customers' accounts. These APIs enable businesses to streamline their account management process, making it easier for them to create, update, and manage customer accounts, while also providing a seamless and personalized customer experience.

One of the key features of our account-related APIs is the account creation functionality. With this API, businesses can easily create new customer accounts, while also ensuring that each account is unique and identifiable. This can be done by including customer-specific information, such as their name, email address, and contact information, as part of the account creation process.

Another important functionality of our account-related APIs is account updation. This API enables businesses to update existing customer accounts with new information, such as changes to their contact information, billing information, or account preferences. By using this API, businesses can ensure that customer account information is always up-to-date and accurate, helping to improve the overall customer experience.

In addition to these functionalities, our account-related APIs also include account listing functionality. This API provides a way for businesses to retrieve a list of all customer accounts or a subset of customer accounts based on specific criteria. This can be useful for businesses that need to segment their customers based on certain attributes, such as geographic location, account type, or other demographic factors.

Overall, our account-related APIs provide businesses with a comprehensive set of tools for managing customer accounts, enabling them to provide a seamless and personalized customer experience, while also improving their operational efficiency and scalability.

Version

Account Transfer

Status:

Production

Version:

V2

Category:

Account Services

Overview

This API will allow a cardholder to request a product transfer upgrade or downgrade from one product to another. The key elements are account identifier and new product code for the request to be processed.
Additional optional tags for card production also available:
1.    preemb: Indicator to mark the cards as Pre-Embossed (Mandatory for Virtual Cards)
2.    sde: mark the cards as same day embossing
3.    set_pin: Indicator to allow set new PIN
4.    fee: Indicator for the Fee to be applied
5.    cards_virtual_indicator: sending this key as V means all the cards will be replaced as virtual cards.


Note: if none of the above tags were provided in the request, the default parameters defined on the product will be processed.

How It Works

This API accepts an account identifier, along with a new product code, and optionally, a PCT code. Operating asynchronously, it provides an acknowledgment once the request is received. The actual processing happens in the background through a scheduler. After processing, you'll receive a notification to update you on the status of the account transfer. Account transfer status webhook details are available under

Account Transfer Status Webhook

This approach prevents timeouts and enables the backend to manage transfers efficiently without disrupting the user experience in real-time.

 

 

https://api-sandbox.network.global

Account Transfer

Status:

Production

Version:

V2

Category:

Account Services
/AccountServices/Transaction/V2/AccountTransfer
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_transferheadermsg_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 “TRANSACTION”
msg_function* requiredstring50Message functions: Should be “REQ_ACCOUNT_TRANSFER”
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”
bodyaccount_identifier_id* requiredstring32Account number
account_identifier_type* requiredstring20CONTRACT_NUMBER
new_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
new_pctstring7Pricing Control Tables
request_detailssrc_app_codestring32Client Additional info
src_app_namestring64Client Additional info
ext_user_idstring32Client Additional info
custom_fieldskeystring32Custom Tag e.g. preemb- Indicator for Pre-Emboss (Mandatory for Virtual Cards). Default N sde- Indicator for Same Day Embossing. Default N set_pin- Indicator to Set new PIN. Default N fee- Indicator for Fee to be applied. Default Y cards_virtual_indicator- The only supported value is V.V- All cards will be replaced as virtual. if V was used preemb must be =Y.
valuestring128Custom Tag value

{
    "NISrvRequest": {
        "request_account_transfer": {
            "header": {
                "msg_id": "236001",
                "msg_type": "TRANSACTION",
                "msg_function": "REQ_ACCOUNT_TRANSFER",
                "src_application": "IVR",
                "target_application": "WAY4",
                "timestamp": "2020-07-20T10:49:02.366+04:00",
                "bank_id": "NIC"
            },
            "body": {
                "account_identifier_id": "0009821110000000008",
                "account_identifier_type": "CONTRACT_NUMBER",
                "new_product_code": "982_AED_042_A",
                "new_pct": "PCT_001",
                "request_details": {
                    "src_app_code": "SRC_APP_CODE",
                    "src_app_name": "Source Application Name",
                    "ext_user_id": "u123"
                },
                "custom_fields": [
                    [
                        {
                            "key": "preemb",
                            "value": "N"
                        },
                        {
                            "key": "sde",
                            "value": "N"
                        },
                        {
                            "key": "set_pin",
                            "value": "N"
                        },
                        {
                            "key": "fee",
                            "value": "Y"
                        },
                        {
                            "key": "cards_virtual_indicator",
                            "value": "V"
                        }
                    ]
                ]
            }
        }
    }
}

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

Node TypeTypeLengthDescription
NISrvResponseresponse_account_transferheadermsg_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 “TRANSACTION”
msg_function* requiredstring50Message functions: Should be “REP_ACCOUNT_TRANSFER”
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.

{
    "NISrvResponse": {
        "response_account_transfer": {
            "header": {
                "msg_id": "236001",
                "msg_type": "TRANSACTION",
                "msg_function": "REP_ACCOUNT_TRANSFER",
                "src_application": "IVR",
                "target_application": "WAY4",
                "timestamp": "2020-07-20T06:49:02.366Z",
                "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.