PHPackages                             onpayio/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. onpayio/php-sdk

ActiveLibrary

onpayio/php-sdk
===============

PHP SDK for OnPay.io API

1.0.36(6mo ago)1117.5k↓32%7[3 issues](https://github.com/onpayio/php-sdk/issues)[1 PRs](https://github.com/onpayio/php-sdk/pulls)1MITPHPPHP &gt;=7.4

Since Dec 17Pushed 5mo ago5 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (44)Used By (1)

OnPay.io PHP SDK
================

[](#onpayio-php-sdk)

[![Latest Stable Version](https://camo.githubusercontent.com/6461e886b15a74de3d3c6515fdb63afd6da9ef0a853a2aa6bc6bb8505f807395/68747470733a2f2f706f7365722e707567782e6f72672f6f6e706179696f2f7068702d73646b2f762f737461626c65)](https://packagist.org/packages/onpayio/php-sdk)[![Total Downloads](https://camo.githubusercontent.com/afb30baa95e4b2f3203886c0b740cb99ad030743ccaa3dd31a03bdbdf145e159/68747470733a2f2f706f7365722e707567782e6f72672f6f6e706179696f2f7068702d73646b2f646f776e6c6f616473)](https://packagist.org/packages/onpayio/php-sdk)[![License](https://camo.githubusercontent.com/2f09ee1c9d3fcc85a246c2fca9e523a88e2f67cc521691f2dfe60015574c001c/68747470733a2f2f706f7365722e707567782e6f72672f6f6e706179696f2f7068702d73646b2f6c6963656e7365)](https://packagist.org/packages/onpayio/php-sdk)

A PHP-SDK for developing against the OnPay.io platform. API documentation at: [https://manage.onpay.io/docs/api\_v1.html](https://manage.onpay.io/docs/api_v1.html)

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

[](#requirements)

PHP 7.4 and later.

Composer
--------

[](#composer)

You can install the SDK via [Composer](https://getcomposer.org/). Run the following command:

```
composer require onpayio/php-sdk
```

Getting started
---------------

[](#getting-started)

### Creating a payment window V3

[](#creating-a-payment-window-v3)

A simple example of how to create a payment window v3.

Read more about the fields here: [https://manage.onpay.io/docs/paymentwindow\_v3.html](https://manage.onpay.io/docs/paymentwindow_v3.html)

```
