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

@@ -1793,9 +1793,6 @@
"muralpay.field.bank-account-number": {
"message": "Account number"
},
"muralpay.field.branch-code": {
"message": "Branch code"
},
"muralpay.field.clabe": {
"message": "CLABE"
},
@@ -1826,6 +1823,9 @@
"muralpay.field.pix-phone": {
"message": "PIX phone"
},
"muralpay.field.random-key": {
"message": "Random key"
},
"muralpay.field.routing-number": {
"message": "Routing number"
},
@@ -1886,9 +1886,6 @@
"muralpay.placeholder.enter-account-number": {
"message": "Enter account number"
},
"muralpay.placeholder.enter-branch-code": {
"message": "Enter branch code"
},
"muralpay.placeholder.enter-clabe": {
"message": "Enter 18-digit CLABE"
},
@@ -1901,6 +1898,9 @@
"muralpay.placeholder.enter-pix-email": {
"message": "Enter PIX email"
},
"muralpay.placeholder.enter-random-key": {
"message": "Enter random key"
},
"muralpay.placeholder.enter-routing-number": {
"message": "Enter 9-digit routing number"
},

View File

@@ -357,11 +357,14 @@ export const MURALPAY_RAILS: Record<string, RailConfig> = {
{
name: 'branchCode',
type: 'text',
label: defineMessage({ id: 'muralpay.field.branch-code', defaultMessage: 'Branch code' }),
label: defineMessage({
id: 'muralpay.field.random-key',
defaultMessage: 'Random key',
}),
required: true,
placeholder: defineMessage({
id: 'muralpay.placeholder.enter-branch-code',
defaultMessage: 'Enter branch code',
id: 'muralpay.placeholder.enter-random-key',
defaultMessage: 'Enter random key',
}),
autocomplete: 'off',
dependsOn: {
@@ -383,10 +386,6 @@ export const MURALPAY_RAILS: Record<string, RailConfig> = {
defaultMessage: 'Brazilian tax identification number',
}),
autocomplete: 'off',
dependsOn: {
field: 'pixAccountType',
value: 'DOCUMENT',
},
},
],
},