Update an existing webhook configuration. Use this to rotate the event signer, change the destination endpoint, or adjust the subscribed event types.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
A unique key for making the request idempotent. Must match pattern: ^[a-zA-Z0-9\-_:\.]+$. See Idempotent Requests for more details.
255Identifier of the webhook configuration to update
Secret used to sign outbound webhook events. Provide a value that you will use to verify the signature.
"secret_key"
Public HTTPS URL where xPay should POST webhook events.
"https://your-webhook-endpoint.com/webhook"
List of event types to subscribe to. Refer to webhook events for the full list of available events.
[
"intent.created",
"intent.success",
"intent.failed",
"intent.refunded",
"intent.checkout_opened",
"subscription.trialing",
"subscription.cycle_charged"
]Webhook configuration updated successfully. No content is returned.