Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/payroll-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/payroll-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/payroll-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/payroll-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/payroll-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Gross pay only — excludes tax, deductions and benefits (these are jurisdiction-specific).",
        "service": "payroll",
        "endpoints": {
            "/v1/raise": "Apply a percentage or fixed raise, or derive the percent from a new salary.",
            "/v1/convert": "Convert pay between annual, monthly, bi-weekly, weekly, daily and hourly.",
            "/v1/prorate": "Pro-rate a salary by a worked fraction or days worked ÷ days in period.",
            "/v1/overtime": "Compute regular, overtime and double-time pay from hours worked."
        },
        "description": "Gross-pay maths: salary/hourly conversion, overtime, raises and pro-rata. Currency-agnostic and tax-free."
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:00.102Z",
        "request_id": "cfd18161-c95f-430d-9bed-6401c3d4467a"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}