EarnexPayments Docs

Developers

API Reference

Create payments programmatically.

Authenticate every request with your API key in the API-Key header.

curl -X POST https://pay.yourdomain.com/api/v1/payment \
  -H "API-Key: $EARNEXPAYMENTS_KEY" \
  -d '{"amount": 49.00, "currency": "USD", "customerEmail": "a@b.com"}'
Next

Webhooks