![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/job-board.corals.io/Corals/modules/Payment/SecurionPay/Message/ |
<?php /** * SecurionPay Fetch Token Request. */ namespace Corals\Modules\Payment\SecurionPay\Message; /** * SecurionPay Fetch Token Request. * * Often you want to be able to charge credit cards or send payments * to bank accounts without having to hold sensitive card information * on your own servers. SecurionPay.js makes this easy in the browser, but * you can use the same technique in other environments with our token API. * * Tokens can be created with your publishable API key, which can safely * be embedded in downloadable applications like iPhone and Android apps. * You can then use a token anywhere in our API that a card or bank account * is accepted. Note that tokens are not meant to be stored or used more * than onceāto store these details for use later, you should create * Customer or Recipient objects. * * @link https://securionpay.com/docs/api#tokens */ class FetchTokenRequest extends AbstractRequest { public function getData() { $this->validate('token'); $data = array(); return $data; } public function getEndpoint() { return $this->endpoint . '/tokens/' . $this->getToken(); } public function getHttpMethod() { return 'GET'; } }