curl --request GET \
--url https://{your-workspace}.neetocal.com/api/external/v1/packages/{package_id} \
--header 'X-Api-Key: <x-api-key>'{
"package": {
"id": "aff17ff8-1bf8-4e77-a3c5-2f86104f9a20",
"name": "Consultation Package",
"slug": "consultation-package",
"status": "enabled",
"duration": 7200,
"fee": {
"id": "1b217cc5-69b5-4fb1-a13c-c22f9c14e7f9",
"amount": "120.0",
"currency": "inr",
"feeable_id": "aff17ff8-1bf8-4e77-a3c5-2f86104f9a20",
"feeable_type": "Package",
"payment_provider": "cash",
"kind": "fixed",
"min_amount": "120.0",
"taxes": [
{}
],
"is_default": true,
"display_amount": "<string>",
"is_tax_enabled": true,
"is_tip_enabled": true,
"is_tax_applicable_on_tip": true,
"vpas": [
{}
],
"amount_in_smallest_currency_unit": 12000
}
}
}This API allows to get a package.
curl --request GET \
--url https://{your-workspace}.neetocal.com/api/external/v1/packages/{package_id} \
--header 'X-Api-Key: <x-api-key>'{
"package": {
"id": "aff17ff8-1bf8-4e77-a3c5-2f86104f9a20",
"name": "Consultation Package",
"slug": "consultation-package",
"status": "enabled",
"duration": 7200,
"fee": {
"id": "1b217cc5-69b5-4fb1-a13c-c22f9c14e7f9",
"amount": "120.0",
"currency": "inr",
"feeable_id": "aff17ff8-1bf8-4e77-a3c5-2f86104f9a20",
"feeable_type": "Package",
"payment_provider": "cash",
"kind": "fixed",
"min_amount": "120.0",
"taxes": [
{}
],
"is_default": true,
"display_amount": "<string>",
"is_tax_enabled": true,
"is_tip_enabled": true,
"is_tax_applicable_on_tip": true,
"vpas": [
{}
],
"amount_in_smallest_currency_unit": 12000
}
}
}{your-workspace} with your workspace’s subdomain. X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.
Id of the package to retrieve. You can get package_id by listing all packages using our List all packages API. Here you will see id for each package.
OK - Request succeeded
Hide child attributes
Unique identifier for the package.
"aff17ff8-1bf8-4e77-a3c5-2f86104f9a20"
Human-readable name for the package.
"Consultation Package"
URL-friendly identifier for the package, used in public URLs and API calls.
"consultation-package"
Current status of the package (e.g., "enabled", "disabled").
enabled, disabled "enabled"
Duration of the package in seconds.
7200
Fee configuration for the package, including amount, currency, and payment settings.
Hide child attributes
Unique identifier for the fee configuration.
"1b217cc5-69b5-4fb1-a13c-c22f9c14e7f9"
The fee amount as a string to preserve decimal precision.
"120.0"
The currency code for the fee amount (e.g., "inr", "usd").
"inr"
ID of the entity this fee is associated with (package ID in this case).
"aff17ff8-1bf8-4e77-a3c5-2f86104f9a20"
Type of entity this fee is associated with.
"Package"
Payment service provider used for processing payments (e.g., "stripe", "cash").
"cash"
Type of fee structure (e.g., "fixed", "percentage").
"fixed"
Minimum amount that can be charged for this fee.
"120.0"
Array of tax configurations applied to this fee.
Indicates whether this is the default fee configuration for the package.
Custom display amount for the fee (if different from the actual amount).
Whether tax calculation is enabled for this fee.
Whether tipping is enabled for this fee.
Whether taxes are calculated on top of tips.
Virtual Payment Addresses for UPI payments (India-specific).
Fee amount in the smallest currency unit (e.g., paise for INR, cents for USD).
12000