diff --git a/CHANGELOG.md b/CHANGELOG.md index e5f41717..242639fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # CHANGELOG -## v7.8.0 (2025-06-25) +## v7.9.0 (2026-07-01) + +- Adds `PaymentMode` to carrier account create params + +## v7.8.0 (2026-06-25) - Adds `params` to `requestPin` ensuring users can pass `easypost_details` to the call diff --git a/EasyPost.nuspec b/EasyPost.nuspec index 3ebe223f..3aa9235b 100644 --- a/EasyPost.nuspec +++ b/EasyPost.nuspec @@ -3,7 +3,7 @@ EasyPost-Official EasyPost (Official) - 7.8.0 + 7.9.0 EasyPost EasyPost https://www.easypost.com diff --git a/EasyPost/Models/API/CarrierAccount.cs b/EasyPost/Models/API/CarrierAccount.cs index c9a29ee2..6b3128b8 100644 --- a/EasyPost/Models/API/CarrierAccount.cs +++ b/EasyPost/Models/API/CarrierAccount.cs @@ -74,6 +74,12 @@ public class CarrierAccount : EasyPostObject, Parameters.ICarrierAccountParamete [JsonProperty("type")] public string? Type { get; set; } + /// + /// The payment mode for the associated carrier account. + /// + [JsonProperty("payment_mode")] + public string? PaymentMode { get; set; } + #endregion } } diff --git a/EasyPost/Parameters/CarrierAccount/Create.cs b/EasyPost/Parameters/CarrierAccount/Create.cs index e3e5fb5b..c8d60be8 100644 --- a/EasyPost/Parameters/CarrierAccount/Create.cs +++ b/EasyPost/Parameters/CarrierAccount/Create.cs @@ -44,6 +44,12 @@ public class Create : ACreate [TopLevelRequestParameter(Necessity.Required, "carrier_account", "type")] public override string? Type { get; set; } + /// + /// Payment mode for the new . + /// + [TopLevelRequestParameter(Necessity.Optional, "carrier_account", "payment_mode")] + public string? PaymentMode { get; set; } + #endregion /// diff --git a/EasyPost/Properties/VersionInfo.cs b/EasyPost/Properties/VersionInfo.cs index 2f52c1a8..e9045c55 100644 --- a/EasyPost/Properties/VersionInfo.cs +++ b/EasyPost/Properties/VersionInfo.cs @@ -2,6 +2,6 @@ // Version information for an assembly must follow semantic versioning // When releasing a release candidate, append a 4th digit being the number of the release candidate -[assembly: AssemblyVersion("7.8.0")] -[assembly: AssemblyFileVersion("7.8.0")] -[assembly: AssemblyInformationalVersion("7.8.0")] +[assembly: AssemblyVersion("7.9.0")] +[assembly: AssemblyFileVersion("7.9.0")] +[assembly: AssemblyInformationalVersion("7.9.0")]