Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

Bearer API key for external client access. Live keys use the sk_ prefix; test keys use the sk_test_ prefix and support order-lifecycle testing with mock responses without processing or credit usage.

Path Parameters

webhookId
integer
required

Webhook ID

Body

application/json
url
string<uri>
required

Webhook URL

Example:

"https://example.com/webhook"

name
string

Webhook name

Maximum string length: 100
isTest
boolean

Endpoint mode. For a test API key, omission preserves test mode and true is allowed; false returns AUTH_FORBIDDEN. Live API keys may choose either mode.

Response

Updated successfully

data
object