Deprecated API Reference

This API Reference is being deprecated. Please use the New API Reference.

Update Webhook

Copy
Copied
curl https://finix.sandbox-payments-api.com/webhooks/WHED2RM5dbNKcHYc3ALxhbW \
    -H "Content-Type: application/vnd.json+api" \
    -H 'Finix-Version:2022-02-01' \
    -u USsRhsHYZGBPnQw8CByJyEQW:8a14c2f9-d94b-4c72-8f5c-a62908e5b30e \
    -X PUT \
    -d '
    {
      "url" : "https://eohzjuj2prziycz.m.pipedream.net",
      "enabled" : false
  }'

Example Response:

Copy
Copied
{
  "id" : "WHED2RM5dbNKcHYc3ALxhbW",
  "created_at" : "2022-01-27T07:36:52.23Z",
  "updated_at" : "2022-10-10T03:59:40.82Z",
  "application" : "APgPDQrLD52TYvqazjHJJchM",
  "authentication" : {
    "type" : "NONE"
  },
  "enabled" : false,
  "enabled_events" : [ ],
  "previous_secret_expires_at" : null,
  "url" : "https://eohzjuj2prziycz.m.pipedream.net",
  "_links" : {
    "self" : {
      "href" : "http://finix.sandbox-payments-api.com/webhooks/WHED2RM5dbNKcHYc3ALxhbW"
    },
    "application" : {
      "href" : "http://finix.sandbox-payments-api.com/applications/APgPDQrLD52TYvqazjHJJchM"
    }
  }
}

HTTP Request

PUT https://finix.sandbox-payments-api.com/webhooks/:WEBHOOK_ID

Request Arguments

Field Type Description
enabled boolean, optional Set to false to disable Webhooks. Default value when created is true.
url string, required The HTTP or HTTPS url where the callbacks will be sent via POST request (max 120 characters). To update url submit a request with the new url.