Since widget has optional parameters that can be set during initialisation, let's see what are parameters that can be configured with it and how to enable OffRamp functionality as well.
By Default widget will be initialised with Onramp feature. And Default fiat is only INR , for PHP contact our sales team to enable it. and from widget initialize fiatType:php for PHP
Offramp can be enabled by setting the flag to offRamp: "enabled" as shown in below example.
Both on and off ramp can be enabled by setting respective flags to a value as enabled as shown below.