Skip to content

Conversation

@samholmes
Copy link
Contributor

@samholmes samholmes commented Dec 15, 2025

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

Update challenge and verify endpoints to use the new headless API paths:
- /v1/auth/wallet/challenge → /v1/headless/auth/wallet/challenge
- /v1/auth/wallet/verify → /v1/headless/auth/wallet/verify
- Flatten customer request schema: remove nested 'data' wrapper
- Remove residentialAddress from request (no longer supported)
- Remove kycLinkUrl and usedPersonaKyc from response
- New customers now start with PENDING status instead of ACTIVE
- Add getKycLink API method for obtaining KYC verification links
- Update kycWorkflow to use new getKycLink endpoint
- Change status values: PENDING, IN_REVIEW, ACTIVE, NEED_ACTIONS, REJECTED
- Add sessionStatus field to KYC status response
- Update kycWorkflow status checks for new format
- ACTIVE replaces 'approved' as the completed status
- PENDING replaces 'not_started'/'incomplete'
Change bridgeAccountId to externalAccountId in customer accounts response
to match new API format that abstracts away the underlying provider.
The TOS (Terms of Service) workflow is no longer part of the new Infinite API:
- Delete tosWorkflow.ts
- Remove tosWorkflow import and call from infiniteRampPlugin.ts
- Remove asInfiniteTosStatus, InfiniteTosStatus, asInfiniteTosResponse types
- Remove getTos method from InfiniteApi interface and implementation
- Remove ramp_tos_* locale strings from en_US.ts and all JSON files
When a customer with PENDING KYC status already exists, skip the KYC
form and redirect directly to the KYC webview. The form is now only
shown for new customers without a customerId.

Extract openKycWebView helper to reuse webview logic in both the
PENDING status handling and new customer form submission flows.
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