Deprecated API Reference

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

Create a Webhook

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 \
    -d '
    {
      "url" : "https://eohzjuj2prziycz.m.pipedream.net"
      }'

Example Response:

Copy
Copied
{
  "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,
  "secret_signing_key" : "3afb49c98ac08a67a58efa5580b24e5984bc36d7ebd404e875234f107deed108",
  "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"
    }
  }
}

HTTP Request

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

Request Arguments

Field Type Description
url string, required The HTTP or HTTPS url where the callbacks will be sent via POST request (max 120 characters)