id, name, allow_decimal, status, unit, description, created, modified, deleted_at) — not wrapped in an envelope./credit_type/{id}/1) sets the data-detail level; it is optional for this entity and does not change the returned record.500 and a plain-text error happened body (not JSON). Confirm the id exists (e.g. via the list endpoint) before fetching.curl --location --globoff 'https://.daftara.com/v2/api/entity/credit_type/1/1' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'{
"id": 7,
"name": "Loyalty Points",
"allow_decimal": 1,
"status": 1,
"unit": "point",
"description": "Points earned on purchases",
"created": "2026-07-13 10:00:00",
"modified": "2026-07-13 10:00:00",
"deleted_at": null
}