Done ! 403WebShell
403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.168
Web Server : LiteSpeed
System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : mypckeys ( 1539)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mypckeys/www/wp-content/plugins/cryptomus/vendor/cryptomus/api-php-sdk/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/www/wp-content/plugins/cryptomus/vendor/cryptomus/api-php-sdk/src/Payout.php
<?php

namespace Cryptomus\Api;

final class Payout
{
    /**
     * @var RequestBuilder
     */
    private $requestBuilder;

    /**
     * @var string
     */
    private $version = 'v1';

    /**
     * @param $payoutKey
     * @param $merchantUuid
     */
    public function __construct($payoutKey, $merchantUuid)
    {
        $this->requestBuilder = new RequestBuilder($payoutKey, $merchantUuid);
    }

    /**
     * @param array $data
     * - @var string amount: Amount to payout
     * - @var string currency: Currency
     * - @var string network: Network
     * - @var string order_id: Your id
     * - @var string address: Wallet number
     * - @var string is_subtract: From where to withdraw the commission (1 - from the balance, 0 - from the amount)
     * - @var string url_callback: Callback link
     * @return bool|mixed
     * @throws RequestBuilderException
     */
    public function create(array $data)
    {
        return $this->requestBuilder->sendRequest($this->version . '/payout', $data);
    }

    /**
     * uuid or order_id
     * @param array $data
     * - @var string uuid
     * - @var string order_id
     * @return bool|mixed
     * @throws RequestBuilderException
     */
    public function info(array $data)
    {
        return $this->requestBuilder->sendRequest($this->version . '/payout/info', $data);
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit