{
"type": "recurring_swap.created",
"id": "A3QBMX-O6RLF-UTVGNA",
"client_order_id": "CLIENT-ORDER-EXAMPLE",
"user_id": "AA55 N84G QOIR A67A",
"timestamp": "2025-01-01T00:00:01+00:00",
"trade": {
"from": {
"symbol": "USD",
"amount": "100.00"
},
"to": {
"symbol": "BTC"
}
},
"schedule": {
"interval": "week",
"starts_at": "2025-01-01T00:00:00+00:00",
"timezone_offset_minutes": 0
}
}Webhooks
Recurring swap created
A recurring swap was created and will submit trades on its requested schedule.
WEBHOOK
recurring_swap.created
{
"type": "recurring_swap.created",
"id": "A3QBMX-O6RLF-UTVGNA",
"client_order_id": "CLIENT-ORDER-EXAMPLE",
"user_id": "AA55 N84G QOIR A67A",
"timestamp": "2025-01-01T00:00:01+00:00",
"trade": {
"from": {
"symbol": "USD",
"amount": "100.00"
},
"to": {
"symbol": "BTC"
}
},
"schedule": {
"interval": "week",
"starts_at": "2025-01-01T00:00:00+00:00",
"timezone_offset_minutes": 0
}
}Body
application/json
Payload delivered for the recurring_swap.created webhook event.
Webhook event identifier.
Allowed value:
"recurring_swap.created"Identifier of the recurring swap whose lifecycle changed.
Globally unique public identifier for a user.
Required string length:
14 - 42Time at which the lifecycle transition occurred.
Source and destination assets for each occurrence.
Show child attributes
Show child attributes
Cadence on which the trade is submitted.
Show child attributes
Show child attributes
Partner-supplied order identifier.
Response
2XX
Delivery endpoint accepted the webhook.