Update webhook configuration
Authentication & Setup
Update Webhook Configuration
Allows an integrator to update their default webhook URL, secret, and event subscriptions.
PATCH
Update webhook configuration
Update your integrator’s webhook URL, secret, and event subscriptions for receiving real-time notifications.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Default webhook callback URL
Example:
"https://example.com/kotani/webhooks"
Shared secret used to sign webhook payloads
Example:
"whsec_1234567890abcdef"
Webhook events this integrator should receive
Available options:
transaction.status.updated, transaction.deposit.status.updated, transaction.withdrawal.status.updated, transaction.onramp.status.updated, transaction.offramp.status.updated, payment.confirmed, kyc.status.changed, refund.lightning.invoice_needed, refund.completed, refund.failed, settlement.approved, settlement.rejected, settlement.processed, settlement.cancelled, settlement.paused, settlement.batch.approved, settlement.batch.rejected, settlement.batch.processed, settlement.batch.partial, settlement.batch.cancelled, system.event Example:
["transaction.deposit.status.updated"]