Ramp
1. Redirect or load Iframe
We should redirect or load iframe (redirect is recommended) our user to:
https://wallet.wallettwo.com/auth/login?action=ramp
action
: Use 'ramp' for this example. On interactions group you can find all what you can do.redirect_uri
: Url where user should be redirected to after success or error.type
: Onramp or offramp ramp.network_id
: ID of network to deposit rampcontract
: Symbol of contract to rampcurrency
: (optional) Slug of currency to ramppayment_method
: (optional) Slug of payment method to use on the rampamount
:(optional) Tokens to show to the user
2. Process callback/event
After user has finished the auth process successfully or not he'll be redirected or event will be send containing the following information:
success
: True or falsestatus
: Status of the rampramp_id
: ID of the rampusr
: User IDwlt
: Wallet Address of the user
Last updated