Authentication
Authenticate your API requests using basic authentication or bearer tokens depending on the endpoint.
API Keys
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
curl -X POST https://api.nexovpay.com/v1/orders \
-H "Authorization: Basic {YOUR_BASE64_KEY}" \
-H "Content-Type: application/json" \
-d '{ "amount": 50000, "currency": "INR", "receipt": "order_rcptid_11" }'
Response Example
{
"id": "order_IluGWxBm9U8zJ8",
"entity": "order",
"amount": 50000,
"amount_paid": 0,
"amount_due": 50000,
"currency": "INR",
"receipt": "order_rcptid_11",
"status": "created",
"created_at": 1642672322
}