Deprecated API Reference

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

List all Webhooks

Retrieve a list of every created Webhook, including the endpoint url configured to receive events.

Copy
Copied
curl https://finix.sandbox-payments-api.com/webhooks/ \
    -H "Content-Type: application/vnd.json+api" \
    -H 'Finix-Version:2022-02-01' \
    -u  USsRhsHYZGBPnQw8CByJyEQW:8a14c2f9-d94b-4c72-8f5c-a62908e5b30e

Example Response:

Copy
Copied
{
  "_embedded" : {
    "webhooks" : [ {
      "id" : "WHg3ocwoCz9PgF4ncZTyArFJ",
      "created_at" : "2022-10-10T03:56:10.15Z",
      "updated_at" : "2022-10-10T03:56:10.15Z",
      "application" : "APgPDQrLD52TYvqazjHJJchM",
      "authentication" : {
        "type" : "NONE"
      },
      "enabled" : true,
      "enabled_events" : [ ],
      "previous_secret_expires_at" : null,
      "url" : "https://eohzjuj2prziycz.m.pipedream.net",
      "_links" : {
        "self" : {
          "href" : "http://finix.sandbox-payments-api.com/webhooks/WHg3ocwoCz9PgF4ncZTyArFJ"
        },
        "application" : {
          "href" : "http://finix.sandbox-payments-api.com/applications/APgPDQrLD52TYvqazjHJJchM"
        }
      }
    }, {
      "id" : "WHmhF8wEUZ3LRCJjcqsXfdDi",
      "created_at" : "2022-09-27T18:38:55.58Z",
      "updated_at" : "2022-09-27T18:38:55.78Z",
      "application" : "APgPDQrLD52TYvqazjHJJchM",
      "authentication" : {
        "type" : "NONE"
      },
      "enabled" : false,
      "enabled_events" : [ ],
      "previous_secret_expires_at" : null,
      "url" : "https://example.com/",
      "_links" : {
        "self" : {
          "href" : "http://finix.sandbox-payments-api.com/webhooks/WHmhF8wEUZ3LRCJjcqsXfdDi"
        },
        "application" : {
          "href" : "http://finix.sandbox-payments-api.com/applications/APgPDQrLD52TYvqazjHJJchM"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "http://finix.sandbox-payments-api.com/notification/webhooks/?offset=0&limit=20&sort=created_at,desc&sort=id,desc"
    },
    "next" : {
      "href" : "http://finix.sandbox-payments-api.com/notification/webhooks/?offset=20&limit=20&sort=created_at,desc&sort=id,desc"
    },
    "last" : {
      "href" : "http://finix.sandbox-payments-api.com/notification/webhooks/?offset=1360&limit=20&sort=created_at,desc&sort=id,desc"
    }
  },
  "page" : {
    "offset" : 0,
    "limit" : 20,
    "count" : 1371
  }
}

HTTP Request

GET https://finix.sandbox-payments-api.com/webhooks