curl --request GET \
--url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/escrow-get \
--header 'Authorization: Bearer <token>'{
"success": true,
"status": 200,
"data": {
"id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"initiator_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"counterparty_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"category": "goods_products",
"payer_role": "initiator",
"title": "iPhone 15 Pro Max 256GB",
"description": "Brand new, sealed in box.",
"counterparty_phone": "+2348012345679",
"transaction_type": "product_purchase",
"release_type": "full",
"amount": 500000,
"currency": "NGN",
"status": "active",
"inspection_period_days": 1,
"created_at": "2026-04-18T10:00:00Z",
"funded_at": "2026-04-18T10:05:00Z",
"released_at": null
}
}Returns full escrow details. Caller must be a party (initiator or counterparty).
curl --request GET \
--url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/escrow-get \
--header 'Authorization: Bearer <token>'{
"success": true,
"status": 200,
"data": {
"id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"initiator_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"counterparty_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"category": "goods_products",
"payer_role": "initiator",
"title": "iPhone 15 Pro Max 256GB",
"description": "Brand new, sealed in box.",
"counterparty_phone": "+2348012345679",
"transaction_type": "product_purchase",
"release_type": "full",
"amount": 500000,
"currency": "NGN",
"status": "active",
"inspection_period_days": 1,
"created_at": "2026-04-18T10:00:00Z",
"funded_at": "2026-04-18T10:05:00Z",
"released_at": null
}
}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.