Skip to content

Updates a webhook endpoint

Request

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}}.

Security
Bearer
Path
endpointIdstring, (UUID)required


Specifies the webhook identifier to update.

Example: 1e3fd30d-5fc2-4a69-9ea6-d0dcf05ab5ce

Example:1e3fd30d-5fc2-4a69-9ea6-d0dcf05ab5ce
Bodyapplication/json

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.

endpointNamestring or null, <= 255 characters

Specifies the display name for the webhook.

This is a free-formed name that is convenient to recognize.

Example: Peppared Street Cafe's Reconciliation

Example:"Peppared Street Cafe's Reconciliation"
endpointUrlstring or null, <= 2048 characters

Specifies the HTTPS callback URL that receives webhook events.

Example: https://example.com/webhooks/pepparedstreetcafe

Example:"https://example.com/webhooks/pepparedstreetcafe"
endpointStatusstring, <= 8 characters

Specifies the webhook state.

Valid values are:

ValueDescription
ActiveThe webhook endpoint is enabled and available for use.
InactiveThe 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

Enum:"Active""Inactive"
Example:"Active"
eventTypesArray of strings

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" ]

Example:
[ "transaction.card.captured", "transaction.card.refunded" ]

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"
}

Responses

OK

Bodyapplication/json
endpointIdstring, (UUID)

Indicates the webhook endpoint identifier.

Example: 9ab3d9e0-1f2a-4b3c-4d5e-6f7a8b9c0d36

Example:"9ab3d9e0-1f2a-4b3c-4d5e-6f7a8b9c0d36"
endpointNamestring or null, <= 255 characters

Indicates the display name for the webhook.

This is a free-form name that is convenient to recognize.

Example: Peppared Street Cafe's Reconciliation

Example:"Peppared Street Cafe's Reconciliation"
endpointUrlstring or null, <= 2048 characters

Indicates the HTTPS callback URL that receives webhook events.

Example: https://example.com/webhooks/pepparedstreetcafe

Example:"https://example.com/webhooks/pepparedstreetcafe"
endpointStatusstring or null, <= 8 characters

Indicates the endpoint status.

Valid values are:

ValueDescription
ActiveThe webhook endpoint is enabled and available for use.
InactiveThe 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

Enum:"Active""Inactive"
Example:"Active"
eventTypesArray of strings

Indicates the event types the webhook is subscribed to.

Example:
[ "transaction.card.captured", "transaction.card.refunded" ]

Example:
[ "transaction.card.captured", "transaction.card.refunded" ]
createdOnstring, (ISO 8601 date-time)

Indicates the date-time (in an ISO 8601 UTC date-time format) the webhook was created on.

Example: 2026-05-05T14:30:36.759Z

Example:"2026-05-05T14:30:36.759Z"
modifiedOnstring, (ISO 8601 date-time)

Indicates the date-time (in an ISO 8601 UTC date-time format) the webhook was last modified.

Example: 2026-07-10T03:22:47.918Z

Example:"2026-07-10T03:22:47.918Z"
Response

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" }