Getting started
Getting Started
Start with the base URL, JSON headers and a health check before sending production traffic.
Base URLJSONSandbox
Base URLs
| Environment | Base URL | Use it for |
|---|---|---|
| Live | https://eu.neropay.app/v2 | Real payments, payouts and production merchant data. |
| Sandbox | https://eu.neropay.app/v2/sandbox | Development and test calls before going live. |
Required headers
Authorization: Bearer YOUR_SECRET_API_KEY
Accept: application/json
Content-Type: application/json
Health check
GET
/healthUse this endpoint to confirm the API route is correctly deployed and returning JSON.
true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $secretKey,
'Accept: application/json',
],
]);
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
echo $response;
{
"success": true,
"data": {
"status": "ok",
"version": "v2",
"environment": "live"
}
}
Sandbox authentication test
GET
/sandbox/accountUse this endpoint to confirm that your sandbox credentials work.
true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $secretKey,
'Accept: application/json',
],
]);
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
echo $response;
{
"success": true,
"data": {
"account_id": "NPTEST123_1001",
"mode": "sandbox",
"name": "Sandbox Merchant"
}
}
Recommended integration order
- Call
GET /healthandGET /account. - Create a payment intent or hosted payment.
- Listen for webhook events.
- Retrieve transactions for reconciliation.
- Add payouts and terminal endpoints only after the basic payment flow works.