LogoLogo
NymCardAPI catalogContact usnFront catalog
  • NYMCARD DOCUMENTATION
  • Get Started
    • nCore API Quick Tutorial
    • API Core Principles
    • Program management
      • Manage documents by APIs
      • User KYB process
      • Necessary parameters per user type
      • User ID verification by SDK
      • User KYC process
    • Issuance
      • Users
      • Cards
    • Issuing Physical Cards
      • Individual card issuance
      • Bulk card issuance
      • Card fulfillment
      • Card PIN management
      • Card replacement
      • Proxy number usage
    • Issuing Virtual Cards
      • Migration of virtual to physical card
    • Funding and transfers
      • Funding
      • Internal funding source
      • External funding source
        • From card
        • From bank account
        • Lean API flow
        • DAPI direct API flow
      • Transfers
      • Western Union APIs
    • Product Management
      • Card product
      • Balance limits
      • Velocity limits
      • Fees
      • Charges
      • Multi-currency
      • Authorization controls
        • Enhancements for MCC list management
    • Transactions
      • Payment ecosystem
      • Transaction lifecycle
      • Transaction types
      • Transaction endpoints scenarios
      • Multi-clearing process
    • Webhooks
      • Introduction to webhooks
      • nCore webhook events
      • Steps to configure a webhook
      • Webhooks samples
      • Webhook changes for simulation
      • Webhooks management
    • Security
      • PCI widget
      • 3D Secure
      • OTP SMS templates
    • Release announcements
      • Embedded Lending Release Notes
      • Changes in the release on 13/07/2023
      • Changes in the release on 23/05/2023
      • Changes in the release on 04/04/2023
  • For developers
    • nCore API catalog
    • nFront API catalog
Powered by GitBook
On this page
  • Update a webhook
  • Retrieve webhooks
  • Delete a webhook
  • Ping a webhook
  • Trigger expired webhooks
  • Search webhooks

Was this helpful?

  1. Get Started
  2. Webhooks

Webhooks management

PreviousWebhook changes for simulationNextSecurity

Last updated 11 months ago

Was this helpful?

You can create and manage your webhooks events by using our APIs. Following are the APIs available at nCore platform for webhooks event management.

  • Update a webhook

  • Get a list of webhooks

  • Get a specific webhook

  • Delete a webhook

  • Ping an existing webhook

  • Trigger an expired webhooks

  • Search webhooks

Update a webhook

You can update the existing webhook as required. Send a PUT request to /webhooks/{id} endpoint to update a webhook.

Include the webhook ID as a path parameter to indicate the webhook which is required to be updated.

{ "endpoint": "", "events": [ "CARD_STATUS_CHANGE" ] }

Retrieve webhooks

The nCore platform offers the following retrieval options for webhooks.

Retrieve all webhooks

You can retrieve all existing webhooks by sending a GET request to /webhooks endpoint as shown below.

Retrieve a specific webhook

You can retrieve a specific webhook by sending a GET request to /webhooks/{id} endpoint, where id is the webhook ID.

Delete a webhook

You can delete a specific webhook by sending a DELETE request to /webhooks/{id} endpoint, where id is the webhook ID.

Ping a webhook

You can ping an existing webhook endpoint for testing purposes (for example, to validate credentials and connectivity).

You can send a POST request to /webhooks/{id}:ping endpoint, where id is the webhook ID.

Trigger expired webhooks

A webhook notification is counted as successfully transmitted when a positive response is received from your system. If a positive response is not received, then the platform retries to transmit the webhook notification. The number of retry attempts and the interval between retries (in seconds) are configured. If all the retries are exhausted for an individual notification event then that event is marked as expired.

It is possible to mark the expired events for retransmission on your request by sending a POST request to /webhooks/sendexpired endpoint.

Search webhooks

You can search webhooks by sending a POST request to /webhooks:search endpoint as shown below.

{

"notification_id": “b012776c-ab74-4ece-8403-0bbb9130508c”

}

PUT /webhooks/{id}
https://example.com/
GET /webhooks
GET /webhooks/{id}
DELETE /webhooks/{id}
POST /webhooks/{id}:ping
POST /webhooks:sendexpired
POST /webhooks:search