GET
/
settings
Get API settings
curl --request GET \
  --url https://api.contazen.ro/v1/settings \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "api_version": "v1",
    "firm": {
      "id": "<string>",
      "name": "<string>",
      "cui": "<string>",
      "address": "<string>",
      "city": "<string>",
      "country": "<string>"
    },
    "invoice_series": [
      {
        "id": "<string>",
        "name": "<string>",
        "prefix": "<string>",
        "next_number": 123,
        "is_default": true
      }
    ],
    "e_factura": {
      "enabled": true,
      "oauth_configured": true,
      "environment": "test"
    },
    "bank_accounts": [
      {
        "iban": "<string>",
        "bank": "<string>",
        "currency": "<string>",
        "is_default": true
      }
    ],
    "currencies": [
      "<string>"
    ],
    "default_currency": "<string>",
    "vat_rates": [
      123
    ],
    "payment_types": [
      {
        "id": 123,
        "name": "<string>"
      }
    ],
    "subscription": {
      "plan": "<string>",
      "status": "<string>",
      "expires_at": "2023-12-25"
    },
    "features": {
      "expenses": true,
      "efactura": true,
      "multi_currency": true,
      "api_access": true
    },
    "rate_limits": {
      "requests_per_hour": 123,
      "creates_per_minute": 123,
      "current_usage": 123,
      "reset_at": "2023-11-07T05:31:56Z"
    }
  },
  "meta": {
    "version": "v1",
    "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "response_time": "23.45ms"
  }
}

Authorizations

Authorization
string
header
required

Use your API key (sk_live_xxx or sk_test_xxx)

Response

API settings

success
boolean
data
object
meta
object