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

Card Status Change

Status:

Production

Version:

V2

Category:

Webhook

Overview

 This webbook serves to instantly inform your system whenever a status update was triggered on card level. This helps ensure that you will be notified when any status change is triggered and the same can be pushed to the cardholder. 

How It Works

Upon detection of a relevant status change action, regardless of the channel that was used for this action, the webhook initiates a notification process after checking the subscribers for this event. 

To be able to receive this webhook notification, you must subscribe to it, and by default you are not. 

Subscribers will be defined while create the financial institution in our system, or after creating.

/V2/webhook/CardStatusChange

Card Status Change

Status:

Production

Version:

V2

Category:

Webhook
/V2/webhook/CardStatusChange
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
detailsstatuscardidvaluestring32Card Identifier
typestring20externalCardId - when this is used,cardNumber - when clear card number is used
type* requiredstring30Action type value from way4 which will decide the webhook type in TIBCO.
oldValuestring1Previous Block Code
newValue* requiredstring1New Block Code

{
    "id": "b876d568-8411-4638-bdef-a1a188a4773b",
    "type": "CardStatusChange",
    "timestamp": "2020-07-20T06:49:02.366Z",
    "details": {
        "status": {
            "card": {
                "id": {
                    "value": "99984100133767425304",
                    "type": "externalCardId"
                }
            },
            "type": "BCC-CARD-982",
            "oldValue": "F",
            "newValue": "_"
        }
    }
}

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": "CardStatusChange",
    "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.