Exchange
Exchange concluded
Sent when an exchange completes (completed) or fails (failed), including pooled exchanges that complete on confirmation. For failed, the held amount is back in the available balance and no fee is charged. Not sent while pending. data has the same shape as GET /exchanges/{exchangeId}.
application/json- body
id*stringEvent ID (starts with evt_), unchanged across retries
type*stringcreated_at*stringFormat
date-timedata*Received by the merchant; any 2xx is a success
Example Requests
POST/exchange.status_changed
application/json
{ "id": "string", "type": "exchange.status_changed", "created_at": "2019-08-24T14:15:22Z", "data": { "id": "string", "quote_id": "string", "status": "pending", "sell_amount": "string", "sell_currency": "string", "buy_amount": "string", "buy_currency": "string", "rate": "string", "fee": "string", "fee_currency": "string", "failure_reason": "string", "created_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z" }}