Webhooks
lets you build or set up integrations which subscribe to certain
automated notifications (i.e. events) on the Finix API. When one of those
events is triggered, a HTTP POST payload is sent to the webhook's configured
URL.
Related Guides: Webhooks
Create a Webhook
to specify an endpoint where Finix can send events.
Finix-Version | string Default: 2018-01-01 Specify the API version of your request. For more details, see Versioning. Example: 2022-02-01 |
object The authentication settings that are used to send webhook events. | |
enabled | boolean Set to false to disable Webhooks. Default value when created is true. |
Array of objects A list of events the webhook is explicitly enabled for. | |
url required | string <= 120 characters The HTTP or HTTPS URL where callbacks (i.e. events) will be sent via POST request (max 120 characters). |
Single Webhook object
The server understood the request but could not process it.
Authentication information is missing or invalid
Forbidden
Not Acceptable
Invalid field
{- "id": "WHD6pSgL4jd2USZbQP3SfjD",
- "created_at": "2024-12-25T04:59:28.53Z",
- "updated_at": "2024-12-25T04:59:28.53Z",
- "application": "APgPDQrLD52TYvqazjHJJchM",
- "authentication": {
- "type": "NONE"
}, - "enabled": true,
- "enabled_events": [ ],
- "is_accepting_events": true,
- "nickname": null,
- "previous_secret_expires_at": null,
- "secret_signing_key": "941db8f5972d0191229fc53f6bd9095eaee6896e9d8b1039d5893cda66164fc9",
- "_links": {
- "application": {
}
}
}
Retrieve a list of Webhooks
.
For details on how to query endpoints using the available parameters, see Query Parameters.
List of Webhook objects
Authentication information is missing or invalid
Forbidden
Not Acceptable
curl "https://finix.sandbox-payments-api.com/webhooks" \ -H "Finix-Version: 2022-02-01" \ -u USfdccsr1Z5iVbXDyYt7hjZZ:313636f3-fac2-45a7-bff7-a334b93e7bda
{- "_embedded": {
- "webhooks": [
- {
- "id": "WHD6pSgL4jd2USZbQP3SfjD",
- "created_at": "2024-12-25T04:59:28.53Z",
- "updated_at": "2024-12-25T04:59:28.53Z",
- "application": "APgPDQrLD52TYvqazjHJJchM",
- "authentication": {
- "type": "BASIC"
}, - "enabled": true,
- "enabled_events": [ ],
- "is_accepting_events": true,
- "nickname": null,
- "previous_secret_expires_at": null,
- "_links": {
- "application": {
}
}
}, - {
- "id": "WHnDiFVYfg91tqy43Q25evHw",
- "created_at": "2024-07-14T04:58:17.80Z",
- "updated_at": "2024-07-14T04:58:18.80Z",
- "application": "APgPDQrLD52TYvqazjHJJchM",
- "authentication": {
- "type": "NONE"
}, - "enabled": false,
- "enabled_events": [ ],
- "is_accepting_events": false,
- "nickname": null,
- "previous_secret_expires_at": null,
- "_links": {
- "application": {
}
}
}
]
}, - "_links": {
}, - "page": {
- "offset": 0,
- "limit": 20,
- "count": 3451
}
}
Retrieve the details of a Webhook
.
Single Webhook object
Authentication information is missing or invalid
Forbidden
Object does not exist
Not Acceptable
curl "https://finix.sandbox-payments-api.com/webhooks/WH4fkFW5fZBLjEVQMMNQsBFq" \ -u USfdccsr1Z5iVbXDyYt7hjZZ:313636f3-fac2-45a7-bff7-a334b93e7bda \ -H "Content-Type: application/json" \ -H "Finix-Version: 2022-02-01"
{- "id": "WHD6pSgL4jd2USZbQP3SfjD",
- "created_at": "2024-12-25T04:59:28.53Z",
- "updated_at": "2024-12-25T04:59:28.53Z",
- "application": "APgPDQrLD52TYvqazjHJJchM",
- "authentication": {
- "type": "NONE"
}, - "enabled": true,
- "enabled_events": [ ],
- "is_accepting_events": true,
- "nickname": null,
- "previous_secret_expires_at": null,
- "secret_signing_key": "941db8f5972d0191229fc53f6bd9095eaee6896e9d8b1039d5893cda66164fc9",
- "_links": {
- "application": {
}
}
}
Update an existing Webhook
to:
Webhook
.Finix-Version | string Default: 2018-01-01 Specify the API version of your request. For more details, see Versioning. Example: 2022-02-01 |
enabled | boolean Set to false to disable |
Array of objects A list of events the webhook is explicitly enabled for. | |
url | string The HTTP or HTTPS url where the callbacks will be sent via POST request (max 120 characters). |
Single Webhook object
Authentication information is missing or invalid
Forbidden
Object does not exist
Not Acceptable
{- "id": "WHD6pSgL4jd2USZbQP3SfjD",
- "created_at": "2024-12-25T04:59:28.53Z",
- "updated_at": "2024-12-25T04:59:28.53Z",
- "application": "APgPDQrLD52TYvqazjHJJchM",
- "authentication": {
- "type": "NONE"
}, - "enabled": true,
- "enabled_events": [ ],
- "is_accepting_events": true,
- "nickname": null,
- "previous_secret_expires_at": null,
- "secret_signing_key": "941db8f5972d0191229fc53f6bd9095eaee6896e9d8b1039d5893cda66164fc9",
- "_links": {
- "application": {
}
}
}