EasyPost / easypost-csharp

EasyPost Shipping API Client Library for .NET and .NET Framework applications
https://easypost.com/docs/api
MIT License
66 stars 74 forks source link

[fix] Include "verify" and "verify_strict" parameters for Address creation #582

Closed nwithan8 closed 3 months ago

nwithan8 commented 3 months ago

Description

Include Verify and VerifyStrict parameters for Address when creating as part of Shipment et. al creation request.

These were previously purposefully excluded when Address creation was being performed as part of a larger creation request, such as Shipment or Order, due to uncertainty about their placement in the payload schema. Consequently, this made for end-user confusion as to why address verification was not being performed as part of a Shipment or Order creation, and was causing Shipments and Orders to be successfully created with invalid Addresses.

Testing

Pull Request Type

Please select the option(s) that are relevant to this PR.