GhostPay Mesh
GhostPay Mesh
API v1

>_ Quick Start

Create a PLC
curl -X POST https://api.ghostpaymesh.com/api/v1/plc \
  -H "Content-Type: application/json" \
  -H "X-Device-ID: your-device-id" \
  -d '{
    "amount": 100.00,
    "currency": "BRL"
  }'
Check Balance
curl https://api.ghostpaymesh.com/api/v1/balance \
  -H "Authorization: Bearer YOUR_TOKEN"

# Response
{
  "available": 1500.00,
  "promised": 250.00,
  "pending": 0.00
}
Health Check
curl https://api.ghostpaymesh.com/health

# Response
{
  "status": "operational",
  "database": "ok",
  "redis": "ok",
  "supabase": "ok"
}