PayDesk

Payment API

Create a payment order using your user API key.

POST /api.php?action=create-payment
Authorization: Bearer YOUR_API_KEY

{
  "amount": 499.00,
  "provider": "razorpay",
  "customer_name": "Rahul",
  "customer_email": "rahul@example.com"
}

Response includes transaction reference, fee and status. Connect provider SDK/webhook in `api.php` for live capture.