API Authentication Failed

PayIndia checkout gateway integration guide

Our payment simulator page encountered an error when trying to request a checkout session:

Error Details: Invalid API credentials
How to Fix This:
  1. Open demo.php in a text editor.
  2. Locate variables $apiKey and $apiSecret at the top of the file (lines 14 & 15).
  3. Replace the mock credentials with the active API keys generated inside your merchant dashboard.
  4. Refresh this page to run the checkout redirect automatically.
Target Endpoint URL
https://www.pay-upi.com/api
Request Payload Sent
{
    "amount": "10.00",
    "order_id": "ORD_1780867895_2945",
    "customer_name": "Demo Customer",
    "description": "Demo Payment Simulation",
    "callback_url": "https:\/\/www.pay-upi.com\/demo.php?action=callback"
}
Raw Response Received
{
    "error": "Invalid API credentials"
}