API Reference
Update Webhook
Set your own webhook URL for order status notifications — self-service, no admin needed.
PATCH
Set or change the webhook URL Rails calls when your orders change state
(
settled, refunded, expired). Authenticated with your API key — you
manage this yourself.
To view your current webhook, call Get Account.
Header Parameters
Unique API key issued manually through Telegram.
Request Body
A valid HTTPS URL Rails will POST status events to.
Optional domain whitelist. Only updated when provided — omit it and your
existing whitelist is preserved.
Response
Response state (
success).