Intents

Refund an expired intent

Manually refunds an expired intent for the authenticated client. This is an escape hatch for recovering stuck funds when automation fails.

post/intents/{intentAddress}/refund

Path parameters

intentAddressstring required
Example:0x1234567890abcdef1234567890abcdef12345678

The blockchain address of the intent

Response

Refund attempted

successboolean
messagestring
txHashstring nullable

Example response

{
  "success": true,
  "message": "Refund successful",
  "txHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}

Changes

Changed in 1 of the 9 revisions of this API.1