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

Token Notification

Status:

Production

Version:

V2

Category:

Webhook

Overview

This webhook serves to instantly inform your system whenever a tokenization event occurs.

This webhook serves to instantly inform your system whenever a tokenization event occurs.

/V2/webhook/TokenNotification

Token Notification

Status:

Production

Version:

V2

Category:

Webhook
/V2/webhook/TokenNotification
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
idstring36Unique identifer for the request
typestring5AC: Activation,TC: Completion,TD: Token Events,TE: Token Resume
timestampstring30Timestamp of the request - Format YYYY-MM-DDtHH:MM:SS.SSS+04:00
detailscardidvaluestring32Card Identifier
typestring20externalCardId - when this is used,cardNumber - when clear card number is used
maskedCardNumberstring19Masked PAN number
clientIdstring20Client ID
mobilePhonestring32Mobile Number to which the SMS should be triggered
emailstring255Email ID
languagestring3Language ISO code
cbsNumberstring10CBS Number
textMessagestring255The content of the SMS
tokenactivationPrefstring10Activation Preference. Applicable for type= AC
requestorIdstring10Token Requestor ID
requestorNamestring30Wallet Name
activationCodestring30Activation OTP. Applicable for type= AC
deviceTypestring10Device Type. Applicable for type= TC, TD, TE
tokenEventReasonCodestring20TOKEN STATUS. Applicable for type= TD, TE
tokenEventIndicatorstring33:Inactive/Deactivated 4:SoftDeleted 6:Suspended 7:Active. Applicable for type= TD, TE

{
    "id": "b876d568-8411-4638-bdef-a1a188a4773b",
    "type": "AC",
    "timestamp": "2020-07-20T06:49:02.366Z",
    "details": {
        "card": {
            "id": {
                "value": "99984100133767425304",
                "type": "externalCardId"
            },
            "maskedCardNumber": "999841XXXXXX7408",
            "clientId": "112233677339066180",
            "mobilePhone": "112211223322",
            "email": "James.Robert@network.global",
            "language": "ENG",
            "cbsNumber": "ENG"
        },
        "textMessage": "Thank you for your NI Issuing Core DEMO Visa Gold credit card application. Your NI Issuing Core DEMO credit card ending 0796 was activated with 0.00 AED.",
        "token": {
            "activationPref": "1",
            "requestorId": "50110030273",
            "requestorName": "APPLE PAY",
            "activationCode": "303241",
            "deviceType": "21",
            "tokenEventReasonCode": "Active",
            "tokenEventIndicator": "3,4,6,7"
        }
    }
}

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

Node TypeTypeLengthDescription
idstring36Unique identifer ID
typestring10AC: Activation,TC: Completion,TD: Token Events,TE: Token Resume
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": "AC",
    "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.