Skip to content

Implement isExternal handling for Alfredpay Fiat Accounts#1129

Merged
ebma merged 6 commits intostagingfrom
alfredpay-quote-expiration-fix
Apr 28, 2026
Merged

Implement isExternal handling for Alfredpay Fiat Accounts#1129
ebma merged 6 commits intostagingfrom
alfredpay-quote-expiration-fix

Conversation

@Sharqiewicz
Copy link
Copy Markdown
Member

No description provided.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 28, 2026

Deploy Preview for vortex-sandbox ready!

Name Link
🔨 Latest commit ba3b847
🔍 Latest deploy log https://app.netlify.com/projects/vortex-sandbox/deploys/69f07e4ada44500008d64e78
😎 Deploy Preview https://deploy-preview-1129--vortex-sandbox.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.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 28, 2026

Deploy Preview for vortexfi ready!

Name Link
🔨 Latest commit ba3b847
🔍 Latest deploy log https://app.netlify.com/projects/vortexfi/deploys/69f07e4aaad95f0009c5fdf4
😎 Deploy Preview https://deploy-preview-1129--vortexfi.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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Alfredpay fiat account creation to support marking a bank account as external (not owned by the user) and wires that flag through the frontend form and API.

Changes:

  • Adds isExternal?: boolean to the shared Alfredpay add-fiat-account request type.
  • Updates the frontend fiat account registration form to ask “Who does this account belong to?” and sends isExternal accordingly.
  • Tweaks the shared Select UI component styling/behavior (sizes, motion-safe animations, icon aria-hidden).

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/shared/src/endpoints/alfredpay.endpoints.ts Extends AlfredpayAddFiatAccountRequest with optional isExternal.
apps/api/src/api/controllers/alfredpay.controller.ts Reads isExternal from request body and forwards it to Alfredpay fiat account creation payload.
apps/frontend/src/constants/fiatAccountForms.ts Adds an “isOwnAccount” select field (default “own”) across fiat account forms.
apps/frontend/src/pages/alfredpay/FiatAccountRegistration/RegisterFiatAccountScreen.tsx Provides form defaultValues and maps isOwnAccountisExternal when submitting.
apps/frontend/src/translations/en.json Adds i18n strings for the new “account ownership” field/options.
apps/frontend/src/translations/pt.json Adds i18n strings for the new “account ownership” field/options.
apps/frontend/src/components/ui/select.tsx Updates Select trigger sizing, motion-safe classes, z-index, colors, and icon accessibility.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread apps/frontend/src/translations/pt.json
Comment thread apps/api/src/api/controllers/alfredpay.controller.ts
Comment thread apps/frontend/src/translations/en.json
@Sharqiewicz Sharqiewicz changed the title Alfredpay quote expiration fix Implement isExternal handling for Alfredpay Fiat Accounts Apr 28, 2026
@ebma ebma merged commit 2a5a756 into staging Apr 28, 2026
7 checks passed
@ebma ebma deleted the alfredpay-quote-expiration-fix branch April 28, 2026 09:39
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.

3 participants