diff --git a/docs/flows/crypto-offramp.mdx b/docs/flows/crypto-offramp.mdx index 4b46dde..3bb137f 100644 --- a/docs/flows/crypto-offramp.mdx +++ b/docs/flows/crypto-offramp.mdx @@ -47,8 +47,10 @@ The crypto off-ramp flow allows a user to sell cryptocurrency and convert it int - `amount` (_optional_): Amount to be sold. - `asset`: Cryptoasset the user will send. - `editMode` (_optional_): Controls what values the user can change on the widget. - - `all-editable`: The user can change `amount`, `asset` and `network` on the widget. (default) - - `only-amount`: The user can only change the amount on the widget. + - `only-asset-and-network`: The user can change `asset` and `network` on the widget. (default) + - `not-editable`: The user cannot change `asset` or `network` on the widget. + - `all-editable` (_deprecated_): Use `only-asset-and-network` instead. + - `only-amount` (_deprecated_): Use `not-editable` instead. - `network` (_optional_): Network of the receiving asset. - `walletSendUrl` (_optional_): URL to redirect the user to send the crypto from their wallet. It will include order details as query parameters like `topper_order_address`, `topper_order_amount`, `topper_order_asset_code`, `topper_order_asset_network`, `topper_order_tag_type`, `topper_order_tag_value`, and others. Placeholders `{topper_*}` can be used on the given URL for dynamic value replacement, useful for deep linking (e.g: `https://partner.app/send?amount={topper_order_amount}&address={topper_order_address}`). - `walletSendUrlTarget` (_optional_): In which tab should the `walletSendUrl` be opened. @@ -120,7 +122,7 @@ We recommend that you use `XRP` for testing purposes when integrating Topper sin ] "amount": "1", "asset": "ETH", - "editMode": "all-editable", + "editMode": "only-asset-and-network", "network": "ethereum", "walletSendUrl": "https://example.com", "walletSendUrlTarget": "new-tab"