- Updates a webhook endpoint
PATCH {{baseURL}}/v2/webhooks/endpoints/{{endpointId}}
This endpoint updates a webhook endpoint.
This endpoint does not require a specific API token. Either a merchant or partner API token can be used.
See Also:
To list all available webhooks, see GET /v2/webhooks/endpoints.
To retrieve a specified webhook, see GET /v2/webhooks/endpoints/{{endpointId}}.
To delete a webhook, see DELETE /v2/webhooks/endpoints/{{endpointId}}.
Specifies fields that should be changed, remain the same, or deleted.
This endpoint is a partial update.
- Send only the fields needed to be changed.
- An omitted field is left unchanged.
- A field marked as null clears a field.
Nested structures are also affected.
Specifies the display name for the webhook.
This is a free-formed name that is convenient to recognize.
Example: Peppared Street Cafe's Reconciliation
Specifies the HTTPS callback URL that receives webhook events.
Example: https://example.com/webhooks/pepparedstreetcafe
Specifies the webhook state.
Valid values are:
| Value | Description |
|---|---|
| Active | The webhook endpoint is enabled and available for use. |
| Inactive | The webhook endpoint is disabled and not available for use. It still exists but will not send event notifications. It may be re-activated. In contrast, a deleted webhook has been removed entirely and cannot be re-activated. A new webhook must be created. Any delivery attempts still queued for an endpoint that becomes Inactive is force-terminated as Failed rather than retried again.Inactive endpoints can still be pinged manually. |
Example: Active
Specifies the event types to subscribe to.
The list replaces the current subscription. At least one event type is required. Duplicates are not allowed.
Example:
[ "transaction.card.captured", "transaction.card.refunded" ]
[ "transaction.card.captured", "transaction.card.refunded" ]
- Sandbox environmenthttps://sandbox.api.flute.com/v2/webhooks/endpoints/{endpointId}
- Production environmenthttps://api.flute.com/v2/webhooks/endpoints/{endpointId}
This example shows every request field.
Each field is optional.
Omitted fields keep their current values.
The eventTypes field replaces the current subscription.
PATCH /v2/webhooks/endpoints/1e3fd30d-5fc2-4a69-9ea6-d0dcf05ab5ce HTTP/1.1
Host: sandbox.api.flute.com
Authorization: Bearer <API_TOKEN_HERE>
Accept: application/json
Content-Type: application/json
{
"endpointStatus": "Inactive"
}Indicates the webhook endpoint identifier.
Example: 9ab3d9e0-1f2a-4b3c-4d5e-6f7a8b9c0d36
Indicates the display name for the webhook.
This is a free-form name that is convenient to recognize.
Example: Peppared Street Cafe's Reconciliation
Indicates the HTTPS callback URL that receives webhook events.
Example: https://example.com/webhooks/pepparedstreetcafe
Indicates the endpoint status.
Valid values are:
| Value | Description |
|---|---|
| Active | The webhook endpoint is enabled and available for use. |
| Inactive | The webhook endpoint is disabled and not available for use. It still exists but will not send event notifications. It may be re-activated. In contrast, a deleted webhook has been removed entirely and cannot be re-activated. A new webhook must be created. |
Example: Active
Indicates the event types the webhook is subscribed to.
Example:
[ "transaction.card.captured", "transaction.card.refunded" ]
[ "transaction.card.captured", "transaction.card.refunded" ]
Indicates the date-time (in an ISO 8601 UTC date-time format) the webhook was created on.
Example: 2026-05-05T14:30:36.759Z
This example shows every response field.
The modifiedOn field shows when the change was made.
{ "endpointId": "9ab3d9e0-1f2a-4b3c-8d5e-6f7a8b9c0d36", "endpointName": "Peppared Street Cafe's Reconciliation", "endpointUrl": "https://example.com/webhooks/pepparedstreetcafe", "endpointStatus": "Active", "eventTypes": [ "transaction.card.captured", "transaction.ach.cleared", "settlement.batch.completed", "invoice.paid" ], "createdOn": "2026-10-21T14:28:40Z", "modifiedOn": "2026-10-21T16:45:09Z" }