Integrate ViktorPay into your application with our simple REST API.
/api/payments/createCreate 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"
}
}'/api/payments/listList all payments
curl https://api.viktorpay.com/api/payments/list/api/healthHealth check
curl https://api.viktorpay.com/api/health