sequence-diagram-1-click-signup-api
sequenceDiagram
actor U as User
participant C as Customer
participant V as Verified
Note left of U: 1. Prompt user for inputs.
C ->>+ U: Collect verified phone, challenge, and consent
U ->>- C: Provide verified phone, challenge, and consent
Note left of U: 2. Call POST /1-click.
C ->>+ V: Call POST /1-click
alt Additional info required
V -->>- C: OCE011 error code
C ->>+ U: Show DOB/SSN4 field(s)
U ->>- C: Enter DOB/SSN4
C ->>+ V: Call POST /1-click with DOB/SSN4
alt Additional info mismatched
V -->>- C: OCE012 error code
C ->>+ U: Show DOB/SSN4 field(s)
U ->>- C: Enter DOB/SSN4
C ->>+ V: Call POST /1-click with DOB/SSN4
break No credentials found
V -->>- C: OCE013 error code
C ->>+ U: Take user to manual signup
end
end
end
V ->> V: Source data (credentials and metadata)
V -->> C: Return data
Note left of U: 3. Have user confirm data.
C ->>+ U: Display credentials
U ->>- C: Confirm credentials