Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions docs/flows/crypto-offramp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Comment thread
andregoncalvesdev marked this conversation as resolved.
- `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.
Expand Down Expand Up @@ -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",
Comment thread
andregoncalvesdev marked this conversation as resolved.
"walletSendUrl": "https://example.com",
"walletSendUrlTarget": "new-tab"
Expand Down
Loading