Skip to content

Commit

Permalink
Add partner property to bootstrap token
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerei-nqda committed Nov 14, 2023
1 parent 3f2670c commit 6412675
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions docs/flows/crypto-onramp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ The crypto on-ramp flow allows a user to add funds from a credit or debit card t

<Tabs>
<TabItem label="Schema" value="schema" default>

- `partnerFee` (_optional_): An object configuring the partner fee to be charged.
- `percentage`: Percentage of the total source amount (the maximum allowed value is "5").
- `partner` (_optional_): Partner object.
- `name` (_optional_): Partner name to be displayed to the user.
- `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.
- `partnerFee` (_deprecated_): Use `partner.fee` instead.
- `source` (_optional_): An object configuring the asset and amount to be paid.
- `amount` (_optional_): Amount to be paid.
- `asset`: Currency code in the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) format used to make the payment.
Expand Down Expand Up @@ -52,8 +55,12 @@ We recommend that you use `XRP` for testing purposes when integrating Topper sin
"jti": "4b552af1-1592-42f8-bbc9-dac28e2b4000",
"sub": "b9fe022b-f436-49e1-bb89-6f2e8eabf336",
// highlight-start
"partnerFee": {
"percentage": "1"
"partner": {
"name": "ACME",
"fee": {
"percentage": "1"
},
"continueUrl": "https://example.com"
},
"target": {
"asset": "ETH",
Expand Down

0 comments on commit 6412675

Please sign in to comment.