Skip to content

Commit

Permalink
Add reference to continueUrlTarget on bootstrap token payload
Browse files Browse the repository at this point in the history
Signed-off-by: joaobaptistanqda <[email protected]>
  • Loading branch information
joaobaptistanqda authored and jackmurdoch committed Jul 25, 2024
1 parent 9a5e2ed commit cad3fc4
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docs/flows/crypto-onramp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
sidebar_position: 1
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

# Crypto on-ramp

Expand All @@ -20,6 +19,10 @@ The crypto on-ramp flow allows a user to add funds from a credit or debit card t
- `fee` (_optional_): An object configuring the partner fee to be charged.
- `percentage`: Percentage of the total source amount (the maximum allowed value is "5").
- `continueUrl` (_optional_): URL to redirect the user to after the order is placed.
- `continueUrlTarget` (_optional_): In which tab should the `continueUrl` be opened.
- `new-tab`: Open in a a new tab.
- `same-tab`: Open in the same page or iframe (default).
- `parent-tab`: Useful only in an iframe, open in the page that contains the iframe.
- `partnerFee` (_deprecated_): Use `partner.fee` instead.
- `source` (_optional_): An object configuring the asset and amount to be paid.
- `amount` (_optional_): Amount to be paid.
Expand Down Expand Up @@ -63,7 +66,8 @@ We recommend that you use `XRP` for testing purposes when integrating Topper sin
"fee": {
"percentage": "1"
},
"continueUrl": "https://example.com"
"continueUrl": "https://example.com",
"continueUrlTarget": "new-tab"
},
"source": {
"amount": "100.00",
Expand Down Expand Up @@ -152,8 +156,6 @@ When `recipientEditMode` is `all-editable`, the user can change `asset`, `networ

## Events



### `order:crypto-onramp:committed`

Triggered when a user has placed an order.
Expand Down

0 comments on commit cad3fc4

Please sign in to comment.