From 6c901be3261ac48edf379d060e7eaa7521e8710d Mon Sep 17 00:00:00 2001 From: igorsilva-stark Date: Mon, 9 Jun 2025 13:37:00 -0300 Subject: [PATCH] Add new ReversalReason option (pixAutomatico) --- CHANGELOG.md | 2 ++ starkinfra/pixchargeback/__pixchargeback.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0c0a47..0e3d76a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ Given a version number MAJOR.MINOR.PATCH, increment: ## [Unreleased] +### Added +- pixAutomatico as new reason value for PixChargeback resource ## [0.20.0] - 2025-05-13 ### Added diff --git a/starkinfra/pixchargeback/__pixchargeback.py b/starkinfra/pixchargeback/__pixchargeback.py index 218f2c9..29c1a2d 100644 --- a/starkinfra/pixchargeback/__pixchargeback.py +++ b/starkinfra/pixchargeback/__pixchargeback.py @@ -14,7 +14,7 @@ class PixChargeback(Resource): ## Parameters (required): - amount [integer]: amount in cents to be reversed. ex: 11234 (= R$ 112.34) - reference_id [string]: end_to_end_id or return_id of the transaction to be reversed. ex: "E20018183202201201450u34sDGd19lz" - - reason [string]: reason why the reversal was requested. Options: "fraud", "flaw", "reversalChargeback" + - reason [string]: reason why the reversal was requested. Options: "fraud", "flaw", "reversalChargeback" and "pixAutomatico" ## Parameters (conditionally required): - description [string, default None]: description for the PixChargeback. Required if reason is "flaw". ## Parameters (optional):