Overview
Merchant API keys authenticate server-to-server requests using thex-api-key header.
Authentication
These endpoints require a dashboard JWT:Authorization: Bearer <jwt>
Request
Endpoints:GET /api/v1/api-keys?scope=merchant(list)POST /api/v1/api-keys(create)POST /api/v1/api-keys/{keyId}/revoke(revoke)
Response
Example (created key — save it now, it is only returned on creation):Errors
401/403missing/invalid bearer token400validation error (invalid name/expires)403policy limit reached (for example, max active keys per scope)404key not found (revoke)

