key

Authentication

How to authenticate your API requests with PayCrypt.

key

API Key Authentication

All Payment API requests are authenticated with your secret API key sent as a Bearer token in the Authorization header.

Authorization: Bearer sk_live_YOUR_SECRET_KEY

Environments

Production

sk_live_…

Real blockchain transactions. Funds are deposited and credited.

Sandbox

sk_sandbox_…

Test environment. No real blockchain interactions.

lightbulb
Where to find your key: Dashboard → API & Webhooks → Click "Reveal" and enter your password.
Example Request
cURL
curl -X POST https://api.paycrypt.io/payment/create \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk_live_YOUR_SECRET_KEY" \
  -d '{"network":"ethereum","coin":"USDT","amount":50}'

Base URL

Current deployment

https://voxedumate.pro/api

Example for custom domains

e.g.https://api.paycrypt.io

All endpoints are relative to your API base URL. In the dashboard, this is configured via NEXT_PUBLIC_API_URL.

Rate Limiting

API requests are rate-limited per IP. Exceeding the limit returns 429 Too Many Requests.

Endpoint GroupWindowMax Requests
General API~1 second5 requests/IP (higher in development)
/auth/*15 minutesTighter limit for login attempts