PHPackages                             tiendinh595/cryptomus-api-php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. tiendinh595/cryptomus-api-php-sdk

ActiveLibrary

tiendinh595/cryptomus-api-php-sdk
=================================

Cryptomus api SDK

2.3.0(1y ago)010MITPHPPHP &gt;=5.6

Since Sep 6Pushed 1y agoCompare

[ Source](https://github.com/tiendinh595/cryptomus-api-php-sdk)[ Packagist](https://packagist.org/packages/tiendinh595/cryptomus-api-php-sdk)[ RSS](/packages/tiendinh595-cryptomus-api-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Cryptomus PHP SDK
=================

[](#cryptomus-php-sdk)

PHP SDK module for working with the Cryptomus API

Installation and connection
---------------------------

[](#installation-and-connection)

Installation using [composer](https://getcomposer.org/download/):

```
$ composer require cryptomus/api-php-sdk
```

Documentation
-------------

[](#documentation)

**Methods for working with api**:

Authorization
-------------

[](#authorization)

`PAYOUT_KEY` or `PAYMENT_KEY`, also `MERCHANT_UUID` required to use SDK details in [documentation](https://doc.cryptomus.com/general/request).

```

```

```

```

Payout methods
--------------

[](#payout-methods)

### Payout request

[](#payout-request)

```

```

Output:

```
array(9) {
  ["uuid"]=>
  string(36) "a7c0caec-a594-4aaa-b1c4-77d511857594"
  ["amount"]=>
  string(1) "3"
  ["currency"]=>
  string(3) "TRX"
  ["network"]=>
  string(4) "tron"
  ["address"]=>
  string(5) "TJ..."
  ["txid"]=>
  NULL
  ["status"]=>
  string(7) "process"
  ["is_final"]=>
  bool(false)
  ["balance"]=>
  int(129)
}

```

### Info

[](#info)

```

```

Output:

```
array(9) {
  ["uuid"]=>
  string(36) "a7c0caec-a594-4aaa-b1c4-77d511857594"
  ["amount"]=>
  string(10) "3.00000000"
  ["currency"]=>
  string(3) "TRX"
  ["network"]=>
  string(4) "tron"
  ["address"]=>
  string(6) "TJZ..."
  ["txid"]=>
  NULL
  ["status"]=>
  string(7) "process"
  ["is_final"]=>
  bool(false)
  ["balance"]=>
  string(12) "129.00000000"
}

```

Payment methods
---------------

[](#payment-methods)

### Payment services

[](#payment-services)

```

```

Output:

```
array(1) {
  [0]=>
  array(5) {
    ["network"]=>
    string(4) "TRON"
    ["currency"]=>
    string(3) "TRX"
    ["is_available"]=>
    bool(true)
    ["limit"]=>
    array(2) {
      ["min_amount"]=>
      string(10) "1.00000000"
      ["max_amount"]=>
      string(11) "10.00000000"
    }
    ["commission"]=>
    array(2) {
      ["fee_amount"]=>
      string(4) "0.00"
      ["percent"]=>
      string(4) "0.00"
    }
  }
}

```

### Payment create

[](#payment-create)

```

```

Output:

```
array(14) {
  ["uuid"]=>
  string(36) "8b03432e-385b-4670-8d06-064591096795"
  ["amount"]=>
  string(2) "16"
  ["order_id"]=>
  string(7) "test_19"
  ["currency"]=>
  string(3) "TRX"
  ["comments"]=>
  NULL
  ["network"]=>
  string(4) "tron"
  ["address"]=>
  string(5) "TW..."
  ["from"]=>
  NULL
  ["txid"]=>
  NULL
  ["payment_status"]=>
  string(5) "check"
  ["url"]=>
  string(66) "https://pay.cryptomus.com/pay/8b03432e-385b-4670-8d06-064591096795"
  ["expired_at"]=>
  int(1650980953)
  ["status"]=>
  string(5) "check"
  ["is_final"]=>
  bool(false)
}

```

### Info

[](#info-1)

```

```

Output:

```
array(15) {
  ["uuid"]=>
  string(36) "8b03432e-385b-4670-8d06-064591096795"
  ["order_id"]=>
  string(7) "test_10"
  ["amount"]=>
  string(11) "16.00000000"
  ["payment_amount"]=>
  string(8) "0.000000"
  ["currency"]=>
  string(3) "TRX"
  ["comments"]=>
  NULL
  ["network"]=>
  string(4) "tron"
  ["address"]=>
  string(5) "TW..."
  ["from"]=>
  NULL
  ["txid"]=>
  NULL
  ["payment_status"]=>
  string(5) "check"
  ["url"]=>
  string(66) "https://pay.cryptomus.com/pay/8b03432e-385b-4670-8d06-064591096795"
  ["expired_at"]=>
  int(1650980953)
  ["status"]=>
  string(4) "paid"
  ["is_final"]=>
  bool(true)
}

```

### Payment History

[](#payment-history)

```

```

Output:

```
array(2) {
  ["items"]=>
  array(1) {
    [0]=>
    array(15) {
      ["uuid"]=>
      string(36) "87094a43-5fe4-4629-b2fd-c37e8e2af76c"
      ["order_id"]=>
      string(10) "1650956609"
      ["amount"]=>
      string(11) "16.00000000"
      ["payment_amount"]=>
      string(10) "0.01200000"
      ["currency"]=>
      string(3) "ETH"
      ["comments"]=>
      NULL
      ["network"]=>
      string(3) "eth"
      ["address"]=>
      string(5) "0x..."
      ["from"]=>
      string(6) "0x4..."
      ["txid"]=>
      NULL
      ["payment_status"]=>
      string(4) "paid"
      ["url"]=>
      string(66) "https://pay.cryptomus.com/pay/87094a43-5fe4-4629-b2fd-c37e8e2af76c"
      ["expired_at"]=>
      int(1650960209)
      ["status"]=>
      string(4) "paid"
      ["is_final"]=>
      bool(true)
    }
  }
  ["paginate"]=>
  array(5) {
    ["count"]=>
    int(2)
    ["hasPages"]=>
    bool(false)
    ["nextCursor"]=>
    NULL
    ["previousCursor"]=>
    NULL
    ["perPage"]=>
    int(15)
  }
}

```

### Balance

[](#balance)

```

```

Output:

```
array(1) {
  [0]=>
  array(1) {
    ["balance"]=>
    array(2) {
      ["merchant"]=>
      array(6) {
        [0]=>
        array(3) {
          ["uuid"]=>
          string(32) "abcdabcd-abcd-1234-1234-abcdabcd"
          ["balance"]=>
          string(10) "0.00000000"
          ["currency_code"]=>
          string(3) "ETH"
        }
        [1]=>
        array(3) {
          ["uuid"]=>
          string(32) "abcdabcd-abcd-1234-1234-abcdabcd"
          ["balance"]=>
          string(10) "0.57000000"
          ["currency_code"]=>
          string(3) "BTC"
        }
        [2]=>
        array(3) {
          ["uuid"]=>
          string(32) "abcdabcd-abcd-1234-1234-abcdabcd"
          ["balance"]=>
          string(11) "23.57327446"
          ["currency_code"]=>
          string(3) "TRX"
        }
        [3]=>
        array(3) {
          ["uuid"]=>
          string(32) "abcdabcd-abcd-1234-1234-abcdabcd"
          ["balance"]=>
          string(10) "5.00000000"
          ["currency_code"]=>
          string(4) "USDT"
        }
        [4]=>
        array(3) {
          ["uuid"]=>
          string(32) "abcdabcd-abcd-1234-1234-abcdabcd"
          ["balance"]=>
          string(11) "10.00120000"
          ["currency_code"]=>
          string(4) "DASH"
        }
        [5]=>
        array(3) {
          ["uuid"]=>
          string(32) "abcdabcd-abcd-1234-1234-abcdabcd"
          ["balance"]=>
          string(10) "0.18500000"
          ["currency_code"]=>
          string(3) "LTC"
        }
      }
      ["user"]=>
      array(6) {
        [0]=>
        array(3) {
          ["uuid"]=>
          string(32) "abcdabcd-abcd-1234-1234-abcdabcd"
          ["balance"]=>
          string(10) "0.40000000"
          ["currency_code"]=>
          string(3) "BTC"
        }
        [1]=>
        array(3) {
          ["uuid"]=>
          string(32) "abcdabcd-abcd-1234-1234-abcdabcd"
          ["balance"]=>
          string(11) "52.00000000"
          ["currency_code"]=>
          string(4) "USDT"
        }
        [2]=>
        array(3) {
          ["uuid"]=>
          string(32) "abcdabcd-abcd-1234-1234-abcdabcd"
          ["balance"]=>
          string(10) "0.00000000"
          ["currency_code"]=>
          string(4) "DASH"
        }
        [3]=>
        array(3) {
          ["uuid"]=>
          string(32) "abcdabcd-abcd-1234-1234-abcdabcd"
          ["balance"]=>
          string(10) "0.30000000"
          ["currency_code"]=>
          string(3) "LTC"
        }
        [4]=>
        array(3) {
          ["uuid"]=>
          string(32) "abcdabcd-abcd-1234-1234-abcdabcd"
          ["balance"]=>
          string(11) "27.00000000"
          ["currency_code"]=>
          string(3) "TRX"
        }
        [5]=>
        array(3) {
          ["uuid"]=>
          string(32) "abcdabcd-abcd-1234-1234-abcdabcd"
          ["balance"]=>
          string(10) "0.19000000"
          ["currency_code"]=>
          string(3) "ETH"
        }
      }
    }
  }
}

```

### Resend notifications

[](#resend-notifications)

```

```

Output:

```
bool(true)

```

### Wallet create

[](#wallet-create)

```

```

Output:

```
array(5) {
  ["uuid"]=>
  string(12) "9f64a7ce-..."
  ["order_id"]=>
  string(2) "24"
  ["currency"]=>
  string(4) "USDT"
  ["network"]=>
  string(4) "tron"
  ["address"]=>
  string(6) "TK8..."
}

```

### Exceptions

[](#exceptions)

All methods can throw RequestBuilderException.

```

```

Requirements
------------

[](#requirements)

- **PHP v5.6.0** or higher
- extension PHP **json**
- extension PHP **curl**

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

611d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e5ebc574cc50aefa8077944d0ed48d5f11f3f98e18ea5ce8f4a21bbea03a44d6?d=identicon)[tiendinh595](/maintainers/tiendinh595)

---

Top Contributors

[![tiendinh595](https://avatars.githubusercontent.com/u/8623356?v=4)](https://github.com/tiendinh595 "tiendinh595 (7 commits)")

### Embed Badge

![Health badge](/badges/tiendinh595-cryptomus-api-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/tiendinh595-cryptomus-api-php-sdk/health.svg)](https://phpackages.com/packages/tiendinh595-cryptomus-api-php-sdk)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
