Webhooks samples
nCore platform supported webhook events and sample notifications are given below.

Card status change webhook

You can create webhook as shown in below example.

Webhook notification sample

You will start to receive the notification for a card status change event (CARD_STATUS_CHANGE) after creating a webhook endpoint as shown below.
Sample

Transaction webhook

You can create webhook as shown in below example.

Webhook notification sample

You will start to receive the notification for a transaction event (TRANSACTION) after creating a webhook endpoint as shown below.
When the event = TRANSACTION, message_type = AUTHORIZATION; then the webhook notification can be received for CASH_WITHDRAWAL, PURCHASE, REFUND, and REVERSAL as per the configured transaction type shown below:
Sample
When the event = TRANSACTION, message_type = API; then the webhook notification can be received for WALLET_CREDIT, WALLET_DEBIT, and WALLET_TRANSFER as per the configured transaction type shown below:
Sample

KYC result webhook

You can create webhook as shown in below example.

Webhook notification sample

You will start to receive the notification for a KYC result event (KYC_RESULT) after creating a webhook endpoint as shown below.
Sample

User status change webhook

You can create webhook as shown in below example.

Webhook notification sample

You will start to receive the notification for a user status change event (USER_STATUS_CHANGE) after creating a webhook endpoint as shown below.
Sample

User document alert webhook

You can create a webhook as shown in below example.

Webhook notification sample

You will start to receive the notification for a USER_DOCUMENT_ALERT event after creating a webhook endpoint.
There are 2 types of notification samples for this webhook event:
  • triggered when document is near expiry
Sample
  • triggered when document is expired
Sample

Identity verification webhook

You can create webhook as shown in below example.

Webhook notification sample

You will start to receive the notification for an IDENTITY_VERIFICATION event after creating a webhook endpoint.
  1. 1.
    Webhook received upon user creation:
Sample
2. Webhook received upon updating user status from PENDINIDVERIFICATION I0 to PENDINGIDVERIFICATION B0:
Sample