# Sign the request first — see Authentication for x-timestamp, x-nonce and x-signature
curl -X PATCH "https://api.sbx.hopnow.io/va/v1/customers/cus_x7k2m9p4q1w8e5r3t6y0u2i4/webhook-endpoints/wh_3f8a2b1c9d4ex0y1z2a3b4c5" \
-H "x-api-key: $API_KEY" \
-H "x-timestamp: $TIMESTAMP" \
-H "x-nonce: $NONCE" \
-H "x-signature: $SIGNATURE" \
-H "Content-Type: application/json" \
-d '{
"events": ["account.created", "account.updated", "virtual_account.updated", "payment.completed", "payment.returned", "payment.failed"],
"description": "prod - payments and accounts"
}'
{
"events": ["account.created", "account.updated", "virtual_account.updated", "payment.completed", "payment.returned", "payment.failed"],
"description": "prod - payments and accounts"
}
{
"id": "wh_3f8a2b1c9d4ex0y1z2a3b4c5",
"object": "webhook_endpoint",
"url": "https://platform.example/hooks/inbound",
"events": ["account.created", "account.updated", "virtual_account.updated", "payment.completed", "payment.returned", "payment.failed"],
"secret": null,
"description": "prod - payments and accounts",
"last_used_at": "2026-06-09T17:42:11Z",
"disabled_at": null,
"created": "2026-06-10T08:00:00Z",
"updated": "2026-06-10T09:15:00Z",
"created_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4",
"updated_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4"
}
Webhook Endpoints
Update Webhook Endpoint
Update the delivery URL, event filter, or description of a webhook endpoint
PATCH
/
va
/
v1
/
customers
/
{customer_id}
/
webhook-endpoints
/
{endpoint_id}
# Sign the request first — see Authentication for x-timestamp, x-nonce and x-signature
curl -X PATCH "https://api.sbx.hopnow.io/va/v1/customers/cus_x7k2m9p4q1w8e5r3t6y0u2i4/webhook-endpoints/wh_3f8a2b1c9d4ex0y1z2a3b4c5" \
-H "x-api-key: $API_KEY" \
-H "x-timestamp: $TIMESTAMP" \
-H "x-nonce: $NONCE" \
-H "x-signature: $SIGNATURE" \
-H "Content-Type: application/json" \
-d '{
"events": ["account.created", "account.updated", "virtual_account.updated", "payment.completed", "payment.returned", "payment.failed"],
"description": "prod - payments and accounts"
}'
{
"events": ["account.created", "account.updated", "virtual_account.updated", "payment.completed", "payment.returned", "payment.failed"],
"description": "prod - payments and accounts"
}
{
"id": "wh_3f8a2b1c9d4ex0y1z2a3b4c5",
"object": "webhook_endpoint",
"url": "https://platform.example/hooks/inbound",
"events": ["account.created", "account.updated", "virtual_account.updated", "payment.completed", "payment.returned", "payment.failed"],
"secret": null,
"description": "prod - payments and accounts",
"last_used_at": "2026-06-09T17:42:11Z",
"disabled_at": null,
"created": "2026-06-10T08:00:00Z",
"updated": "2026-06-10T09:15:00Z",
"created_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4",
"updated_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4"
}
Updates the delivery URL, the subscribed event filter, or the description of an existing endpoint. All fields are optional; only the fields provided are changed.
The signing secret cannot be changed or re-read via this endpoint.
Path Parameters
string
required
Id of the owning customer (
cus_…).string
required
Id of the webhook endpoint (
wh_…).Request Body
string (HttpUrl)
New delivery URL.
string | null
New description. Maximum 255 characters. Pass
null to clear it.Response
The updated webhook-endpoint object (secret is null on reads after create).
string
Id of the endpoint (
wh_…).string
Always
webhook_endpoint.string
Delivery URL.
string[]
Subscribed event types.
string | null
Always
null on reads after create.string | null
Free-text label for the endpoint.
datetime | null
When the endpoint last received a delivery.
datetime | null
When the endpoint was disabled;
null while active.datetime
When the endpoint was created.
datetime | null
When the endpoint was last updated.
string
Actor that created the endpoint.
string | null
Actor that last updated the endpoint.
# Sign the request first — see Authentication for x-timestamp, x-nonce and x-signature
curl -X PATCH "https://api.sbx.hopnow.io/va/v1/customers/cus_x7k2m9p4q1w8e5r3t6y0u2i4/webhook-endpoints/wh_3f8a2b1c9d4ex0y1z2a3b4c5" \
-H "x-api-key: $API_KEY" \
-H "x-timestamp: $TIMESTAMP" \
-H "x-nonce: $NONCE" \
-H "x-signature: $SIGNATURE" \
-H "Content-Type: application/json" \
-d '{
"events": ["account.created", "account.updated", "virtual_account.updated", "payment.completed", "payment.returned", "payment.failed"],
"description": "prod - payments and accounts"
}'
{
"events": ["account.created", "account.updated", "virtual_account.updated", "payment.completed", "payment.returned", "payment.failed"],
"description": "prod - payments and accounts"
}
{
"id": "wh_3f8a2b1c9d4ex0y1z2a3b4c5",
"object": "webhook_endpoint",
"url": "https://platform.example/hooks/inbound",
"events": ["account.created", "account.updated", "virtual_account.updated", "payment.completed", "payment.returned", "payment.failed"],
"secret": null,
"description": "prod - payments and accounts",
"last_used_at": "2026-06-09T17:42:11Z",
"disabled_at": null,
"created": "2026-06-10T08:00:00Z",
"updated": "2026-06-10T09:15:00Z",
"created_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4",
"updated_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4"
}