API and integration
JSON API under /api/v1/…. Current routes are in OpenAPI on your deployment. In examples, replace YOUR_HOST with your host.
Documentation
- Interactive: /docs (when enabled).
- Schema:
GET /api/v1/openapi.json. - Status:
GET /health,GET /readiness,GET /api/v1/status.
Conventions
- HTTPS in production.
Content-Type: application/json(except dispute file uploads).- After
POST /api/v1/auth/login— cookie and/orAuthorization: Bearer …. - Refresh:
POST /api/v1/auth/refresh. - Sensitive operations may use
Idempotency-Key— see OpenAPI.
Main groups
- Auth and sessions: register, login, refresh, logout, MFA.
- Profile and wallet:
/api/v1/me,/api/v1/wallet/balances,/api/v1/wallet/activity. - Escrow: create, list, fund, release, dispute.
- Helpdesk: tickets.
- Full list — in OpenAPI.
Integration support
Questions about access and scenarios: help or support@evopay.biz. Signed-in clients can create tickets via POST /api/v1/helpdesk/tickets.
Examples
json · request body
{
"email": "user@example.com",
"password": "YourStrongPassw0rd!",
"display_name": "Demo User"
}
bash · register
curl -sS -X POST "https://YOUR_HOST/api/v1/auth/register" \
-H "Content-Type: application/json" \
-d '{
"email": "user@example.com",
"password": "YourStrongPassw0rd!",
"display_name": "Demo User"
}'
bash · login
curl -sS -X POST "https://YOUR_HOST/api/v1/auth/login" \
-H "Content-Type: application/json" \
-c cookies.txt \
-d '{
"email": "user@example.com",
"password": "YourStrongPassw0rd!"
}'
bash · profile and wallet
curl -sS "https://YOUR_HOST/api/v1/me" -b cookies.txt
curl -sS "https://YOUR_HOST/api/v1/wallet/balances" -b cookies.txt
curl -sS "https://YOUR_HOST/api/v1/wallet/activity?limit=20" -b cookies.txt
bash · create escrow
curl -sS -X POST "https://YOUR_HOST/api/v1/escrow" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"title": "Equipment delivery",
"description": "Server equipment per specification",
"amount": "8000.00",
"currency": "USD"
}'
Then substitute ESCROW_ID:
bash · escrow lifecycle
curl -sS "https://YOUR_HOST/api/v1/escrow/contracts/ESCROW_ID" -b cookies.txt
curl -sS -X POST "https://YOUR_HOST/api/v1/escrow/ESCROW_ID/fund" \
-H "Content-Type: application/json" -b cookies.txt -d '{}'
curl -sS -X POST "https://YOUR_HOST/api/v1/escrow/ESCROW_ID/release" \
-H "Content-Type: application/json" -b cookies.txt -d '{}'
bash · status
curl -sS "https://YOUR_HOST/api/v1/status"
curl -sS "https://YOUR_HOST/readiness"