User Flow
The user needs to follow a series of steps on the client platform to purchase crypto as given below:
Onramp Hosted SDK
Saber’s Hostel SDK can be integrated by following the below mentioned steps. The integration is done in two steps:
- Sandbox Testing: Initial testing of integration
- Production: Final integration for going live
<aside>
❓ Note:
- You can obtain the Sandbox and Production Credentials from Mudrex Team
- In Sandbox Testing:
- real money testing is not allowed
- dummy account is not present, testing should be done by creating a real account
</aside>
The steps to integrate are SDK are highlighted below:
The overall integration includes two major areas:
- User Registration: Creation of user on Mudrex’s system and generate a UUID for the user for payment processing
- 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:
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:
- 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