3.252.0 release notes
about 1 hour ago by ReadMe API
- ⚠️ Breaking changes
- Changed validation on
POST /public-api/actions/session/v1.0/{session}/change-tariffso thattariffIdmust reference a tariff with usable concrete pricing. Unresolved markup or discount tariff definitions now produce a422validation error. - Made provider-specific configuration properties mandatory when creating a payment terminal, or when changing its integration, on
POST /public-api/resources/payment-terminals/v1.0,PATCHandPUT /public-api/resources/payment-terminals/v1.0/{paymentTerminal}, and their v1.1 equivalents. Requests must provide the required fields for the selected terminal type, such asphone,defaultLanguage,info,presentCardOnStopSession,verificationCode,serialNumber, orterminalId. - Changed
partnerIdvalidation for user-group writes. OnPOST /public-api/resources/user-groups/v1.0,PATCH /public-api/resources/user-groups/v1.0/USERGROUP, andPUT /public-api/resources/user-groups/v1.0/USERGROUP, the field is now required for administrators whose scope requires a partner assignment and must reference a partner they may assign.
- Changed validation on
- ✨ New features
4. AddedGET /public-api/resources/ocpi-commands/v1.0andGET /public-api/resources/ocpi-commands/v1.0/{ocpiCommand}for retrieving commands received from eMSPs over OCPI. The listing supports filtering byroamingConnectionId,type,result,failureReason,createdAfter, andcreatedBefore.
5. Added optional tariff session-limit properties:stopSession.stopWhenPreAuthorizedAmountFallsBelow,stopSession.autoStopAmount, andstartSessionRestrictions.minimumBalance. They are available when creating or updating tariffs throughPOST /public-api/resources/tariffs/v1.0,PATCHandPUT /public-api/resources/tariffs/v1.0/{tariff}, and in responses from those endpoints,GET /public-api/resources/tariffs/v1.0,GET /public-api/resources/tariffs/v1.0/{tariff}, andGET /public-api/resources/tariff-snapshots/v1.0/{tariffSnapshot}.
6. AddedPUT /public-api/resources/user-groups/v1.0/USERGROUPto replace a user group with a complete representation. Writable properties omitted from the request are reset; usePATCHto update only selected properties. - 🔧 Improvements
7. ExpandedrejectedPaymentMethodErrorCoderesponses fromPOST /public-api/actions/charge-point/v1.0/{chargePoint}/start/{evse}andPOST /public-api/actions/evse/v1.0/{evse}/startwith corporate-billing rejection values for unavailable ad-hoc tariffs, unsupported charger types, cross-operator opt-in, currency mismatches, unavailable exchange rates, exceeded limits, and uncovered locations.
8. ExpandedcorporateBilling.restrictionCauseon Session responses fromGET /public-api/resources/sessions/v1.0,GET /public-api/resources/sessions/v1.0/{session}, andPOST /public-api/actions/session/v1.0/{session}/set-custom-fieldswithcross_operator_not_opted_inandexchange_rate_unavailable.
9. Added a424 Failed Dependencyresponse toPOST /public-api/resources/transactions/v1.0andPATCH /public-api/resources/transactions/v1.0/{transaction}when a transaction cannot be finalized because a corporate-billing amount cannot be converted due to an unavailable exchange rate.
10. Changed payment-terminal responses to return safe empty orfalsedefaults for missing provider configuration rather than failing to return the terminal, on/public-api/resources/payment-terminals/v1.0and/public-api/resources/payment-terminals/v1.1endpoints.
11. ChangedPATCH /public-api/resources/users/v1.0/{user}/payment-methods/{paymentMethodId}to correctly update the payment method associated with the specified subscription installment, including installments other than the current one.
