CreateSubscription

Create or update a subscription for a set of event-types. To complete provisioning of the subscription you must do a GET request against the validationUrl sent to the Destination.EndpointUrl. Webhooks of the specified event-types will be delivered when provisioning has succeeded.

Request
path Parameters
id
required
string

Id of the subscription

Request Body schema:

Event subscription

eventTypes
Array of strings or null

Type of events to subscribe to

  • ZData.Events.Banking.ConsentUpdated
object or null

Destination configuration

Responses
200

Success

401

Unauthorized

403

Forbidden

404

Not Found

put/events/subscriptions/{id}
Request samples
{}
Response samples
application/json
{
  • "id": "string",
  • "provisioningState": "Succeeded"
}