Skip to main content
POST
/
escrow-accept
Accept an escrow invite
curl --request POST \
  --url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/escrow-accept \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "f1e2d3c4-b5a6-7890-fedc-ba0987654321",
  "payout_account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
'
{
  "success": true,
  "status": 200,
  "data": {
    "escrow_id": "d4e5f6a7-b8c9-0123-defa-234567890123",
    "conversation_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
}

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
token
string<uuid>
required

Invite token from the WhatsApp link.

first_name
string

Required if counterparty does not have an account yet.

Maximum string length: 100
last_name
string
Maximum string length: 100
payout_account_id
string<uuid>

Seller's saved payout account ID for receiving funds on release.

Response

Invite accepted — escrow is now active

success
boolean
Example:

true

status
integer
Example:

200

data
object