Webhook Services

Overview

Our webhook solution ensures that your system receives real-time notifications regarding specific events triggered within the NI system, based on your subscription to the different webhooks.

Version

Account Transfer Result

Status:

Production

Version:

V2

Category:

Webhook

Overview

This webbook serves to instantly inform your system whenever an account transfer [product transfer] has been processed.

How It Works

The account transfer (product transfer) API request operates in asynchronous mode, meaning the request is submitted but processed later by a back-end scheduler. To keep your system informed of the transfer status, this webhook is set up to provide updates on the request status.

/V2/webhook/AccountTransferResult

Account Transfer Result

Status:

Production

Version:

V2

Category:

Webhook
/V2/webhook/AccountTransferResult
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
idstring20Unique identifer for the request
typestring32Type of the webhook
timestampstring30Timestamp of the request - Format YYYY-MM-DDtHH:MM:SS.SSS+04:00
detailsaccountTransfermainApplicationregNumberstring64Application unique identifier
creationTypestring32Additional application creation type code. {API_ASYNC, API_SYNC, FILE, SCREEN} for {Online API with delayed processing, Online API with instant processing, Batch file, Screen}.
responseCodestring9Error code
responseClassstring32Information, Warning, Error, Fatal Erro
responseMessagestring255Status description
sourceAppCodestring32Account Role
sourceAppNamestring32Respective parameter passed when the application was submitted from API/Batch
externalUserIdstring32Respective parameter passed when the application was submitted from API/Batch
accountidvaluestring32CONTRACT_NUMBER value
typestring20accountNumber fixed value
rolestring20Account Role
cbsNumberstring64Respective field of the contract record. Normally used for referring the account related to this contract in the core banking system.
productCodestring32Code of the product assigned to the contract. Values depend on the Way4 configuration
productGroupstring32Product group. Values depend on the Way4 configuration
cardsapplicationregNumberstring100This is a unique identifier for the request
rolestring50Creation type, for example the request was created from screen
clientIdstring10Response code where 0 is successful
newmaskedCardNumberstring64PAN. Is masked when PAN masking is requested
externalCardIdstring20EXID
productCodestring32New product code
oldmaskedCardNumberstring64PAN. Is masked when PAN masking is requested
externalCardIdstring20EXID
productCodestring32Old product code

{
    "id": "b876d568-8411-4638-bdef-a1a188a4773b",
    "type": "AccountTransferResult",
    "timestamp": "2020-07-20T06:49:02.366Z",
    "details": {
        "accountTransfer": {
            "mainApplication": {
                "regNumber": "50165654023572",
                "creationType": "SCREEN",
                "responseCode": "0",
                "responseClass": "Information",
                "responseMessage": "Adv Application Accept action completed successfully",
                "sourceAppCode": "src_app_code",
                "sourceAppName": "src_app_name",
                "externalUserId": "ext_user_id"
            },
            "account": {
                "id": {
                    "value": "0009998410098839208",
                    "type": "accountNumber"
                },
                "role": "ACC_MAIN",
                "cbsNumber": "7980876890876789",
                "productCode": "982_AED_017_A",
                "productGroup": "ISSCREDIT"
            },
            "cards": [
                {
                    "applicationregNumber": "356364128929",
                    "role": "MAIN_CARD",
                    "clientId": "112233135637995299",
                    "new": {
                        "maskedCardNumber": "999851******6844",
                        "externalCardId": "99985101174564327927",
                        "productCode": "982_AED_017_P"
                    },
                    "old": {
                        "maskedCardNumber": "999851******6844",
                        "externalCardId": "99985101174564327927",
                        "productCode": "982_AED_016_P"
                    }
                }
            ]
        }
    }
}

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

Node TypeTypeLengthDescription
idstring36Unique identifer ID
typestring10Type of the webhook
timestampstring30Timestamp of the response - Format YYYY-MM-DDtHH:MM:SS.SSS+04:00
responsestatuscodestring5Status code of the response
descriptionstring30Response Description

{
    "id": "b876d568-8411-4638-bdef-a1a188a4773b",
    "type": "AccountTransferResult",
    "timestamp": "2020-07-20T06:49:02.366Z",
    "response": {
        "status": {
            "code": "00",
            "description": "successful"
        }
    }
}

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.