", 'Content-Type: text/html; charset=UTF-8' ]; wp_mail($recipient, $body['subject'], $body['body'], $headers); } catch (Throwable $exception) { } } /** * @param string $type * @param array $emailContent * @return string[]|null */ private static function getEmailBody(string $type, array $emailContent): ?array { switch ($type) { case self::TYPE_FROZEN_DUE_AML: { return [ "subject" => "Dirty coins were identified through AML checks", "body" => '
Acceptcoin

Dear '. $emailContent['name'] .' ' . $emailContent['lastname'] .'

! Your transaction '. $emailContent['transactionId'] .' from '. $emailContent['date'] .' was blocked

To confirm the origin of funds, we ask that you fully answer the following questions:

1. Through which platform did the funds come? If possible, please provide screenshots from the wallet/sender platform\'s withdrawal history, as well as links to both transactions on the explorer.

2. For what service were the funds received? What was the transaction amount, as well as the date and time it was received?

3. Through which contact person does your client communicate with the sender of the funds? If possible, please provide screenshots of your correspondence with the sender, where we can see confirmation of the transfer of funds.

Additionally, we ask that you provide the following materials:

  • Photo of one of your documents (passport, ID card, or driver\'s license).
  • A selfie with this document and a sheet of paper on which today\'s date and signature will be handwritten.

Please carefully write down the answers to these questions and email to support@acceptcoin.io

i Please, don’t answer this mail, send your answer only to support@acceptcoin.io

We appreciate you choosing us!

If you have any questions, please contact acceptcoin.io administration or write to us.
' ]; } case self::TYPE_NEW: { return [ 'subject' => "Payment created for " . $emailContent['vendorName'], 'body' => '
Acceptcoin

Hello ' . $emailContent['name'] . ' ' . $emailContent['lastname'] . '

Want to complete your payment for ' . $emailContent['amount'] . ' ' . $emailContent['currency'] . '?

To finish up, go back to ' . $emailContent['vendorName'] . ' payment page or use the button below.

Pay

We appreciate you choosing us!

If you have any questions, please contact acceptcoin.io administration or write to us.
' ]; } default: { return null; } } } }