Skip to content

fix supported-payment-methods data format#711

Merged
ebma merged 1 commit into
stagingfrom
fix/supported-payment-methods
Jun 11, 2025
Merged

fix supported-payment-methods data format#711
ebma merged 1 commit into
stagingfrom
fix/supported-payment-methods

Conversation

@Sharqiewicz
Copy link
Copy Markdown
Member

Refactored supported-payment-methods endpoint data format.

Before:

paymentMethods: [
      { id: 'sepa', name: 'SEPA', supportedFiats: ['eur'], limits: { min: 10, max: 50000 } },
      { id: 'pix', name: 'PIX', supportedFiats: ['brl'], limits: { min: 1, max: 500000 } },
      { id: 'cbu', name: 'CBU', supportedFiats: ['ars'], limits: { min: 1, max: 500000 } },
    ]

After:

paymentMethods: [
  { id: 'sepa', name: 'SEPA', supportedFiats: [{
  	id: 'eur',
    name: 'EURO',
    limits: { min: 10, max: 50000 }
  }]
  },
  { id: 'pix', name: 'PIX', supportedFiats: [{
  	id: 'brl',
    name: 'Brazilian Real',
    limits: { min: 1, max: 500000 }
  }]
  },
  { id: 'cbu', name: 'CBU', supportedFiats: [{
    id: 'ars',
    name: 'Argentine Peso',
    limits: { min: 1, max: 500000 }
  }]
  },
]

@Sharqiewicz Sharqiewicz requested a review from a team June 10, 2025 13:29
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 10, 2025

Deploy Preview for pendulum-pay ready!

Name Link
🔨 Latest commit 8862515
🔍 Latest deploy log https://app.netlify.com/projects/pendulum-pay/deploys/6848333ef9ca6500086a339d
😎 Deploy Preview https://deploy-preview-711--pendulum-pay.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ebma ebma merged commit 8ca0b6a into staging Jun 11, 2025
4 of 5 checks passed
@ebma ebma deleted the fix/supported-payment-methods branch June 11, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants