POST
/
api
/
service
/
webhook-subscription
/
update
curl --request POST \
  --url https://api.sand.getivy.de/api/service/webhook-subscription/update \
  --header 'Content-Type: application/json' \
  --header 'X-Ivy-Api-Key: <api-key>' \
  --data '{
  "id": "<any>",
  "url": "<string>",
  "events": [
    "test",
    "merchant_updated",
    "merchant_app_updated",
    "order_created",
    "order_updated",
    "refund_succeeded",
    "refund_failed",
    "payout_report_requested",
    "data_session_completed",
    "checkout_session_created",
    "checkout_session_updated",
    "checkout_session_expired",
    "checkout_session_completed",
    "payout_created",
    "payout_updated",
    "mandate_setup_started",
    "mandate_setup_succeeded",
    "mandate_setup_failed",
    "mandate_revoked",
    "user_payout.initiated",
    "user_payout.failed",
    "user_payout.paid"
  ]
}'
{
  "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.