Skip to content

Add fiat scanner admin proxy - #755

Merged
AmirRajabii merged 2 commits into
devfrom
add-fiat-scanner-admin-proxy
Oct 31, 2026
Merged

AmirRajabii merged 2 commits into
devfrom
add-fiat-scanner-admin-proxy

Conversation

@AmirRajabii

Copy link
Copy Markdown
Contributor

No description provided.

… naming

Introduce an admin-facing integration with the fiat-scanner
subscription service and clean up bank account approval status
naming to remove a redundant enum.

- Add FiatScannerProxy/FiatScannerProxyImpl to call fiat-scanner's
  podium statements and webhook endpoints, signing each request
  with HMAC-SHA256 via the new RequestSigner (timestamp, method,
  path, query, body hash).
- Add FiatScannerAdminController exposing
  /opex/v1/admin/fiat-scanner/podium/statements,
  /opex/v1/admin/fiat-scanner/webhooks and
  /opex/v1/admin/fiat-scanner/webhooks/{id}/retry, relaying upstream
  status and body as-is.
- Wire a dedicated fiatScannerWebClient bean (API-key header, larger
  in-memory buffer) and new app.fiat-scanner.{url,api-key,secret-key}
  config in application.yml and docker-compose.yml.
- Replace BankAccountApprovalRequestStatus with BankAccountStatus
  across BankAccountApproval DTOs, since a review request has no
  state of its own beyond the bank account's own status; update
  controller OpenAPI docs (BankAccountAdminController,
  BankAccountController) accordingly (PENDING/APPROVED -> WAITING/
  VERIFIED).
- Add DEPOSIT and WITHDRAW to UiPage enum.
@AmirRajabii
AmirRajabii merged commit c7869e4 into dev Oct 31, 2026
1 check passed
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