Back to Home

API Documentation

Integrate ViktorPay into your application with our simple REST API.

POST/api/payments/create

Create a new payment

curl -X POST https://api.viktorpay.com/api/payments/create \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 2999,
    "currency": "USD",
    "description": "Premium subscription",
    "metadata": {
      "userId": "user_123",
      "plan": "premium"
    }
  }'
GET/api/payments/list

List all payments

curl https://api.viktorpay.com/api/payments/list
GET/api/health

Health check

curl https://api.viktorpay.com/api/health