POST
/
api
/
service
/
webhook-subscription
/
update
JavaScript
import Ivy from '@getivy/node-sdk';

const client = new Ivy({
  apiKey: 'My API Key',
});

const subscription = await client.webhook.subscription.update({ id: {} });

console.log(subscription.id);
{
  "id": "<any>",
  "merchant": "<any>",
  "merchantApp": "<any>",
  "url": "<string>",
  "events": [
    "test"
  ],
  "createdAt": "<any>",
  "updatedAt": "<any>"
}

Authorizations

X-Ivy-Api-Key
string
header
required

API key for authentication

Body

application/json

Response

200 - application/json

Returns the updated webhook subscription.

The response is of type object.