Introduction
High level idea is described in Overview and can be narrowed down to the following:
- Prepare specific payload
- Get it signed with a private key
- Send payload and signature to PureFi Issuer
- Handle PureFi Issuer response appropriately
So it means there are two possible ways to integrate PureFi in your ecosystem:
1. Backend integration
It assumes that Partner has its own backend service, so it prepares appropriate payload, signs it with a Custom Signer private key.
2. Frontend integration
It assumes that Partner has its own frontend dapp, so it prepares appropriate payload, asks a user to sign it with User's private key.
In case of this type of integration request PureFi team to enable CORS settings for your domain
Note: Further integration steps are generalized and we don't take into account which type of integration is preferable by Partner because the idea will be the same.