Fix muralpay pix payouts in backend (#5463)

* Fix fields for pix payout

* Fix muralpay pix backend

---------

Co-authored-by: Creeperkatze <178587183+Creeperkatze@users.noreply.github.com>
This commit is contained in:
Arthur
2026-03-04 14:10:31 +01:00
committed by GitHub
parent 024e079a7d
commit ea3bb334a8
3 changed files with 18 additions and 16 deletions

View File

@@ -554,9 +554,12 @@ pub enum FiatAndRailDetails {
Brl {
symbol: BrlSymbol,
pix_account_type: PixAccountType,
pix_email: String,
pix_phone: String,
branch_code: String,
#[serde(default, skip_serializing_if = "Option::is_none")]
pix_email: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pix_phone: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
branch_code: Option<String>,
document_number: String,
},
#[serde(rename_all = "camelCase")]