PHPackages                             rotassator/omnipay-payway-restapi - 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. [Payment Processing](/categories/payments)
4. /
5. rotassator/omnipay-payway-restapi

ActiveLibrary[Payment Processing](/categories/payments)

rotassator/omnipay-payway-restapi
=================================

PayWay REST API gateway for Omnipay payment processing library

1.9.0(7y ago)42.0k11[3 issues](https://github.com/rotassator/omnipay-payway-restapi/issues)1MITPHP

Since Nov 23Pushed 7y ago5 watchersCompare

[ Source](https://github.com/rotassator/omnipay-payway-restapi)[ Packagist](https://packagist.org/packages/rotassator/omnipay-payway-restapi)[ Docs](https://github.com/rotassator/omnipay-payway-restapi)[ RSS](/packages/rotassator-omnipay-payway-restapi/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (2)Versions (23)Used By (1)

Omnipay: PayWay REST API
========================

[](#omnipay-payway-rest-api)

**WestPac PayWay REST API driver for the Omnipay PHP payment processing library**

[![Latest Stable Version](https://camo.githubusercontent.com/f72363f1bf8edb40fdb0b779f40f16b780c7493aa845fd15c9b200ffccd3c604/68747470733a2f2f706f7365722e707567782e6f72672f726f7461737361746f722f6f6d6e697061792d7061797761792d726573746170692f762f737461626c65)](https://packagist.org/packages/rotassator/omnipay-payway-restapi)[![Total Downloads](https://camo.githubusercontent.com/0deedf16a7f13347b5bdd0bbc78e0f118c493fce67d17eaabd1609f155be4b0a/68747470733a2f2f706f7365722e707567782e6f72672f726f7461737361746f722f6f6d6e697061792d7061797761792d726573746170692f646f776e6c6f616473)](https://packagist.org/packages/rotassator/omnipay-payway-restapi)[![License](https://camo.githubusercontent.com/c4bb43deebab9713f043eaa6027be8fb4baef3875ee1d6641713d1cd692fbb2f/68747470733a2f2f706f7365722e707567782e6f72672f726f7461737361746f722f6f6d6e697061792d7061797761792d726573746170692f6c6963656e7365)](https://packagist.org/packages/rotassator/omnipay-payway-restapi)

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements PayWay REST API support for Omnipay.

This module aims to implement a usable subset of the [PayWay REST API](https://www.payway.com.au/rest-docs/index.html) (a product of Westpac Bank). The API is extensive, so the initial aim is to implement the following features:

- Create and maintain customers
- Create single-use tokens (Credit Card, Bank Account)
- Take payments using tokenised credit card details (aiding PCI compliance)
- Schedule regular payments

These initial features have now been implemented.

See the [official PayWay documentation](https://www.payway.com.au/rest-docs/index.html) for full details.

Installation
------------

[](#installation)

Install the module using composer.

```
composer require rotassator/omnipay-payway-restapi

```

Usage
-----

[](#usage)

### Take Payment

[](#take-payment)

To take a one-time credit card payment.

```
