Skip to main content
POST
/
escrow-cancel
Cancel an escrow
curl --request POST \
  --url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/escrow-cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "escrow_id": "d4e5f6a7-b8c9-0123-defa-234567890123"
}
'
{
  "success": true,
  "status": 200,
  "data": {
    "outcome": "cancelled"
  }
}

Authorizations

Authorization
string
header
required

JWT access token obtained from /auth-verify (login context) or /auth-signup. Set the bearer_token environment variable in your API client to apply it globally.

Body

application/json
escrow_id
string<uuid>
required

Response

Escrow cancelled or dispute raised

success
boolean
status
integer
Example:

200

data
Cancelled immediately · object