curl --request GET \
--url https://{your-workspace}.neetocal.com/api/external/v1/packages \
--header 'X-Api-Key: <x-api-key>'{
"packages": [
{
"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
}
}
],
"pagination": {
"total_records": 123,
"total_pages": 123,
"current_page_number": 123,
"page_size": 123
}
}This API allows to list all packages.
curl --request GET \
--url https://{your-workspace}.neetocal.com/api/external/v1/packages \
--header 'X-Api-Key: <x-api-key>'{
"packages": [
{
"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
}
}
],
"pagination": {
"total_records": 123,
"total_pages": 123,
"current_page_number": 123,
"page_size": 123
}
}{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.
Retrieve paginated results by specifying the desired page number. If this parameter is absent, all results will be returned.
Set the number of results returned in the response. Defaulting to 30 when omitted.
OK - Request succeeded
Array of packages available in the workspace, each containing fee configuration and package details.
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
Pagination information including total records, pages, and current page details.