Skip to main content
WEBHOOK

Body

application/json

Payload delivered for the recurring_swap.created webhook event.

type
string
required

Webhook event identifier.

Allowed value: "recurring_swap.created"
id
string
required

Identifier of the recurring swap whose lifecycle changed.

user_id
string
required

Globally unique public identifier for a user.

Required string length: 14 - 42
timestamp
string<date-time>
required

Time at which the lifecycle transition occurred.

trade
PriceTriggerSwapRequestedTrade · object
required

Source and destination assets for each occurrence.

schedule
RecurringSwapSchedule · object
required

Cadence on which the trade is submitted.

client_order_id
string

Partner-supplied order identifier.

Response

2XX

Delivery endpoint accepted the webhook.