Skip to main content
PATCH

Authorizations

X-PayFi-Api-Key
string
header
required
X-PayFi-Nonce
string
header
required
X-PayFi-Signature
string
header
required
Idempotency-Key
string
header
required

Path Parameters

webhookId
string
required

Webhook endpoint ID.

Body

application/json

Webhook endpoint update payload.

name
string
Example:

"Acme endpoint"

url
string
Example:

"https://acme.example/payfi/webhooks"

status
enum<string>
Available options:
ACTIVE,
DISABLED
Example:

"ACTIVE"

eventTypes
string[]
Example:
rotateSecret
boolean
Example:

true

Response

Webhook endpoint updated.

webhookId
string
Example:

"whe_example"

name
string
Example:

"Acme endpoint"

url
string
Example:

"https://acme.example/payfi/webhooks"

status
string
Example:

"ACTIVE"

eventTypes
string[]
Example:
secretPreview
string
Example:

"whsec_te...abcd"

secret
string
Example:

"whsec_test_returned_once"

createdAt
string
Example:

"2026-05-20T12:00:00.000Z"

updatedAt
string
Example:

"2026-05-20T12:00:00.000Z"