Skip to main content

Fractal SAML Authentication & Onboarding

Steps for integrating Fractal SAML authentication and launching the hosted onboarding flow. All endpoints require Basic Auth on every request:
  • Username = Client ID
  • Password = Secret Key

Step 1: Create a Session

Call the create-session endpoint to authenticate and receive a session token. Optionally pass ?is_publickey=true to also retrieve your client’s shared public key.
To also fetch your public key:
Response:
Store the sessionToken — it is required in Step 2.

Step 2: Initiate the Hosted Onboarding Form

Pass the session_token from Step 1 as a URL parameter. The body fields are optional — include any merchant data you have available.
Response:
The onboarding_link is a one-time URL to send to the merchant to complete the form. Store the merchant_id — it is required for future API calls.

Step 3: Merchant Completes the Onboarding Form

Send the onboarding_link from Step 2 to the merchant. When they open the link, they will be presented with a hosted onboarding form to complete their business and banking details. The link is one-time use — it expires once submitted or after a set period. Once the merchant submits the form, their application will move into a pending review state.

Step 4: Check Merchant Status

Once the merchant submits the onboarding form, use this endpoint to poll their approval status. The merchant_key here is the merchant’s Fractal API key — found in their Fractal dashboard. This is distinct from the merchant_id (the m_ prefixed GUID) and the public_key returned by the merchant list endpoint.
Response:
merchantStatus will be either "pending" or "completed". You can also use webhooks to track merchant_status for real-time updates instead of polling.