Overview
Once users are registered and authenticated, they can view and manage their profile information through a set of profile management endpoints. These endpoints provide access to personal details, account settings, and KYC verification status.All profile management endpoints require authentication. Include the
Authorization: Bearer <token> header with a valid access token from login.Quick Reference
Get User Profile
Retrieve complete user information including personal details and verification status
Update Settings
Modify account preferences and security settings
Verification Status
Check and initiate identity verification process
Onboarding Details
Retrieve detailed onboarding information by ID
Get User Profile
Retrieve complete profile information for the authenticated user.Endpoint
GET /v1/user
Request
Response
Response Fields
Sensitive fields like SSN are masked in the response for security. Full SSN is never returned via API.
Use Cases
Display User Dashboard:Common Errors
User Not Found (404)
User Not Found (404)
Verification Status
Check the user’s identity verification status and initiate the verification process if needed.Endpoint
GET /v1/user/verification
Request
Response
How It Works
This endpoint generates a time-limited, single-use verification session URL where users complete identity verification:1
Request Verification Session
Call
GET /v1/user/verification to generate a unique session URL2
Redirect User
Direct the user to the returned
sessionUrl to complete verification3
User Completes Verification
User submits identity documents and biometric verification (handled by verification provider)
4
Check Status
User’s
verificationState is updated to PENDING or VERIFIED after completionVerification States
Implementation Example
Get Onboarding Details
Retrieve detailed onboarding information by onboarding ID. This is useful during the registration process to check progress or resume incomplete registrations.Endpoint
GET /v1/auth/register
Request
Response
Use Cases
Resume Incomplete Registration:Update Account Settings
Modify user account settings and preferences.This endpoint is referenced in the OpenAPI spec but implementation details may vary based on your environment configuration. Check with your account manager for available settings.
Endpoint
PUT /v1/auth/settings
Common Settings
While specific settings vary by environment, common updateable settings include:- Communication Preferences: Marketing emails, SMS notifications
- Security Settings: OTP enable/disable, password changes
- Privacy Settings: Data sharing preferences
- Notification Settings: Alert preferences
Profile Display Component Example
Here’s a complete example of a user profile display component:Best Practices
Cache Profile Data
Cache user profile data locally with appropriate TTL to reduce API calls. Refresh when user updates information.
Handle Verification States
Provide clear UI/UX for each verification state. Guide users through the verification process.
Secure Token Storage
Never expose access tokens in URLs or logs. Use secure storage mechanisms appropriate for your platform.
Error Handling
Gracefully handle 401 errors by re-authenticating. Show user-friendly messages for other errors.
Data Validation
Validate profile data on the client side before display to prevent rendering issues with null/undefined values.
Privacy Considerations
Mask sensitive information (SSN, full phone numbers) when displaying to users. Only show full details when necessary.
Security Considerations
Personal Data Protection
- Never log full user data including SSN, full address, or financial information
- Mask sensitive fields in UI (show last 4 digits of SSN, etc.)
- Implement proper access controls for admin users viewing profiles
- Comply with GDPR, CCPA, and other privacy regulations
Token Management
- Validate token before each profile request
- Re-authenticate if token is expired or invalid
- Clear local profile cache on logout
- Implement automatic token refresh when approaching expiration
Verification Status
- Don’t bypass verification checks on client side
- Always validate verification status server-side before allowing sensitive operations
- Log verification status changes for audit trails
- Alert users when verification status changes
Troubleshooting
Common Issues
Profile Data Not Updating
Profile Data Not Updating
Symptoms: Changes made during registration not reflected in profileCauses:
- Cached data on client side
- Token from old session
- Wrong environment (sandbox vs production)
- Clear local cache and fetch fresh data
- Ensure using latest access token
- Verify
x-client-keymatches registration environment
Verification Session Expired
Verification Session Expired
Symptoms: User completes verification but status remains UNVERIFIEDCauses:
- Session URL expired before completion
- Network issues during verification
- Verification failed (documents rejected)
- Generate new verification session URL
- Check verification provider dashboard for rejection reasons
- Wait 1-3 business days for manual review if status is PENDING
Missing Profile Fields
Missing Profile Fields
Symptoms: Some profile fields are null or undefinedCauses:
- Incomplete registration
- Optional fields not provided
- Different requirements for different countries
- Check registration completion status
- Validate all required fields were submitted during registration
- Handle null values gracefully in UI
Debug Checklist
When troubleshooting profile issues:- Verify access token is valid and not expired
- Check
x-client-keymatches the user’s environment - Confirm user completed all registration steps
- Validate API response status codes and error messages
- Check network requests in browser DevTools
- Verify user permissions and verification state
- Test with different user accounts (verified vs unverified)
Complete Profile Manager Example
Full-featured profile management class with caching and error handling:Next Steps
Registration Guide
Learn about the complete registration process
Authentication Guide
Implement secure login and session management
User Overview
Complete user management overview
API Reference
Full endpoint documentation