PHPackages                             mycoolpay/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. [HTTP &amp; Networking](/categories/http)
4. /
5. mycoolpay/php-sdk

ActiveLibrary[HTTP &amp; Networking](/categories/http)

mycoolpay/php-sdk
=================

My-CoolPay official SDK for PHP

v1.0.3(3y ago)21.0k1Apache-2.0PHPPHP &gt;=5.4

Since Jul 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mycoolpay/php-sdk)[ Packagist](https://packagist.org/packages/mycoolpay/php-sdk)[ Docs](https://github.com/mycoolpay/php-sdk)[ RSS](/packages/mycoolpay-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

My-CoolPay PHP SDK
==================

[](#my-coolpay-php-sdk)

[![Latest version on Packagist](https://camo.githubusercontent.com/f740575b75911ae14e7855dd8bd735d9bc6c9d379d92de53e5c9c400be2916bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d79636f6f6c7061792f7068702d73646b3f6c6f676f3d7061636b6167697374)](https://packagist.org/packages/mycoolpay/php-sdk)[![Total downloads](https://camo.githubusercontent.com/3a10380020fb854202499060bc4b14ef9f082c87e3ddc1de82652cdc4d1ee5b7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d79636f6f6c7061792f7068702d73646b3f6c6f676f3d7061636b6167697374)](https://packagist.org/packages/mycoolpay/php-sdk)[![Licence](https://camo.githubusercontent.com/7e32d0909f0468838a070e61bc1d5a9e296b6030bbf70140814ffe4241b5eaf2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d79636f6f6c7061792f7068702d73646b3f6c6f676f3d676974687562)](https://github.com/mycoolpay/php-sdk)[![PHP version](https://camo.githubusercontent.com/b4fa821f01897f2a96e8da7d7d837ba80fd8c9ae1003d6a71b28b58ecfe132b1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d79636f6f6c7061792f7068702d73646b3f6c6f676f3d706870)](https://github.com/mycoolpay/php-sdk/blob/master/composer.json)[![Github stars](https://camo.githubusercontent.com/909c236ca0565a2dccf2ffcb2d9f2151e5badd60a00de328aadddb2c8697f59b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6d79636f6f6c7061793f7374796c653d736f6369616c)](https://github.com/mycoolpay/php-sdk)[![Licence](https://camo.githubusercontent.com/fcc11c7eca4626f9fbc6a69baaa012db1f1fe12f206800a4fb228b36d3a25d90/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54656c656772616d2d316b2d626c75653f7374796c653d736f6369616c266c6f676f3d74656c656772616d)](https://t.me/mycoolpay)
My-CoolPay official SDK for PHP

Note
----

[](#note)

This PHP package let you easily integrate [**My-CoolPay Payment API**](https://my-coolpay.com) to your application or your website. Before you start using this package, it's highly recommended to check resources below depending on your use case.

- [My-CoolPay API Docs](https://documenter.getpostman.com/view/17178321/UV5ZCx8f)
- [My-CoolPay WordPress Docs](https://documenter.getpostman.com/view/17178321/UV5aeFBY)

Table of contents
-----------------

[](#table-of-contents)

- [1. Requirements](#1-requirements)
- [2. Installation](#2-installation)
- [3. Interact with API](#2-installation)
    - [3.1. Paylink](#31-paylink)
    - [3.1. Payin](#32-payin)
    - [3.1. OTP](#33-otp)
    - [3.1. Payout](#34-payout)
    - [3.1. Check status](#35-check-status)
    - [3.1. Get balance](#36-get-balance)
- [4. Security helpers](#4-security-helpers)
    - [4.1. IP verification](#41-ip-verification)
    - [4.1. Callback request integrity](#42-callback-request-integrity)
- [More assistance](#2-installation)
- [Contributors](#2-installation)

1. Requirements
---------------

[](#1-requirements)

This package requires: [![Required PHP version](https://camo.githubusercontent.com/b4fa821f01897f2a96e8da7d7d837ba80fd8c9ae1003d6a71b28b58ecfe132b1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d79636f6f6c7061792f7068702d73646b3f6c6f676f3d706870)](https://github.com/mycoolpay/php-sdk/blob/master/composer.json)[![Extension CURL](https://camo.githubusercontent.com/96d50ee841da43f258de6f8fec413cdd0be2ac03c85af6b85677adca00382a71/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6d79636f6f6c7061792f7068702d73646b2f6578742d6375726c3f6c6f676f3d706870)](https://github.com/mycoolpay/php-sdk/blob/master/composer.json)[![Extension JSON](https://camo.githubusercontent.com/e98c27ea5a77e1f71089b8ca0b435adaa1836654f827fbc0f4a6ca60ec8733c2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6d79636f6f6c7061792f7068702d73646b2f6578742d6a736f6e3f6c6f676f3d706870)](https://github.com/mycoolpay/php-sdk/blob/master/composer.json)

2. Installation
---------------

[](#2-installation)

### 2.1. Install Composer package

[](#21-install-composer-package)

First of all, install Composer package from your CMD or your Terminal.

```
$ composer require mycoolpay/php-sdk
```

### 2.2. Initialize SDK object

[](#22-initialize-sdk-object)

Now you need to initialize the SDK object with your API keys.

```
