MEXICOP2P

GET /health

Verify API key and check partner tier.

GET /health

Verify your API key is valid and check your partner account status.

Request

curl -H "X-API-Key: mp2p_test_xxx" \
  https://mexicop2p.org/api/v1/health

Response 200

{
  "status": "ok",
  "partner": "Acme Finance",
  "tier": "GROWTH",
  "timestamp": "2025-06-15T12:00:00.000Z"
}

Response fields

FieldTypeDescription
statusstringAlways "ok" if authenticated
partnerstringYour partner display name
tierstringFREE, GROWTH, or ENTERPRISE
timestampstringISO 8601 server timestamp

Errors

CodeHTTPWhen
MISSING_API_KEY401No X-API-Key header
INVALID_API_KEY401Key doesn't match any partner
PARTNER_INACTIVE403Account not active

On this page