Create a Webhook

Copy
Copied
curl https://finix.sandbox-payments-api.com/webhooks \
    -H "Content-Type: application/vnd.json+api" \
    -u USsRhsHYZGBPnQw8CByJyEQW:8a14c2f9-d94b-4c72-8f5c-a62908e5b30e \
    -d '
                    {
                    "url" : "https://eohzjuj2prziycz.m.pipedream.net"
                    }
                '

Example Response:

Copy
Copied
{
  "id" : "WHED2RM5dbNKcHYc3ALxhbW",
  "url" : "https://eohzjuj2prziycz.m.pipedream.net",
  "enabled" : true,
  "application" : "APgPDQrLD52TYvqazjHJJchM",
  "created_at" : "2022-01-27T07:36:50.79Z",
  "updated_at" : "2022-01-27T07:36:50.79Z",
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/webhooks/WHED2RM5dbNKcHYc3ALxhbW"
    },
    "application" : {
      "href" : "https://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)