cURL
curl --request POST \ --url https://{environment}.garden.finance/v3/instant-refund-hash \ --header 'Content-Type: application/json' \ --header 'garden-app-id: <api-key>' \ --data ' { "order_id": "<string>" } '
{ "status": "Ok", "result": { "status": "Ok", "error": "<string>", "result": "<string>" } }
The hashes to sign for a Bitcoin instant refund, one per UTXO backing the source leg. Bitcoin only.
Submit the signatures with PATCH /orders/{order}?action=instant-refund.
PATCH /orders/{order}?action=instant-refund
action=instant-refund
If you do not yet have an app ID, please follow these steps.
One hash per UTXO, in input order.
Ok
Show child attributes