The Onboarding Init API provides the PFM WebRD for initiating the user onboarding process. This API sets up the initial configuration including the redirection URL where users will be redirected after completing the onboarding process. It’s the first step in the PFM user journey and prepares the system for subsequent PFM operations.
Initialize Onboarding: Call this API with your redirection URL to get the link to PFM WebRD
Redirect User: Use the returned onboarding_url to redirect users to the PFM onboarding flow
Handle Completion: Users will be redirected back to your redirection_url when they close the WebRD. The redirection URL will include a query parameter journey_status with the following values:
journey_status=success: At least one consent was approved by the user and was successful
journey_status=failure: No consents were successfully approved
Continue Flow: Use the session details to proceed with subsequent PFM operations
HTTPS Only: Always use HTTPS for redirection URLs to ensure secure data transmission
Token Security: Handle JWT tokens securely and avoid logging them
Session Expiry: Monitor session expiry times and implement appropriate timeout handling
URL Validation: Validate that redirection URLs belong to your domain for security
Encryption Support: This API supports encryption. When encryption is enabled for your integration, both request and response payloads will be encrypted. See API Encryption Guide for details.