This webhook is triggered when an order reaches its final state, either completed or cancelled
{
"id":"06607c5bed1c4c5f8437d33605d3d816",
"action":"order-closed",
"order":{
"id":"f4249a657edf49999b2ff366d2dc343e",
"operation":"send",
"reference_id":"CBA321f-ED654Hg",
"state":"completed",
"created_at":"2020-09-01T21:32:44+00:00",
"customer_id":"585fbdc4f9f311ea96a90242ac140006",
"last_updated_at":"2020-09-01T21:33:09+00:00",
"submitted_at":"2020-09-03T21:32:51+00:00",
"asset":{
"currency":"BTC",
"amount":"0.1001354",
"operation":"debit"
},
"send":{
"fees":"0.00013540",
"requires_confirmation_code":true,
"expires_at":"2020-09-01T21:37:44+00:00",
"destination":{
"type":"crypto_currency_address",
"value":"3SampleBTCaddressDoNotUseThisValue",
"amount":"0.1"
}
}
}
}