Release Notes: Public API of AMPECO Charge 3.144.0
2 days ago by ReadMe API
- ⚠️ Breaking changes
- Renamed the deprecated
autoFaultRecoveryfield toenableAutoFaultRecoveryon V2 Charge Point endpoints. The code now correctly matches the documented V2 schema. Consumers using the old field name onPOST /resources/charge-points/v2.0,PATCH /resources/charge-points/v2.0/{chargePoint}, or related V2 endpoints must update toenableAutoFaultRecovery. - Made the
partnerIdfield immutable onPATCH /resources/partner-contracts/v1.0/{partnerContract}. Attempting to change the partner association during an update will now be rejected. - Added date validation for
startDateon Partner Contract endpoints. OnPOST /resources/partner-contracts/v1.0, thestartDatemust now be today or a future date. OnPATCH /resources/partner-contracts/v1.0/{partnerContract}, past dates are rejected only when the start date value is being changed.
- Renamed the deprecated
- ✨ New features
- Added the optional
invoiceRequiredboolean property to the Transaction request body onPOST /resources/transactions/v1.0andPATCH /resources/transactions/v1.0/{transaction}. When set totrueand the operator has receipt suppression for invoice issuance enabled, automatic receipt generation is suppressed for the transaction.
- Added the optional
- 🔧 Improvements
- The
cardDetailsfields (type,last4,expMonth,expYear) and thepaymentMethoddisplay string on Transaction responses now fall back to stored transaction data when the original payment method record is unavailable, instead of returningnull. Affected endpoints:GET /resources/transactions/v1.0,GET /resources/transactions/v1.0/{transaction},POST /resources/transactions/v1.0, andPATCH /resources/transactions/v1.0/{transaction}.
- The