Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
Identifier of the webhook configuration to update
Body
application/json
Secret used to sign outbound webhook events. Provide a value that you will use to verify the signature.
Example:
"secret_key"
Public HTTPS URL where xPay should POST webhook events.
Example:
"https://your-webhook-endpoint.com/webhook"
List of event types to subscribe to. Refer to webhook events for the full list of available events.
Example:
[
"intent.created",
"intent.success",
"intent.failed",
"intent.refunded",
"intent.checkout_opened",
"subscription.trialing",
"subscription.cycle_charged"
]Response
Webhook configuration updated successfully. No content is returned.