Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion EasyPost.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>EasyPost-Official</id>
<title>EasyPost (Official)</title>
<version>7.8.0</version>
<version>7.9.0</version>
<authors>EasyPost</authors>
<owners>EasyPost</owners>
<projectUrl>https://www.easypost.com</projectUrl>
Expand Down
6 changes: 6 additions & 0 deletions EasyPost/Models/API/CarrierAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ public class CarrierAccount : EasyPostObject, Parameters.ICarrierAccountParamete
[JsonProperty("type")]
public string? Type { get; set; }

/// <summary>
/// The payment mode for the associated carrier account.
/// </summary>
[JsonProperty("payment_mode")]
public string? PaymentMode { get; set; }

#endregion
}
}
Expand Down
6 changes: 6 additions & 0 deletions EasyPost/Parameters/CarrierAccount/Create.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ public class Create : ACreate
[TopLevelRequestParameter(Necessity.Required, "carrier_account", "type")]
public override string? Type { get; set; }

/// <summary>
/// Payment mode for the new <see cref="Models.API.CarrierAccount"/>.
/// </summary>
[TopLevelRequestParameter(Necessity.Optional, "carrier_account", "payment_mode")]
public string? PaymentMode { get; set; }

#endregion

/// <summary>
Expand Down
6 changes: 3 additions & 3 deletions EasyPost/Properties/VersionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Loading