Skip to main content
  1. Use HIFI’s ToS Link - Generate a ToS link and have users accept via HIFI-hosted pages (redirect or embedded)
  2. Reference HIFI’s Terms in Your Privacy Policy - Include HIFI’s terms by reference in your own ToS/privacy policy and collect acceptance through your existing flow
Choose the approach that best fits your application architecture and user experience.

Option 1: Reference Terms

If you already have a terms of service or privacy policy acceptance flow, you can reference HIFI’s terms within it. This approach lets you keep users in your own onboarding flow while still generating the required signed agreement ID in the background.

How It Works

  1. Include HIFI’s terms by reference in your privacy policy or terms of service
  2. Collect acceptance through your existing flow (checkbox, button, etc.)
  3. Generate signed agreement ID in the background when user accepts
  4. Create user account with the generated signedAgreementId

Implementation

Add a reference to HIFI’s terms in your privacy policy:
After updating your Terms of Service, please contact us with documentation or evidence of the update. Our team will conduct periodic reviews to ensure continued compliance.
When the user accepts your privacy policy (which includes HIFI’s terms by reference), generate a signed agreement ID in the background:
Then create the user account with the signedAgreementId:
When using this approach, you still need to generate a signed agreement ID, but you can do it in the background without redirecting users to a HIFI-hosted ToS page. The user never sees the ToS link - you handle the acceptance programmatically.
Terms of Service (ToS) Links enable you to collect user consent through HIFI-hosted pages. This approach provides explicit proof of consent and is useful when you want HIFI to handle the ToS presentation.
1

Generate ToS link

Create a unique ToS link with a UUID that will serve as the signed agreement ID.
2

Present to user

Display the ToS page to your user (via redirect or embedded flow).
3

User accepts

User reviews and accepts HIFI’s terms and privacy policy.
4

Create user account

Use the same UUID (signedAgreementId) to create the user account.

Implementation Options

When using HIFI’s ToS Link System, you can implement it in two ways depending on your application flow: Redirect users to a HIFI-hosted ToS page. Best for onboarding flows where redirection is acceptable. Advantages:
  • HIFI handles the entire ToS presentation and acceptance
  • Automatic styling and updates to terms
  • Can be white-labeled with your branding (contact support)
Use when:
  • Onboarding new users in a web application
  • User can navigate away and return to your app
  • You want HIFI to manage ToS updates automatically

Embedded Flow

Display ToS acceptance inline within your application. Best for embedded experiences where redirection breaks the user experience. Advantages:
  • User stays within your application
  • Complete control over UI/UX
  • Works in mobile apps and embedded contexts
Use when:
  • Building mobile applications
  • Creating embedded financial widgets
  • User cannot be redirected out of your application

Redirect Flow Implementation

1

Generate ToS link

Create a ToS link using the Generate ToS Link endpoint.Request:
Request Fields:
  • idempotencyKey (required): Unique UUID that will become the signedAgreementId. Generate a new UUID for each user.
  • redirectUrl (optional): URL to redirect user after accepting ToS. Include query parameters if needed.
  • templateId (optional): Custom ToS template ID from HIFI Dashboard. Omit to use HIFI’s default template.
Response:
2

Redirect user

Redirect the user to the returned url. They’ll see HIFI’s ToS page where they can review and accept the terms.
3

Handle redirect back

After the user accepts, they’re redirected to your redirectUrl. The signedAgreementId matches your original idempotencyKey.
4

Create user

Use the signedAgreementId when creating the user account:

Embedded Flow Implementation

For applications where redirection isn’t possible, display ToS acceptance inline.
1

Display terms inline

Show users HIFI’s terms and privacy policy links within your application:
2

Generate ToS link

When the user checks the box, generate a ToS link to get the session token:
3

Accept ToS programmatically

Call the accept endpoint to record the user’s consent:
4

Create user

After successful ToS acceptance, create the user with the signedAgreementId:

Custom Templates

White-label the ToS page with your branding:
  1. Contact Support: Request custom template creation
  2. Provide Branding: Share your logo, colors, and any custom terms
  3. Receive Template ID: HIFI creates a template and provides the ID
  4. Use Template ID: Include templateId when generating links

Key Concepts

The signedAgreementId serves two purposes:
  1. Idempotency key when generating the ToS link
  2. Proof of consent when creating the user account
Always use the same UUID for both operations. This links the user’s ToS acceptance to their account creation.
HIFI must collect explicit user consent in order to process personal and financial data, comply with privacy regulations such as GDPR and CCPA, and to establish terms of service for financial operations. Users cannot be created without accepting these terms.
In sandbox environment:
  • ToS links work identically to production
  • Use test signedAgreementIds for testing
  • Verify the entire flow before going live
Always test both redirect and embedded flows if you support multiple platforms.

Getting Help

  • 📧 Email: support@hifi.com
  • 💬 Slack: Message us in our shared Slack channel