From 641267548820a0bc9041d02cfd3985d26f622108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Rei?= Date: Wed, 8 Nov 2023 14:09:23 +0000 Subject: [PATCH] Add partner property to bootstrap token --- docs/flows/crypto-onramp.mdx | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/docs/flows/crypto-onramp.mdx b/docs/flows/crypto-onramp.mdx index 3aa03e3..0a9723f 100644 --- a/docs/flows/crypto-onramp.mdx +++ b/docs/flows/crypto-onramp.mdx @@ -14,9 +14,12 @@ The crypto on-ramp flow allows a user to add funds from a credit or debit card t - -- `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. @@ -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",