amount granted for that package. The record id is supplied in the path; the response is the flat record (id, credit_type_id, package_id, amount) — not wrapped in an envelope./credit_type_package/{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.Authorization: Bearer ********************curl --location --globoff 'https://.daftara.com/api2/credit_type_package/1/1' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'{
"id": 1,
"credit_type_id": 1,
"package_id": 24,
"amount": 1000
}