+ Are you sure you want to enable admin scope for your token?
+
+ Granting admin access gives your token full control over your account and increases
+ security risks. We recommend granting this level of access only when it's
+ essential.
+
{!is_update_mode && (
- Select your api token ( it should have admin scope )
+ Select your api token ( it should have admin scope )
)}
@@ -142,7 +136,7 @@ const AppForm = ({
-
+
{errors && errors.name ? (
@@ -191,7 +183,7 @@ const AppForm = ({
) : !is_update_mode && app_name_exists ? (
- That name is taken. Choose another.
+ That name is taken. Choose another.
) : (
display_restrictions &&
@@ -199,22 +191,16 @@ const AppForm = ({
-
- Markup
-
+
Markup
-
- You can earn commission by adding a markup to the price of each trade. Enter
- your markup percentage here.
-
+ You can earn commission by adding a markup to the price of each trade. Enter your
+ markup percentage here.
-
- Note: Markup is only available for real accounts.
-
+ Note: Markup is only available for real accounts.
-
- Enter 0 if you don‘t want to earn a markup. Max markup: 3%
-
+ Enter 0 if you don‘t want to earn a markup. Max markup: 3%
{errors && errors.app_markup_percentage && (
@@ -252,15 +234,11 @@ const AppForm = ({
-
- OAuth details
-
+
OAuth details
-
- This allows clients to log in to your app using their Deriv accounts without an
- API token.
-
+ This allows clients to log in to your app using their Deriv accounts without an
+ API token.
-
- Please note that this URL will be used as the OAuth redirect URL for the OAuth
- authorization.
-
+ Please note that this URL will be used as the OAuth redirect URL for the OAuth
+ authorization.
{errors && errors?.redirect_uri && (
{errors.redirect_uri?.message}
@@ -302,9 +276,7 @@ const AppForm = ({
type='text'
placeholder=' '
/>
-
+
-
- By registering your application, you acknowledge that you‘ve read and
- accepted the Deriv API
- {' '}
+ By registering your application, you acknowledge that you‘ve read and accepted
+ the Deriv API{' '}
-
- terms and conditions
-
+ terms and conditions
-
- Please save this token key. For security reasons, it can't be viewed or
- copied again. If you lose this key, you'll need to generate a new token.
-
-
-
-
-
-
- Key
-
- {latestToken}
-
-
-
-
-
-
-
+
+
+
+
+
+ Token created successfully!
+
+
+ Please save this token key. For security reasons, it can't be viewed or copied
+ again. If you lose this key, you'll need to generate a new token.
+