User Flow

The user needs to follow a series of steps on the client platform to purchase crypto as given below:

User flow (3).png

Onramp Hosted SDK

Saber’s Hostel SDK can be integrated by following the below mentioned steps. The integration is done in two steps:

<aside> ❓ Note:

The steps to integrate are SDK are highlighted below:

SDK Overview.png

The overall integration includes two major areas:

  1. User Registration: Creation of user on Mudrex’s system and generate a UUID for the user for payment processing
  2. Payment Initiation: Generation of URL for payment where the user needs to be redirected for Onramp

User Registration

The user registration part contains the following steps:

User Reg.png

Steps to Register a User

To be able to make payments a user has to be first registered with Mudrex. To register a user on Mudrex you need to follow the steps:

  1. Generate a secret key for user registration using the following script
var timestamp = Math.floor(Date.now() / 1000).toString();
var sigString = clientId + timeInSeconds;
var secret = CryptoJS.HmacSHA256(sigString, clientSecrect).toString().toUpperCase();

Sorry, it looks like this this Notion document has not been added to Embed Notion. Please head to https://embednotion.com to embed your Notion document.

Made with 👉 Embed Notion