3.274.0 release notes
about 2 hours ago by ReadMe API
- ⚠️ Breaking changes
- Changed settlement record creation on
POST /public-api/resources/partner-settlement-reports/v1.0/{partnerSettlementReport}/recordsfor reports generated under the collected-revenue-only payout basis: requests now return409witherrorCode: direction_required_use_v1_1. UsePOST /public-api/resources/partner-settlement-reports/v1.1/{partnerSettlementReport}/recordsand supplydirectioninstead. - Made settlement records immutable for reports generated under the collected-revenue-only payout basis on
PUTandDELETE /public-api/resources/partner-settlement-reports/v1.0/{partnerSettlementReport}/records/{PartnerSettlementRecord}andPUTandDELETE /public-api/resources/partner-settlement-reports/v1.1/{partnerSettlementReport}/records/{partnerSettlementRecord}. These operations return409witherrorCode: records_immutable_for_collected_revenue_only_operator; correct an entry by creating a record with a negativepaidAmountinstead.
- Changed settlement record creation on
- ✨ New features
- Added the experimental
GET /public-api/resources/churn-reasons/v1.0endpoint to list available churn reasons, including their names, translations, exit types, applicable subjects and partner category restrictions. Its schema and behavior may change without a version bump while it remains experimental. - Added the optional
churnReasonobject toPOST /public-api/resources/partner-invites/v2.0,PATCH /public-api/resources/partner-invites/v2.0/{partnerInvite}andPOST /public-api/actions/partner-invite/v1.0/{partnerInvite}/expire, accepting eitherreasonIdorcustomReasonwithexitType. Only operator and global tokens may send it; create and update requests require an expiration date, and update requests can send an empty object to remove the stored reason or omit the field to preserve it. - Added the optional boolean
isInvoicedExternallyto requests and responses onPOST /public-api/resources/partners/v2.0andPATCH /public-api/resources/partners/v2.0/{partner}, and to responses onGET /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. Whentrue, partner invoices are not issued for the partner's settlement reports and payments are registered on those reports instead; existing invoices are unaffected. - Added
payoutBasisand the conditional totalstotals.payableRevenue,totals.paidFromEarlierPeriods,totals.earnedThisPeriodandtotals.notYetPayableto responses onGET /public-api/resources/partner-settlement-reports/v1.1andGET /public-api/resources/partner-settlement-reports/v1.1/{partnerSettlementReport}. These fields distinguish all-earned-revenue and collected-revenue-only payouts and, where applicable, show revenue paid out, revenue from earlier periods, revenue earned in the current period and revenue not yet payable. - Added
direction, acceptingreceivedorpaid, to request bodies onPOST /public-api/resources/partner-settlement-reports/v1.1/{partnerSettlementReport}/recordsandPUT /public-api/resources/partner-settlement-reports/v1.1/{partnerSettlementReport}/records/{partnerSettlementRecord}, and to responses from those endpoints and their corresponding collection and single-recordGETendpoints. It is required when creating records for reports generated under the collected-revenue-only payout basis, and creation returns409witherrorCode: direction_total_below_zeroif the entry would make that direction's payment total negative. - Added
payoutSettlementReportIdsto responses onGET /public-api/resources/partner-revenues/v1.2andPOST /public-api/actions/partner-revenue/v1.0/{partnerRevenue}/set-custom-fields, identifying reports that paid out or carried the revenue, oldest first. Added the optionalfilter[payoutSettlementReportId]query parameter toGET /public-api/resources/partner-revenues/v1.2to find revenue associated with a payout report.
- Added the experimental
- 🔧 Improvements
- Expanded notification types with
transactionRefund.changedfor subscriptions onPOST /public-api/notifications/v2.0andPUT /public-api/notifications/v2.0/{notification}, and for resend requests onPOST /public-api/actions/notifications/v1.0/{notification}/resend. Thenotificationsresponse array can also contain this value onGETandPOST /public-api/notifications/v1.0,GETandPUT /public-api/notifications/v1.0/{notification},GETandPOST /public-api/notifications/v2.0, andGETandPUT /public-api/notifications/v2.0/{notification}.
- Expanded notification types with
