post
https://megsapp-nova-stg.85.group/api/v1/app-user/migrate/complete
Finalises the migration handoff. Two response modes:
mode=create— a brand-new AppUser was created, linked to the legacy account, and returnsotpSent=falsebecause the legacy PIN already proved phone possession.mode=merge_required— the supplied username already exists on another app user; the FE must collect the existing-account password and submit to the merge endpoint (out of scope for US-012).
The endpoint is idempotent under the supplied Idempotency-Key header (UUID v4). Retries within 10 minutes return the original response verbatim.
Access: Public endpoint.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
400WEAK_PASSWORD / MISSING_IDEMPOTENCY_KEY / INVALID_IDEMPOTENCY_KEY / VALIDATION_FAILED — input shape errors.
401MIGRATION_TOKEN_EXPIRED / MIGRATION_TOKEN_INVALID — re-run verify-pin to mint a fresh token.
409MSISDN_ALREADY_MIGRATED — race against a concurrent /complete committed first; ACCOUNT_PRIMARY_ON_ANOTHER_APP_USER / ACCOUNT_HAS_OTHER_VERIFIED_LINKS — legacy account is already linked to another app user.