cURL
curl --request POST \ --url https://api.staging.kaleidoswap.com/api/v1/lsps1/rate_decision \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "order_id": "<string>", "accept_new_rate": true } '
{ "order_id": "<string>", "decision_accepted": true, "message": "<string>", "refund_txid": "<string>" }
Handle user decision on rate change for LSPS1 orders. User can either accept the new market rate or request a refund.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request for user to accept new rate or request refund
Successful Response
Response after user makes rate decision