3.271.0 release notes
about 1 hour ago by ReadMe API
- ⚠️ Breaking changes
- Changed discount tariff validation on
POST /public-api/resources/tariffs/v1.0,PUT /public-api/resources/tariffs/v1.0/{tariff}, andPATCH /public-api/resources/tariffs/v1.0/{tariff}to rejectdiscountTariffSettings.referencedTariffIdvalues pointing to roaming pricing plus markup tariffs. Updates also reject changing a tariff'stypeto free, charging not allowed, discount, or roaming pricing plus markup while discount tariffs reference it as their base or specific reference tariff; these requests return422. - Removed driver details from
descriptionand user references fromrelatedResourcesfor session billing suspended issues returned to partner administrators. This affectsGETandPOST /public-api/resources/issues/v1.0andGETandPATCH /public-api/resources/issues/v1.0/{issue}; operator administrators retain the full details.
- Changed discount tariff validation on
- ✨ New features
- Added
POST /public-api/actions/transaction/v1.0/{transaction}/request-refundto request a transaction refund using requiredamountandreasonfields and optionalinternalNotes. Supports partial refunds where the payment processor allows them; otherwise,amountmust equal the remaining refundable amount, and successful requests return202with the refund details. - Added
GET /public-api/resources/transaction-refunds/v1.0andGET /public-api/resources/transaction-refunds/v1.0/{transactionRefund}to list and retrieve refunds, including their amount, currency, reason, status, and timestamps. The list supports cursor pagination and filters for operator, transaction, status, reason, request time, finalization time, and last update time. - Added
refundedAmountto transaction responses onGETandPOST /public-api/resources/transactions/v1.0,GETandPATCH /public-api/resources/transactions/v1.0/{transaction}, andPOST /public-api/actions/transaction/v1.0/{transaction}/set-custom-fields. The field reports the total finalized refund amount and is omitted when there are no finalized refunds. - Added optional
customFieldsto charge point responses onGETandPOST /public-api/resources/charge-points/v2.0andGETandPATCH /public-api/resources/charge-points/v2.0/{chargePoint}, and to location responses onGETandPOST /public-api/resources/locations/v2.0andGETandPATCH /public-api/resources/locations/v2.0/{location}. Values are keyed by configured custom field identifiers; applicable fields without values are returned asnull, andcustomFieldsis omitted when no fields apply. - Added optional
customFieldsto subscription plan responses onGETandPOST /public-api/resources/subscription-plans/v2.0andGETandPATCH /public-api/resources/subscription-plans/v2.0/{subscriptionPlan}, and to subscription responses onGET /public-api/resources/subscriptions/v1.0andGET /public-api/resources/subscriptions/v1.0/{subscription}. Values are keyed by configured custom field identifiers; applicable fields without values are returned asnull, andcustomFieldsis omitted when no fields apply. - Added custom field update actions at
POST /public-api/actions/charge-point/v1.0/{chargePoint}/set-custom-fields,POST /public-api/actions/locations/v1.0/{location}/set-custom-fields,POST /public-api/actions/subscription-plans/v1.0/{subscriptionPlan}/set-custom-fields, andPOST /public-api/actions/subscription/v1.0/{subscription}/set-custom-fields. - Added custom field filtering using
filter[customFields.<identifier>]onGET /public-api/resources/charge-points/v2.0,GET /public-api/resources/locations/v2.0,GET /public-api/resources/subscription-plans/v2.0, andGET /public-api/resources/subscriptions/v1.0. Filtering is available for enabled, filterable custom fields visible to the authenticated administrator; unsupported field identifiers return400, and invalid filter values return422. - Added optional
options.showDeductedFeesBreakdownto partner create and update requests onPOST /public-api/resources/partners/v2.0andPATCH /public-api/resources/partners/v2.0/{partner}, and to partner responses from those endpoints,GET /public-api/resources/partners/v2.0,GET /public-api/resources/partners/v2.0/{partner}, andPOST /public-api/actions/partner/v1.0/{partner}/set-custom-fields. The option defaults tofalse; enabling it includes a per-session breakdown of deducted session fees in the partner's settlement reports. - Added
pricing.thresholdPricePerKwhto tariff entries returned byGET /public-api/resources/evses/v2.1/{evse}/effective-tariffs. It exposes the same threshold asthresholdPriceForEnergy, used by applicable optimised dynamic pricing tariffs to select energy pricing.
- Added
- 🔧 Improvements
- Changed booking availability checks on
POST /public-api/actions/locations/v2.0/{location}/check-booking-availabilityto handle timezone offsets instartAfterandendBeforeconsistently, checking the corresponding UTC time window. - Changed
DELETE /public-api/resources/configuration-templates/v1.0/{template}/variables/{variable}to enforce deletion permissions and return404when the variable does not belong to the specified template, rather than deleting a variable from a different template.
- Changed booking availability checks on
