You can configure the widget to fit your needs via these supported URL parameters.
Example:
Example breakdown:
https://ramp.stably.io/?<
address
=address>& <amount
=#>&<network
=networkname>&<asset
=USDS>&<lock
=true>URL param | Explanation | Required | Data Type |
address | The wallet address that the user will receive the tokens | Optional | string |
amount | The USD amount that you want to sell | Optional | numeric |
network | The blockchain network that user wants to buy. If an array is specified the first item will be the default selections. All Supported Assets & Networks
Example: stellar, [ethereum, avalanche] | ✅ | string or array of strings |
asset | The type of asset that the user want to buy. All Supported Assets & Networks
Example: USDS | ✅ | string |
lock | Setting this param to true will prevent the user from selecting any other asset or flow | Optional | boolean |
integrationId | A unique integration id which will be given to you by Stably. This is used to track metrics such as volume and user signups through your Stably Ramp integration. Should NOT be changed. | ✅ | string |
_blank | Needs to be set to 1 ( _blank=1 ). This is only for mobile wallet integrations. Further explained here | Optional | numeric |