|
| 1 | +import React from 'react' |
| 2 | +import { Article } from './_article' |
| 3 | +import { ArticleWrapper, StyledHeader, StyledText } from './_help-centre-style' |
| 4 | +import { Text } from 'components/elements' |
| 5 | +import { localize, Localize, WithIntl } from 'components/localization' |
| 6 | +import { usePageLoaded } from 'components/hooks/use-page-loaded' |
| 7 | + |
| 8 | +const WhatisDerivP2P = () => ( |
| 9 | + <ArticleWrapper> |
| 10 | + <StyledHeader as="h4">{localize('What is Deriv P2P?')}</StyledHeader> |
| 11 | + <Text> |
| 12 | + {localize( |
| 13 | + 'Deriv P2P is Deriv’s peer-to-peer deposit and withdrawal service that allows you to get money in and out of your Deriv account easily through transactions with fellow traders. ', |
| 14 | + )} |
| 15 | + </Text> |
| 16 | + <StyledText> |
| 17 | + {localize( |
| 18 | + 'To get money into your Deriv account, you can ‘buy’ Deriv funds in your local currency (or any supported currency) from a fellow trader and the amount you have ‘bought’ will be deposited into your account.', |
| 19 | + )} |
| 20 | + </StyledText> |
| 21 | + <StyledText> |
| 22 | + {localize( |
| 23 | + 'Similarly, you can make withdrawals from your Deriv account by ‘selling’ Deriv funds to fellow traders in return for payment in your local currency (or any supported currency).', |
| 24 | + )} |
| 25 | + </StyledText> |
| 26 | + </ArticleWrapper> |
| 27 | +) |
| 28 | + |
| 29 | +const HowSecureDerivP2P = () => ( |
| 30 | + <ArticleWrapper> |
| 31 | + <StyledHeader as="h4"> |
| 32 | + {<Localize translate_text="How secure is Deriv P2P?" components={[<br key={0} />]} />} |
| 33 | + </StyledHeader> |
| 34 | + <Text> |
| 35 | + {localize( |
| 36 | + 'We verify each user’s identity before they can start using Deriv P2P’s services — users will need to submit a POI (proof of identity) document for identity verification before buying or selling on Deriv P2P.', |
| 37 | + )} |
| 38 | + </Text> |
| 39 | + <StyledText> |
| 40 | + {localize( |
| 41 | + 'Additionally, all transactions are protected by escrow. Escrow locks Deriv funds until both parties have confirmed completion of the transaction.', |
| 42 | + )} |
| 43 | + </StyledText> |
| 44 | + </ArticleWrapper> |
| 45 | +) |
| 46 | + |
| 47 | +const BuyOrSellLimit = () => ( |
| 48 | + <ArticleWrapper> |
| 49 | + <StyledHeader as="h4"> |
| 50 | + { |
| 51 | + <Localize |
| 52 | + translate_text="Can I increase my daily buy or sell limit?" |
| 53 | + components={[<br key={0} />]} |
| 54 | + /> |
| 55 | + } |
| 56 | + </StyledHeader> |
| 57 | + <Text> |
| 58 | + {localize( |
| 59 | + 'Yes. You can request to increase your daily limit via live chat on our website and we’ll get back to you via email. ', |
| 60 | + )} |
| 61 | + </Text> |
| 62 | + </ArticleWrapper> |
| 63 | +) |
| 64 | + |
| 65 | +const PaymentMethods = () => ( |
| 66 | + <ArticleWrapper> |
| 67 | + <StyledHeader as="h4"> |
| 68 | + { |
| 69 | + <Localize |
| 70 | + translate_text="What payment methods can I use with Deriv P2P" |
| 71 | + components={[<br key={0} />]} |
| 72 | + /> |
| 73 | + } |
| 74 | + </StyledHeader> |
| 75 | + <Text> |
| 76 | + {localize( |
| 77 | + 'You can transfer money to fellow traders via bank transfers, cards, e-wallets, or any agreed upon payment method with the person you are dealing with.', |
| 78 | + )} |
| 79 | + </Text> |
| 80 | + <StyledText> |
| 81 | + {localize( |
| 82 | + 'Please note that Deriv has no control over payments made between Deriv P2P traders. So please ensure you follow the payment instructions as agreed between you and the trader you are dealing with, and provide your preferred method of payment and instructions when you post your ads.', |
| 83 | + )} |
| 84 | + </StyledText> |
| 85 | + </ArticleWrapper> |
| 86 | +) |
| 87 | + |
| 88 | +const DisputeWithTheTrader = () => ( |
| 89 | + <ArticleWrapper> |
| 90 | + <StyledHeader as="h4"> |
| 91 | + { |
| 92 | + <Localize |
| 93 | + translate_text="What should I do if I have a dispute with the trader I’m dealing with?" |
| 94 | + components={[<br key={0} />]} |
| 95 | + /> |
| 96 | + } |
| 97 | + </StyledHeader> |
| 98 | + <Text> |
| 99 | + {localize( |
| 100 | + 'You can chat with the trader you’re dealing with via the in-app chat to resolve the dispute. If both parties are unable to reach an agreement, you can reach out to us via the in-app dispute facility. We’ll get in touch with the relevant parties and work to resolve the dispute as quickly as possible.', |
| 101 | + )} |
| 102 | + </Text> |
| 103 | + </ArticleWrapper> |
| 104 | +) |
| 105 | + |
| 106 | +const InTouchWithTheCounterparty = () => ( |
| 107 | + <ArticleWrapper> |
| 108 | + <StyledHeader as="h4"> |
| 109 | + { |
| 110 | + <Localize |
| 111 | + translate_text="How do I get in touch with the counterparty of my transaction?" |
| 112 | + components={[<br key={0} />]} |
| 113 | + /> |
| 114 | + } |
| 115 | + </StyledHeader> |
| 116 | + <Text> |
| 117 | + {localize( |
| 118 | + 'You can chat with the trader you are dealing with via the in-app chat function.', |
| 119 | + )} |
| 120 | + </Text> |
| 121 | + </ArticleWrapper> |
| 122 | +) |
| 123 | + |
| 124 | +const DifferentAccountBalance = () => ( |
| 125 | + <ArticleWrapper> |
| 126 | + <StyledHeader as="h4"> |
| 127 | + { |
| 128 | + <Localize |
| 129 | + translate_text="Why is my Deriv P2P balance different from my Deriv account balance?" |
| 130 | + components={[<br key={0} />]} |
| 131 | + /> |
| 132 | + } |
| 133 | + </StyledHeader> |
| 134 | + <Text> |
| 135 | + {localize( |
| 136 | + 'Your Deriv P2P balance consists of a portion of your Deriv account balance. While all of your deposits via e-wallets and cryptocurrency are available for use with Deriv P2P, only a part of your deposits via cards are available.', |
| 137 | + )} |
| 138 | + </Text> |
| 139 | + </ArticleWrapper> |
| 140 | +) |
| 141 | + |
| 142 | +const DerivP2PArticle = () => { |
| 143 | + const [is_mounted] = usePageLoaded(false) |
| 144 | + |
| 145 | + return ( |
| 146 | + <div> |
| 147 | + <Article |
| 148 | + header="Deriv P2P" |
| 149 | + title={localize('Help Center | Frequently asked questions | Deriv P2P | Deriv')} |
| 150 | + description={localize('Frequently asked questions - Deriv P2P')} |
| 151 | + > |
| 152 | + <WhatisDerivP2P |
| 153 | + text={localize('What is Deriv P2P?')} |
| 154 | + label="what-is-deriv-p2p" |
| 155 | + is_mounted={is_mounted} |
| 156 | + /> |
| 157 | + <HowSecureDerivP2P |
| 158 | + text={localize('How secure is Deriv P2P?')} |
| 159 | + label="how-secure-deriv-p2p" |
| 160 | + is_mounted={is_mounted} |
| 161 | + /> |
| 162 | + <PaymentMethods |
| 163 | + text={localize('What payment methods can I use with Deriv P2P?')} |
| 164 | + label="payment-methods" |
| 165 | + is_mounted={is_mounted} |
| 166 | + /> |
| 167 | + <BuyOrSellLimit |
| 168 | + text={localize('Can I increase my daily buy or sell limit?')} |
| 169 | + label="buy-or-sell-limit" |
| 170 | + is_mounted={is_mounted} |
| 171 | + /> |
| 172 | + <DisputeWithTheTrader |
| 173 | + text={localize( |
| 174 | + 'What should I do if I have a dispute with the trader I’m dealing with?', |
| 175 | + )} |
| 176 | + label="dispute-with-the-trader" |
| 177 | + is_mounted={is_mounted} |
| 178 | + /> |
| 179 | + <InTouchWithTheCounterparty |
| 180 | + text={localize( |
| 181 | + 'How do I get in touch with the counterparty of my transaction?', |
| 182 | + )} |
| 183 | + label="in-touch-with-the-counterparty" |
| 184 | + is_mounted={is_mounted} |
| 185 | + /> |
| 186 | + <DifferentAccountBalance |
| 187 | + text={localize( |
| 188 | + 'Why is my Deriv P2P balance different from my Deriv account balance?', |
| 189 | + )} |
| 190 | + label="different-account-balance" |
| 191 | + is_mounted={is_mounted} |
| 192 | + /> |
| 193 | + </Article> |
| 194 | + </div> |
| 195 | + ) |
| 196 | +} |
| 197 | + |
| 198 | +export default WithIntl()(DerivP2PArticle) |
0 commit comments