API Documentation
Complete reference for the ZKIRA Pay payment API
Authentication
All API requests require authentication using your API key in the Authorization header:
Base URL
/api/payments/createCreate a confidential payment
Request Body
Response
/api/payments/:idGet payment by ID
Response
/api/payments/statusCheck escrow status
Request Body
Response
/api/escrows/:addressGet escrow by address
Response
/api/escrows/creator/:pubkeyList escrows by creator
Response
/api/healthHealth check
Response
Error Responses
The API uses conventional HTTP response codes to indicate success or failure:
400 - Bad Request
401 - Unauthorized
404 - Not Found
500 - Internal Server Error
Rate Limiting
The API is rate limited to 1000 requests per hour per API key. Rate limit information is included in response headers:
