-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The endpoint to list pricing segments supports currency prices
https://{{env_handle}}.chargify.com/components/<id>/price_points/<id>/segments.json?currency_prices=true
Result example:
{
"segments": [
{
"id": 29664,
"component_id": <id>,
"price_point_id": <id>,
"event_based_billing_metric_id": 2741,
"pricing_scheme": "per_unit",
"segment_property_1_value": "",
"segment_property_2_value": "",
"segment_property_3_value": "",
"segment_property_4_value": "",
"created_at": "2025-07-25T10:00:15+01:00",
"updated_at": "2025-07-25T10:00:15+01:00",
"prices": [
{
"id": 16331080,
"component_id": 2794795,
"starting_quantity": 1,
"ending_quantity": null,
"unit_price": "4.5",
"price_point_id": 13753365,
"formatted_unit_price": "£4.50",
"segment_id": 29664
}
],
"currency_prices": [
{
"id": null,
"currency": "EUR",
"price": "5.4",
"formatted_price": "€5,40",
"price_id": 16331080,
"price_point_id": 13753365
},
{
"id": null,
"currency": "USD",
"price": "4.05",
"formatted_price": "$4.05",
"price_id": 16331080,
"price_point_id": 13753365
}
]
}
]
}```
But SDK method "listSegmentsForPricePoint" does not support the same. It is not possible to request currency prices.
Metadata
Metadata
Assignees
Labels
No labels