Adds generic error types for Payout MethodsBreaking changes
What’s new
Adds the following generic error codes to replace specific error codes for each Payout Method action:
payout_method_ cannot_ be_ updated payout_method_ cannot_ be_ archived payout_method_ cannot_ be_ unarchived
Also adds a controlled_ generic error type for modifications to resources that are controlled by another API resource.
Why is this a breaking change?
With the change from type-specific errors for Payout Methods to generic errors, you must update any error handling to match these codes. If your integration branches on error types, you must also add handling for the new controlled_ error type.
Impact
You can now use the generic error types in your integrations that use Payout Methods. With generic error types, you no longer need to handle type-specific error codes as new types are introduced.