Skip to main content
PUT
Set the webhook URL

Authorizations

X-API-Key
string
header
required

Headers

Idempotency-Key
string<uuid>
required

Unique idempotency token per logical write (UUID v4). Re-send the same value on safe retries.

Example:

"a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6"

Body

application/json
webhook_url
string
required

HTTPS URL that receives webhook events (http allowed only for localhost).

Example:

"https://merchant.example.com/webhooks/spendin"

Response

Webhook configured — secret revealed once

webhook_url
object | null
required
signing_secret
string
required

Shown once — store it securely.

Example:

"whsec_a1b2c3..."

warning
string
required
Example:

"Store this secret securely. It will not be shown again."