Skip to content

SDK Flow

The diagram below illustrates the integration flow for embedding Ria’s money transfer experience using the SDK:

  1. Import the SDK into your application.
  2. Define the mount point for the embedded app (where the iframe will be rendered).
  3. Retrieve the SSO token from your internal storage or database.
  4. Call SetupRmtSso() with the required user data and token callback.
  5. The SDK renders the iframe and passes the SSO token securely to Ria’s backend for validation.
  6. Once validated, the user is logged in and the embedded experience is ready to use.

This flow shows authentication and communication, allowing you to focus on your app logic while Ria handles compliance, security, and user experience within the iframe.

  1. Define the tokenCallback function logic to handle the SSO token.
  2. Call SetupRmtSso() and the SDK renders the iframe.
  3. User completes registration within the iframe.
  4. Ria generates and encrypts the SSO token.
  5. SDK executes your tokenCallback function with the new token.
  6. Partner app securely stores the SSO token for future sessions.
  7. User is logged in and ready to complete their transfer.
SDK Flow First User
  1. Retrieve the stored SSO token from your internal storage or database.
  2. Call SetupRmtSso() with the existing token.
  3. Ria validates the token and renders the iframe with the user authenticated.
  4. Experience is ready immediately—no additional login required.
SDK Flow Returning User